init advcpp