I am using ubuntu and using CB 17.12
I have created a shared library.
I created a project to link with the shared lib.
I get the error
-------------- Build: Release in libtest1 (compiler: GNU GCC Compiler)---------------
g++ -L/home/jrm/lib/ -o bin/Release/libtest1 obj/Release/main.o -static-libgcc -m64 -s -ltwoints.so.0
/usr/bin/ld: cannot find -ltwoints.so.0
collect2: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
i have placed the name of the library in Project->Linker settings-> Link libraries under Release target
I have also set the path to the libray in Search directories->linker and Search directories->Compiler
For some reason the linker is not finding the library which is in /home/jrm/lib directory.
I also put the library in the project directory but the ide is having trouble finding it.
Thanks
Joe