Author Topic: compile wxwidgets projects welcoam to wxwidgets  (Read 4829 times)

Offline Chaofeng cao

  • Single posting newcomer
  • *
  • Posts: 4
compile wxwidgets projects welcoam to wxwidgets
« on: April 28, 2009, 09:57:38 am »
may i ask you a question?
thanks
i have no problem building console application
but I met a problem when i build a wxwedigets project
it thow excipton like this:
setup.h  not such a file or directory
then a friend in this forum gave me a website
and said That because the include path for my application are either not
correct, or I didn't build the wx library.
so  i uninstall cb ,install again,compile libs,configure environment variable
but it doesn't work still  another problem appears:
||can't popen `gcc -E -xc -DRC_INVOKED -IE:\cpp_ex_libs\wxWidgets-2.8.8\include -IE:\cpp_ex_libs\wxWidgets-2.8.8\lib\gcc_lib\mswud D:\ccf\ccf\Form\resource.rc': Invalid argument|
what should i do ?
can you help me?
forgive me I am new user  so I ask such a easy question
if you have the answer please send it to my email
my email is 595268594@qq.com  or ccf2350@163.com
thanks a lot!


Offline Chaofeng cao

  • Single posting newcomer
  • *
  • Posts: 4
Re: compile wxwidgets projects welcoam to wxwidgets
« Reply #1 on: April 28, 2009, 10:00:57 am »
I have search its answer for several days
I am going to break down!!
I really hope somebody can help me!
who can help me?

Offline Chaofeng cao

  • Single posting newcomer
  • *
  • Posts: 4
who can do me a favour?
« Reply #2 on: April 28, 2009, 10:15:09 am »
 :(
what should I do?
My first time is so bad

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: compile wxwidgets projects welcoam to wxwidgets
« Reply #3 on: April 28, 2009, 10:18:10 am »
I suspect you haven't configure wxWidgets library correctly.

See the wikipage:

http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef

And especially see the faq:

http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef#Frequently_Asked_Questions

If you know Chinese, there is another page.
http://shiningray.cn/windows-shang-pei-zhi-codeblocks-wxwidgets.html

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Chaofeng cao

  • Single posting newcomer
  • *
  • Posts: 4
Re: compile wxwidgets projects welcoam to wxwidgets
« Reply #4 on: April 28, 2009, 10:27:06 am »
oh my god thanks
I understand Chinese because I am a Chinese
thank you very much
I am reading those wibsite first
if I have problems still
I come back and ask you
thanks again! :P