I can not get libraw running. Every time I get the following error message within CB.
||=== Build: Release in LibRAW (compiler: GNU GCC Compiler) ===|
obj\Release\main.o:main.cpp|| undefined reference to `_imp___ZN6LibRawC1Ej'|
obj\Release\main.o:main.cpp|| undefined reference to `_imp___ZN6LibRaw9open_fileEPKcx'|
obj\Release\main.o:main.cpp|| undefined reference to `_imp___ZN6LibRaw6unpackEv'|
obj\Release\main.o:main.cpp|| undefined reference to `_imp___ZN6LibRaw9raw2imageEv'|
obj\Release\main.o:main.cpp|| undefined reference to `_imp___ZN6LibRaw7recycleEv'|
obj\Release\main.o:main.cpp|| undefined reference to `_imp___ZN6LibRawD1Ev'|
obj\Release\main.o:main.cpp|| undefined reference to `_imp___ZN6LibRawD1Ev'|
||error: ld returned 1 exit status|
||=== Build failed: 8 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|
I tried several attempts to compile but no way seems to work.
1. I tried to download the win32 libs and include them within CB.
2. I build the libraw.a with mingw32-make. Which seems to work but after linking within CB I got the same error.
I do rly not understand why. So maybe someone of you can help. And I will let you know I'm a C++ noob. So it would be greate if you can post a step by step instruction. If you need more information pls let me know and i will try to figure out.
Many thanks guys!
Recent comments