User forums > Using Code::Blocks

Help setting up wxWidgets

<< < (3/4) > >>

Anonymous:

--- Quote ---hmmm try disabling the auto-import switch in GCC. add --disable-auto-import to your compiler (or linker?) switches. Then probably you'll get an undefined reference. But maybe it's some configuration error...
--- End quote ---

Okay, that could work... I'll try it when I get home.


--- Quote ---did you try to move libwx_base BEFORE libwx_msw_core, in your linker libraries?
--- End quote ---

Nope... I'll try it too.

Thanks!!

Anonymous:
Look, if you're so frustrated, you can download the 2.4.2 version of wxwidgets (works for me - and I tried to compile Codeblocks with 2.6, but got an autoimport error in stc). So the problem must be obviously a setup problem.

And don't worry about "one full day for a simple program", don't think like that. It's the wxwidgets installation, when you get that part done, you'll be writing hundreds of programs :) Don't give up!

frog-o:
It look to me like a simple probble fist of all did you complie wxwidget on the form like they say in installtion forms at

http://www.codeblocks.org/index.php?name=PNphpBB2&file=viewtopic&t=270

This would give you the need files.  Just rember when you do this add  the gcc compiler(gcc.exe) dir to your path.  Then use there template in codeblocks for wxwidgets.  Don't forget to select dynamic.  If you want static you have to read wxwidgets install.txt .

If you can't find gcc.exe you download the wrong version of C:B download the one that contane it read what they have there it sayes witch one has it.

frog-o:
One more thing don't feel stupid on programing.   It is very common for pepole to have problem when starting out add I am verry glade to help.

frog-o:
Sorry I forgot you are use microsoft. This is for gcc but you might want to try Gcc first it would make you life easer.   Want i was trying to say above you need to get wxwidget and compile so you have the needed(.lib or (.a if use gcc ming)) files or you can't program with it.  WxWidget is not include with codeblock it is another program.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version