Author Topic: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS  (Read 10351 times)

Offline TigerMaz

  • Single posting newcomer
  • *
  • Posts: 7
How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
« 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.

Thanks in advance

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
« Reply #1 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!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline TigerMaz

  • Single posting newcomer
  • *
  • Posts: 7
Re: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
« Reply #2 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. 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 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
« Last Edit: December 01, 2011, 03:27:52 pm by TigerMaz »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
« Reply #3 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

Offline TigerMaz

  • Single posting newcomer
  • *
  • Posts: 7
Re: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
« Reply #4 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

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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How to remove wxwidgets from ubuntu 10.04 (Lucid Lynx) LTS
« Reply #5 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, as I suggest in the wiki-article ?