User forums > Help
How to install C::B on cygwin?
cube1982:
My OS is WinXP. I have used C::B 1RC2 for two months and really like it. Now I have a project need to be done on Cygwin. So I want to install a Nightly build C::B on Cygwin. It seems I need to install the wxWidgets first. My problems are:
1. Should I install wxWidgets on Windows or Cygwin? Which package I should install? wxGTK or wxMSW?
2. Is there a complete guide that illustrates the whole procedure?
3. Any one can help me to install C::B on Cygwin?
Thanks! Thanks! Thanks! :shock:
raph:
You do not need wxWidgets to get codeblocks running (just a dll which is linked in the nightly build forum posts).
If you want to develop own applications using wxWidgets you need wxMSW installed to compile it under windows and wxGTK if you want to build them under linux.
Have a look at the wiki. There you will find information how to install different compiles.
Regards raph
cube1982:
Thank you for your quick reply!
Since I need to install C::B on Cygwin, I assume that I should follow this wiki instruction:
"Installing Code::Blocks from source on Linux"
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux
If so, I have to install wxWidgets, because "... In order to sucesfully compile Code::Blocks, the wxWidgets (wxGTK-2.6.1 or later) cross-platform UI library must be installed..."
Am I correct?
Thanks
stahta01:
Note, Please try to download the regular Code::Blocks nightly build for use under windows.
Then, set it up to use the Cygwin GCC and see if it works for what you want.
You will likely find a few bugs (since I don't know if anyone has tested C::B using Cygwin GCC recently), but just post them and they should get fixed quicky.
I spent two days trying to compile Code::Blocks under Cygwin and I failed badly.
Note, if you wish to try remember Cygwin has no Unicode support so if building code::blocks under it you must do ANSI build.
Edit: The Code::Blocks configure was hard codded to use wxGTK as of a month or two ago, so try it using GTK installed.
My standard command to configure wxWidgets under Cygwin, note I never really used the build yet, so may have issues.
--- Code: ---../configure --with-gtk=2 --enable-shared \
--enable-monolithic --enable-unicode=no \
--without-odbc \
--with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin \
--with-libtiff=builtin --with-zlib=builtin --with-expat=builtin
--- End code ---
Tim S
lizhuoyi:
--- Quote from: stahta01 on August 02, 2007, 01:21:46 am ---Note, Please try to download the regular Code::Blocks nightly build for use under windows.
Then, set it up to use the Cygwin GCC and see if it works for what you want.
You will likely find a few bugs (since I don't know if anyone has tested C::B using Cygwin GCC recently), but just post them and they should get fixed quicky.
--- End quote ---
I used Code::Blocks with arm-9tdmi-linux-gnu toolchain, it is perfect! ( but gdb is :( )
Navigation
[0] Message Index
[#] Next page
Go to full version