Altera_Forum
Honored Contributor
17 years agoUsing Library
Hi everbody,
i tried to add an Library to my Project. But i doesnt works... But why ? What i do : I Add the Libray to the Files. Then i open the Properties in the Project goto "C/C++ - Build" the to the "Linker/Genreal" and Add my Library. Now Compiling -> Works The Linking -> Not Work.:mad: The Linker says Linking Test.elf... /cygdrive/c/altera/72/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: cannot find -lC:/NIOS2/Test/workspace/Test/lib/lib.a collect2: ld returned 1 exit status make: *** [Test.elf] Error 1 Build completed in 216.674 seconds I hope somebody can help me.... Thanks everbody. Tobias