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:
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
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).