Code::Blocks Forums
User forums => Help => Topic started by: TigerMaz on December 01, 2011, 02:48:58 pm
-
Hello forum,
I am new in Codeblocks. and really like this editor. i have never thought i could make GUI using c or c++. Codeblocks makes it easy. i am also new to Linux and my linux distro is Ubuntu 10.04 LTS. i have found that ubuntu 10.04 LTS came with wxwidgets pre-build. i want to remove it. But don't know how to do that. please help me. i have downloaded wxwidgets from it's own site http://prdownloads.sourceforge.net/wxwindows/wxGTK-2.8.12.tar.gz (http://prdownloads.sourceforge.net/wxwindows/wxGTK-2.8.12.tar.gz).
Thanks in advance
-
Why do you want to remove it?
Why don't you ask the Ubuntu developers/support, this is not related to C::B at all, so this post is not for this forum.
Please read the rules to understand why!
-
Why do you want to remove it?
Why don't you ask the Ubuntu developers/support, this is not related to C::B at all, so this post is not for this forum.
Please read the rules to understand why!
Thanks for your replay. I want to make a cross compiler on ubuntu. And i am following this link http://wiki.codeblocks.org/index.php?title=Code::Blocks_and_Cross_Compilers (http://wiki.codeblocks.org/index.php?title=Code::Blocks_and_Cross_Compilers). I can make Ubuntu version of my wxwidgets GUI HelloWorld program. Then i tried it to compiled it for windows machine. Then i got a error which said ["program name"] usees an [SEARCH THE FORUMS BEFORE YOU POST. THIS HAS BEEN ANSWERED MANY TIMES!]. probably the toolchain path within the compiler option is not setup correctly. I understand that the link http://wiki.codeblocks.org/index.php?title=Code::Blocks_and_Cross_Compilers (http://wiki.codeblocks.org/index.php?title=Code::Blocks_and_Cross_Compilers) Step:5 toolchain not working so thus why this kind of error message i got. I thing this error i got because wxwidgets on ubuntu 10.04 actually could not produce i586-mingw32msvc-gcc etc. toolchain on it's desired folder. SO thus why i want to Remove prebuild wxwidgets from ubuntu 10.04 and then configured my own.
Hope that i made it clear
-
You don't need to remove the prebuild wxWidgets for cross-compiling.
Read:
http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux (http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux)
-
You don't need to remove the prebuild wxWidgets for cross-compiling.
Read:
http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux (http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux)
Thanks for you answer. I have previously saw that and could not run the command properly then i came here so some expert like you can guide me to do that. But how can i run this command "./configure prefix=/usr/i586-mingw32msvc --host=i586-mingw32msvc --enable-unicode --build=`./config.guess` --disable-shared".
Please guide me.
-
You need a minimal knowledge on building from source on linux to do it yourself.
There are other sites that teach this, this forum/website is not the correct one.
By the way, did you try the prebuild wxWidgets crosslib packages from my server (http://apt.jenslody.de/), as I suggest in the wiki-article ?