Forum Discussion
Altera_Forum
Honored Contributor
20 years agoalt_busy_sleep
Dear All, My code need to call alt_busy_sleep(), but the compiler report the following error. Linking TestCPP.elf... obj/main.o(.gnu.linkonce.t._ZN13JaidTestClass18TestOSDBlockAdjust...
Altera_Forum
Honored Contributor
20 years agoDear All,
I have solved this issue. The answer is : declare the function alt_busy_sleep() is a C function if you use it in a C++ file extern "C" unsigned int alt_busy_sleep (unsigned int us); But I still don't know why... Anybody help? David