Author Topic: wxWidgets Project missing resources  (Read 4507 times)

Offline Ingrater

  • Single posting newcomer
  • *
  • Posts: 7
wxWidgets Project missing resources
« 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?
« Last Edit: January 31, 2007, 05:00:45 pm by Ingrater »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: wxWidgets Project missing resources
« Reply #1 on: January 31, 2007, 05:30:28 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
« Last Edit: January 31, 2007, 05:36:50 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: wxWidgets Project missing resources
« Reply #2 on: January 31, 2007, 05:33:54 pm »
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.

Offline Ingrater

  • Single posting newcomer
  • *
  • Posts: 7
Re: wxWidgets Project missing resources
« Reply #3 on: January 31, 2007, 06:28:09 pm »
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

« Last Edit: January 31, 2007, 06:32:32 pm by Ingrater »

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: wxWidgets Project missing resources
« Reply #4 on: January 31, 2007, 07:11:28 pm »
A similar problem was posted in the following thread.

Quote
http://forums.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.

Offline Ingrater

  • Single posting newcomer
  • *
  • Posts: 7
Re: wxWidgets Project missing resources
« Reply #5 on: January 31, 2007, 08:24:11 pm »
Thanks, I had a space in my CodeBlocks Directory Name.
Now it works

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: wxWidgets Project missing resources
« Reply #6 on: February 01, 2007, 05:17:03 am »
Nice to know that it is working.  :D

BTW did you try 31st January's Nightly? The bug has been fixed.
« Last Edit: February 01, 2007, 05:39:54 am by Biplab »
Be a part of the solution, not a part of the problem.