Forum Discussion
Altera_Forum
Honored Contributor
21 years agoLinking a DLL using Nios2 IDE
Hi,
I'm trying to link the FFTW library to an example based on the Hello_world template but in vain. Here's the error: ***[hello_world_2.elf] Error 1 obj/hello_world.o *In function 'main': undefined reference to 'fftw_malloc' How do I link a DLL to a piece of code in Nios IDE? Thanks for any help.1 Reply
- Altera_Forum
Honored Contributor
HI,
Regarding the same problem, if I specify the path of the library in "Project properties" and use linker flags -lfftw3, i get the following error: ***[hello_world_2.elf] Error 1 (path) ... /nios2-elf/bin/ld cannot find -lfftw3 Any help is most welcome. Thanks!