codeblcoks version 10.05
i have two projects: a and b.
b depend a,
i 've set b 's "projects' dependencies".
but it cannot work.
i 've searched forum , it seems it's a bug.
but how to let it work before fix?
thanks
"It doesn't work" is not a correct bug report.
What do you expect ? What did you do exactly to get it ? What goes wrong ?
e.g.
i created a project socket to encapsule socket class;
i created other project named server to check it.
so i let project "server" depend on project "socket" and set server's "projects' dependencies".
compile msg:
/home/creatxr/WORK/server/main.cpp|2|error: ServerSocket.h: No such file or directory|
so, i added "socket/include" path to "server" and compiled:
msg:
/home/creatxr/WORK/server/main.cpp|8|undefined reference to `ServerSocket::ServerSocket()'|
i added "socket/src" and "socket/obj" paths to "server" and compiled.
it has the same message above.
1. the socket project should have type shader lib or static lib
2. you should link produced lib in the server project
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F
C::B never does some magic behind the back of the user like VStudio does, so you have to add the libs yourself.