User forums > Using Code::Blocks

Missing std.ico, wx.rc files in a project migration from old XP to Win 7 inst

<< < (2/3) > >>

stahta01:
Post a new full build log in Code Tags.
Tell me what folder wxWidgets 3.1 is installed into?
Tell me who compiled wxWidgets 3.1?

Tim S.

Aaron:
Build log:

--- Code: ----------------- Build: Release in wxPanel4 (compiler: GNU GCC Compiler)---------------

windres.exe -IC:\wxWidgets-3.0.2\include -IC:\wxWidgets-3.0.2\lib\gcc_lib\mswu  -J rc -O coff -i C:\Users\Admin\Desktop\BRIEFC~1\CPP_PR~1\CODEBL~1\WXWIDG~1\wxPanel4\resource.rc -o obj\Release\resource.res
C:\Users\Admin\Desktop\BRIEFC~1\CPP_PR~1\CODEBL~1\WXWIDG~1\wxPanel4\resource.rc:3:24: fatal error: wx/msw/wx.rc: No such file or directory
 #include "wx/msw/wx.rc"
                        ^
compilation terminated.
windres.exe: can't open icon file `wx/msw/std.ico': No such file or directory
windres.exe: preprocessing failed.
Process terminated with status 1 (0 minute(s), 0 second(s))
3 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 

--- End code ---

wxWidgets installed in: C:\wxWidgets-3.1.0

I compiled wxWidgets 3.1.

stahta01:

--- Quote from: Aaron on July 22, 2016, 10:42:07 pm ---Build log:

--- Code: ----------------- Build: Release in wxPanel4 (compiler: GNU GCC Compiler)---------------

windres.exe -IC:\wxWidgets-3.0.2\include -IC:\wxWidgets-3.0.2\lib\gcc_lib\mswu  -J rc -O coff -i C:\Users\Admin\Desktop\BRIEFC~1\CPP_PR~1\CODEBL~1\WXWIDG~1\wxPanel4\resource.rc -o obj\Release\resource.res
C:\Users\Admin\Desktop\BRIEFC~1\CPP_PR~1\CODEBL~1\WXWIDG~1\wxPanel4\resource.rc:3:24: fatal error: wx/msw/wx.rc: No such file or directory
 #include "wx/msw/wx.rc"
                        ^
compilation terminated.
windres.exe: can't open icon file `wx/msw/std.ico': No such file or directory
windres.exe: preprocessing failed.
Process terminated with status 1 (0 minute(s), 0 second(s))
3 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 

--- End code ---
wxWidgets installed in: C:\wxWidgets-3.1.0

I compiled wxWidgets 3.1.

--- End quote ---

Then fix the project to use the wxWidgets version you want it to use!!
http://wiki.codeblocks.org/index.php/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

If you do NOT know how to do that then ask for help.

HINT: Programming is NOT magic!!

Edit: And, there are no mind reader on this forum!

Tim S.

Aaron:
The MingW compiler version is:  4.9.2, 32 bit, SJLJ.

The CB problem I'm having seems to have absolutely nothing to do with programming with a magic wand.

It has to do with the Code::Blocks installation.
I have removed CB and re-installed it, and it will not allow creation of a new wxWidgets project.

This must be the reason I couldn't build an existing project.

I'm not looking for hand-holding in C++ or to cheat in school classes (way out of school), I am just trying to get a new installation of Code::Blocks to operate as designed.

Jenna:
Check the global-variable named "wx" and mae sure it points to the correct folder.
And a configuration error is a user error, not a IDE-error.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version