User forums > Help

How to setup wxwidgets in code::blocks Linux

<< < (2/6) > >>

takeshimiya:

--- Quote from: rowck001 on April 25, 2006, 10:58:47 am ---Thanks for the help yop - but it doesnt work - after putting in the options you specified i still get this output from anf wxwidgets project:

Compiling: main.cpp
g++: `wx-config: No such file or directory
g++: `wx-config: No such file or directory
cc1plus: error: unrecognized command line option "-fcflags`"
cc1plus: error: unrecognized command line option "-fcflags`"
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

wxwidgets works like a charm in kdevelop (straight out of the box) but not code::blocks

probably not a good idea to sprout code::blocks as cross-platform as it clearly doesnt work apart from trivial console applications in linux!

--- End quote ---

You've come across a known bug in C::B RC2 which has been fixed long ago. A little forum search would have revealed that... :roll:

There are two ways you can get it working:
-Go to Settings->Compiler->Other and set the build mode to "GNU make". Backticks will work with it.
or
-Download and install a nightly build.

I recommend the later.

rowck001:
OK! I'm running Linux ... so I'll get a nightly Build which only is available for Windows!!  Hmmmm...... sounds like a good option  :x
 I guess kdevelop is looking good!

PsYhLo:
compile your own copy of SVN revision like i do for win
everyting is ok, works just fine


just do the things thats wrote here http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook

sorry for my poor english

takeshimiya:

--- Quote from: rowck001 on April 25, 2006, 03:28:11 pm ---OK! I'm running Linux ... so I'll get a nightly Build which only is available for Windows!!  Hmmmm...... sounds like a good option  :x
 I guess kdevelop is looking good!

--- End quote ---
Could you instead take at least 1 minute for reading?
There are nightly builds being made for Redhat FC4 and Ubuntu 5.10, and that is linux.
If you don't have any of those distros you can compile it from svn yourself as PsYhLo pointed out.

If you don't want to do anything of that (!) I gave you another solution... Change the build system to "GNU make".

A side note: KDevelop doesn't works for me out of the box, but I can't complain as I haven't readed anything about it.

tiwag:

--- Quote from: rowck001 on April 25, 2006, 03:28:11 pm ---OK! I'm running Linux ... so I'll get a nightly Build which only is available for Windows!!  Hmmmm...... sounds like a good option  :x
 I guess kdevelop is looking good!

--- End quote ---
i think you should use KDevelop, it's really better for you, they also have a good forum where you can ask for help there !

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version