Code::Blocks Forums

User forums => Help => Topic started by: TigerMaz on December 01, 2011, 02:48:58 pm

Title: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
Post 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
Title: Re: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
Post by: oBFusCATed on December 01, 2011, 02:55:46 pm
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!
Title: Re: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
Post by: TigerMaz on December 01, 2011, 03:22:57 pm
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
Title: Re: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
Post by: Jenna on December 01, 2011, 06:30:15 pm
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)
Title: Re: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
Post by: TigerMaz on December 04, 2011, 11:17:40 am
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.
Title: Re: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
Post by: Jenna on December 04, 2011, 01:04:38 pm
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 ?