News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

wxWidgets Project missing resources

Started by Ingrater, January 31, 2007, 04:58:53 PM

Previous topic - Next topic

Ingrater

I installed the yesterday nightly build a few minutes ago and tryed du make a new wxWidgets Project. But when i try to compile I get a error "no resources". I'm using gcc and wxWidgets 2.8.0, with the a earlier nightly Build it worked for me.

Any suggestions how to correct this error?

stahta01

#1
Quote from: Ingrater on January 31, 2007, 04:58:53 PM
I installed the yesterday nightly build a few minutes ago and tryed du make a new wxWidgets Project. But when i try to compile I get a error "no resources". I'm using gcc and wxWidgets 2.8.0, with the a earlier nightly Build it worked for me.

Any suggestions how to correct this error?

The following is assuming that you are using windows.
Did you use 7zip to extract the files? If not, try using 7zip.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Biplab

This is what I'm getting.

Quote-------------- Build: Release in Test ---------------
Compiling: TestMain.cpp
Compiling: resource.rc
In file included from C:\Projects\Test\resource.rc:3:
C:/wxMSW-2.8.0/include/wx/msw/wx.rc:119:24: warning: no newline at end of file
Compiling: TestApp.cpp
Linking executable: bin\Release\Test.exe
Process terminated with status 0 (0 minutes, 9 seconds)
0 errors, 1 warnings

Using Release-Dynamic-Unicode-Monolithic build.

So the wizard is working. Please check your settings.

Also it would be nice if you post more details, such as OS, wx config, Project config used, etc.
Be a part of the solution, not a part of the problem.

Ingrater

#3
I used 7-Zip for extracting. Im using Windows XP. I build the Release-Dynamic-Unicode-Monolithic Library myself. And, as I said before, it worked with the nightly build 17th January 2007 fine. If I open old wxWidgets Projects they still work fine. But if I create a new one with the wizard I get this error.

Quote
:: === Uhr, default ===
:: warning: `-x c' after last input file has no effect
:: no resources
:: === Build finished: 1 errors, 1 warnings ===

I'm using MinGW 5.1.3


Biplab

A similar problem was posted in the following thread.

Quotehttp://forums.next.codeblocks.org/index.php?topic=5003.0

I think your project directory has some spaces in between. windres.exe will fail for project directory C:\foo\my project\resource.rc. Try to remove the spaces from the project directory (e.g., C:\foo\my_project\resource.rc) and see whether you get the error or not.
Be a part of the solution, not a part of the problem.

Ingrater

Thanks, I had a space in my CodeBlocks Directory Name.
Now it works

Biplab

#6
Nice to know that it is working.  :D

BTW did you try 31st January's Nightly? The bug has been fixed.
Be a part of the solution, not a part of the problem.