Sorry, my english is not that good, so ill try to be clearer.
this is what im doing:
- I put all .H files i need in \include directory
- I put all .DLLs and .A i need in \lib directory
- I add the "include" directory in Project->Build options->Release->Directories->Compiler
- I add the "lib" directory in Project->Build options->Release->Directories->Linker
- I tried everything at Project->Build options->Release->Linker->Link_Libraries. i've added all .A files, or all .DLL files, with or without patches. Dont matter what I do, I aways get the same result
What I get:
- The project is compiling, but windows give "Cannot find ogremain.dll" error window then executing. ogremain is one of the DLLs im trying to link.
- The project run without any error if I place all DLLs in the project root directory (same as the project source)
Obviously codeblocks isnt finding the DLLs. I dont have any clue why this is happening.
If you still can't make it work, post here the full build log. To enable it, go to global compiler options "Other" page and set logging to full for the compiler you 're using. Then rebuild your project, copy the build log and paste it here...
I enabled the log, but cant find it. were it is logged? I cant see the log anywere
Is there any Codeblock documentation, oficial or not? Ive searched through wiki but it didnt helped me much.
How i can use this -rpath?