|
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. |
|||
|
Nov. 23, 2004, 01:48 PM
Post: #2
|
|||
|
|||
|
Shea,
Not "exactly" related to this thread, but there seems to be some registration problems at Amit Technologies... ps - Thanks for the guide, I will be diving into it sometime early next month... |
|||
|
Dec. 01, 2004, 11:26 PM
Post: #3
|
|||
|
|||
Shea Wrote:4. Go into Tools -> Compiler Options, Directories Tab, Libraries TabFirst of all, there are two step 4's Anyways, there is no Tools -> Compiler Options, did you mean Options -> Compiler Options? Under Tools -> Compiler options there is a Directories tab, but no Libraries Tab. Did you mean the Libraries text entry area? Same with the C++ Includes tab, do you mean the C++ Include Files text entry area? I had a bit of trouble getting the ZIP files on http://www.dhost.info, it said something about direct linking of files was not allowed. I think it might have been related to my proxo filters, because eventually after disabling proxo I was able to get the two ZIP files. |
|||
|
Dec. 02, 2004, 10:36 PM
Post: #4
|
|||
|
|||
Shea Wrote:4. Go under the C++ Includes tabI've got a G++ subdirectory in my include directory, but no C++, where does that come from? (The G++ directory doesn't have "mingw32" or "backward" subdirectories) |
|||
|
Dec. 03, 2004, 03:11 AM
Post: #5
|
|||
|
|||
|
I followed the guide step by step, but the source still can not be compiled.
|
|||
|
Dec. 03, 2004, 11:14 PM
Post: #6
|
|||
|
|||
|
<span style='color:red'>UPDATED: December.3.2004</span>
..::Pooms::.. I don't know what your talking about with th Tools tab being Options. I have a tools tab, but no Options tab. Are you using the correct version of Dev-C++? CHANGES: - Corrected the numbering of the steps - Forgot to include the stuff about the zlib includes - Added stuff about replacing "Program Files" with "Progra~1" in the files �{=(~�::[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. |
|||
|
Dec. 06, 2004, 07:14 PM
Post: #7
|
|||
|
|||
Shea Wrote:<span style='color:red'>UPDATED: December.3.2004</span>I used the version that your link pointed to, so hopefully that is the correct version. Unfortunately I don't have any more time to try to get this to work right now, so I uninstalled everything. I'll have to come back to it at a later time. Oh for the days of simply compiling C++ using unix "make" files!
|
|||
|
Dec. 06, 2004, 07:47 PM
Post: #8
|
|||
|
|||
|
Hi Pooms,
Using make under Windows is possible (MinGW + MSYS), though not less complex than using Dev-C++, because you still have to install mingw and msys properly and find a way to compile wxmsw and zlib... [unsure] Thanks Shea for your compile instructions, they are quite complete
|
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help





![[-]](images/ONi/collapse.gif)
