In Ubuntu Synaptic Package Manager ,
Remember to have Packages like build-essential , g++ and gcc Installed
These Make up your C++ Compiler.
Now Select All Packages that Begin with,
libgtk2.0
They should be 7 in Number in Ubuntu 9.10
Download Latest wxWidgets from,
http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.10.tar.bz2
Or If its not the Latest , you can get Latest wxWidgets Source from,
http://www.wxwidgets.org/downloads/
Extract and Place wxWidgets-2.8.10 in /home/yourname
For E.g. -> My Folder Structure becomes /home/rohit/wxwidgets-2.8.10/
Yours may be something like /home/buffoon/wxwidgets-2.8.10 :)
Next , Download,
https://svn.wxwidgets.org/viewvc/wx/wxWidgets/branches/WX_2_8_BRANCH/src/gtk/gsockgtk.cpp?revision=61009
And Put "gsockgtk.cpp" in /home/rohit/wxwidgets-2.8.10/src/gtk/ . Replace the Old File
Again , You should see here http://www.wxwidgets.org/downloads/ to see If this step is necessary in the Latest Version.
Download and Install DialogBlocks for your Linux Distribution.Their are Releases Available for Ubuntu,RedHat,Fedora,Sun etc.
http://www.dialogblocks.com/download.htm
Make New Project in DialogBlocks ( See My Previous Blog Post on Windows for Details)
Just Hit "Standard" and Select Compiler to GCC and Select 4 Standard Configurations When Compiler Configuration Step comes.Remember you Selected MinGW in Windows Version , but Here in Linux you need to Select GCC.
Now Back in DialogBlocks,
In Build -> Configurations -> Paths
Set WXWIN to /home/
Remember , I put Here rohit , You should be probably putting here Your Name :)
In Drop-Down in Top-Right Select "GCC Unicode Release"
Then Hit,
Build -> Build wxWidgets
If you See any Warnings then Hit Build -> Build wxWidgets Again and they will be gone.
In Drop-Down in Top-Right Select "GCC Unicode Debug"
Then Hit,
Build -> Build wxWidgets
If you See any Warnings then Hit Build -> Build wxWidgets Again and they will be gone.
We have now built both Debug and Release Versions.
Again , In the Drop-Down in Top-Right Select "GCC Unicode Release"
You can Now Build your Project with F8 and Run with F9
