User forums > Help

<filename>.lib: No such file or directory error **SOLVED**

<< < (3/3)

Rune Hunter:
Fist I must say I fixed it. Other wise the info you wanted...

No I did not import the project, I started a blank project from within Code::Blocks.

Here is the FULL compiler log before I changed things:


--- Code: ---Project   : D3D
Compiler  : Microsoft Visual C++ Toolkit 2003 (called directly)
Directory : C:\Documents and Settings\Alex\Desktop\D3D New\
--------------------------------------------------------------------------------
Switching to target: default
Linking executable: C:\Documents and Settings\Alex\Desktop\D3D New\D3D.exe
mingw32-g++.exe: OgreMain.lib: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings


--- End code ---

Now I fixed it by goign to project settings, the D3D (my project name) settings, and got rid of everythign I put in there. Than I went to the defult settings and put everythign I needed in there (the lib, and resource locations). I also changed the defult compiler to visual toolkit. It now works. (Compiler log is HUGE when it works).

rickg22:
Thank goodness! It's fixed now.

(It's funny, tho. The full compiler log should display the command for the linker... does it happen differently?)

In any case, this problem can also happen if workspaces are imported using the "default" (GCC) compiler. This issue must be reported with priority 9. (too many headaches!) And "default compiler" doesn't say very much, either.

Rune Hunter:
Are you going to report this? Or should I?

rickg22:
About the compiler log? Sure, you report it.

Regarding the "default project" etc, I think i reported it already. Thanks.

Navigation

[0] Message Index

[*] Previous page

Go to full version