Post Reply 
Compiling Proximodo Sources
Nov. 23, 2004, 02:11 AM
Post: #1
 
<span style='font-size:14pt;line-height:100%'><span style='color:green'>Compiling Proximodo Sources</span></span>
<span style='color:green'>By Shea & Kuruden</span>
<span style='color:red'>UPDATED: December.3.2004</span>

I was chatting with kuruden online and I was asking him how to compile the Proximodo sources. It was quite confusing and I thought if the rest of you wanted to do it, you wouldn't be able to unless you were talking to kuruden at the time. This guide will tell you exactly how to do it and what tools you need.

<span style='color:green'>What you need:</span>

Dev-C++ 4.9.9.0 ----- http://ftp1.sourceforge.net/dev-cpp/devcpp4.zip
ZLib Source Files ----- http://www.dhost.info/am1t3ch/proximodo/zlib-1.2.2.zip
Kuruden's wxWindows Build ----- http://www.dhost.info/am1t3ch/proximodo/wx...-msw-static.zip

<span style='color:green'>Setting up Dev-C++:</span>

<span style='color:red'>NOTE:</span> If you have other directories under these tabs, it's OK, just rename "Program Files" to "Progra~1". Dev-C++ sometimes has trouble with long file names.

1. Install Dev-C++ using the installer to C:\Program Files\Dev-Cpp
2. Unzip wxWidgets-2.5.3-msw-static.zip to C:\Program Files\Dev-Cpp\wxWidgets-2.5.3-msw-static
3. Open up Dev-C++
4. Go into Tools -> Compiler Options, Directories Tab. Then under that click on the Libraries Tab
Make sure in has the following lines:

C:\Progra~1\Dev-Cpp\lib
C:\Progra~1\Dev-Cpp\wxWidgets-2.5.3-msw-static\lib

5. Next to the Libraries tab, click the C++ Includes tab
Make sure it has the following lines:

C:\Progra~1\Dev-Cpp\include\c++
C:\Progra~1\Dev-Cpp\include\c++\mingw32
C:\Progra~1\Dev-Cpp\include\c++\backward
C:\Progra~1\Dev-Cpp\include
C:\Progra~1\Dev-Cpp\wxWidgets-2.5.3-msw-static\lib\wx\include\msw-ansi-release-static-2.5
C:\Progra~1\Dev-Cpp\wxWidgets-2.5.3-msw-static\include

6. Open up Proximodo.dev in Dev-C++
7. Go into Project -> Project Options, Parameters Tab
Make sure it has the following lines:

C++ Compiler
-D__WXMSW__
-DNO_GCC_PRAGMA
-Wall
-O2

Linker
-lz
-mwindows
-lwx_msw_core-2.5
-lwx_base-2.5
-lwx_base_net-2.5
-lwx_msw_adv-2.5
-lrpcrt4
-loleaut32
-lole32
-luuid
-lwinspool
-lwinmm
-lshell32
-lcomctl32
-lcomdlg32
-lctl3d32
-ladvapi32
-lwsock32
-lgdi32
-s

8. Go under the Directories Tab, Resource Directories Tab
Make sure it has the following line:

C:\Progra~1\Dev-Cpp\wxWidgets-2.5.3-msw-static\include

9. Go into Project -> Add to Project
10. Browse to C:\Program Files\Dev-Cpp\wxWidgets-2.5.3-msw-static\include\wx\msw and select the wx.rc file
11. Click open
12. Now we have to add the ZLib files. Open the zlib-1.2.2.zip file
13. Extract all the files to C:\Program Files\Dev-Cpp\lib
14. Copy just the *.h files in teh archive to C:\Program Files\Dev-Cpp\include

<span style='color:green'>Making Sure There's Short File Names</span>

1. Open up Proximodo_private.rc in a text editor
2. Replace any forms of "Program Files" with "Progra~1" (without quotes)
3. Find this line:

#include ""../../../Program Files/Dev-Cpp/wxWidgets-2.5.3-msw-static/include/wx/msw/wx.rc""

4. Remove the excess quotes so its:

#include "../../../Program Files/Dev-Cpp/wxWidgets-2.5.3-msw-static/include/wx/msw/wx.rc"

<span style='color:green'>Compiling the Sources:</span>

1. Go into Execute -> Compile

After it is done compiling, you should see PROXI~1.EXE in C:\Program Files\Dev-Cpp\bin. You must put it in the a directory with the files in the "ditrib" folder in the sources. Otherwise the buttons will be all screwed up.


I had lots of trouble when trying to compile them on ym computer. Hopefully this tutorial will have cleared them up so they don't happen to any of you. I think this tutorial covered everything, let me know if you have any trouble!

<span style='color:red'>UPDATED: December.3.2004</span>

�{=(~�::[Shea]::��~)=}�
How 'bout you sideburns, you want some of this milk?
This fading text is pretty cool, eh? I bet you wish you had some.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
[] - Shea - Nov. 23, 2004 02:11 AM
[] - ProxRocks - Nov. 23, 2004, 01:48 PM
[] - pooms - Dec. 01, 2004, 11:26 PM
[] - pooms - Dec. 02, 2004, 10:36 PM
[] - Guest - Dec. 03, 2004, 03:11 AM
[] - Shea - Dec. 03, 2004, 11:14 PM
[] - pooms - Dec. 06, 2004, 07:14 PM
[] - kuruden - Dec. 06, 2004, 07:47 PM

Forum Jump: