Author Topic: gettig an error on Debug while trying to compile a simple app using wxsmith  (Read 5324 times)

Offline Master

  • Multiple posting newcomer
  • *
  • Posts: 53
hello , sorry to bother you guys, but i really got mixed up !
after going through the installation process of Wxwidgets on Code Blocks IDE,and trying to compile a sample app ( which i found at wiki ( by BYo i think ) , and again went through as i should , nothing compiles!

before proceeding to the main page of wxSmith on code block ! i get the error :
"Machine Debug configuration cannot be found in the wxwidgets
directory you specified.
This Means that Debug target of your Project Will not build.

Are YOu sure you want to continue with these settings?"

how should i fix this ? !
by the way i also marked both the Create "Debug" configuration:[Debug]
) and Create "Release" configuration:[Release] in previouse pane!(just before the pane i get the error)

again sorry for this annoying question!Sad

By the way when i try to compile on Code::Blocks ( my project name is test2)
in build log session it says :"
test2 - Release" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
Nothing to be done."

and in Debugger log session it says"
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Release
Aborted


=============
by the way i use MinGW Compiler and the wx path is correct.
and also it seems that i ve done everything as i should have.
everything went ok! (compiling  wxwidgets )
a man's dream is an index to his greatness...

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: gettig an error on Debug while trying to compile a simple app using wxsmith
« Reply #1 on: September 28, 2008, 09:40:33 pm »
Did you build wxWidgets, or do you just have installed it ?
The windows setup executable only installs the sources.
You have to build the dll's and some of the headers (containing setup informations yourself).

You can use this wiki-article, if you don't know how to do that: http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef .

Offline Master

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: gettig an error on Debug while trying to compile a simple app using wxsmith
« Reply #2 on: September 29, 2008, 08:50:34 am »
Did you build wxWidgets, or do you just have installed it ?
The windows setup executable only installs the sources.
You have to build the dll's and some of the headers (containing setup informations yourself).

You can use this wiki-article, if you don't know how to do that: http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef .
ive compiled it too, but no luck , it still gives me that error "nothing to compile "!
a man's dream is an index to his greatness...

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: gettig an error on Debug while trying to compile a simple app using wxsmith
« Reply #3 on: September 29, 2008, 09:22:05 am »
The wxWidgets-thing is only for the errors, when creating a wxwidgets project.
If the global variable "wx" is setup correctly that error should not occur.

The question with the "invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]" was asked tons of times before.
Using the forums search for "invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]" should guide you the right way.

Please always use the search function of the forum or a web search-engine like "google", before asking questions that have been answered many times before.

Offline Master

  • Multiple posting newcomer
  • *
  • Posts: 53
Re: gettig an error on Debug while trying to compile a simple app using wxsmith
« Reply #4 on: September 29, 2008, 05:18:23 pm »
The wxWidgets-thing is only for the errors, when creating a wxwidgets project.
If the global variable "wx" is setup correctly that error should not occur.

The question with the "invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]" was asked tons of times before.
Using the forums search for "invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]" should guide you the right way.

Please always use the search function of the forum or a web search-engine like "google", before asking questions that have been answered many times before.

many tanx , but i had no idea about whats goin on! thats why i couldnt do that (before i com here and post the prob , i first asked for help on wxwidgets to find out what exactly the problem is  and after that they redirected me to this forum and im here ,
anyway , im awfully sorry for asking such a stupid question before using search !
and i appreciate your kind answer too , tanx a million 
a man's dream is an index to his greatness...