|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Source code SVN access[message #198854]
|
Sat, 11 October 2008 00:37
|
|
Headrock |
|
Messages:1760
Registered:March 2006 Location: Jerusalem |
|
|
I ran into a problem while compiling.
Using the 2322 source code (no edits), I get this:
Quote:
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "void __cdecl std::_Debug_message(unsigned short const *,unsigned short const *,unsigned int)" (?_Debug_message@std@@YAXPBG0I@Z) already defined in libcpmtd.lib(stdthrow.obj)
Followed by a ton of other errors of similar nature, then starting a zillion other types of errors.
I'm guessing that VC++ is setup badly... but how do I set it correctly?
[Updated on: Tue, 16 June 2009 19:32] by Moderator Report message to a moderator
|
|
|
|
|
|
|
Re: Source code SVN access[message #215821]
|
Fri, 08 May 2009 00:29
|
|
Headrock |
|
Messages:1760
Registered:March 2006 Location: Jerusalem |
|
|
Instructions to install VC++ 2008 Express Edition for JA2 Code-work
1) Download installer from here:
http://go.microsoft.com/?linkid=9658666
At this URL, choose "download now" and select Visual C++ 2008 Express Edition in the language you prefer. The download is only a couple of megabytes.
2) Install VC++ 2008. This is an on-line installation, so the program will need to download around 90MB of data from microsoft.
3) During installation you'll be asked whether you want to also install Silverlight and SQL Express - you don't need either of these to compile the code.
4) When installation is complete, go to your the folder where you saved the JA2 Source Code you wish to compile.
5) Open the "res" folder, where you'll find a file called JA2.rc
6) Edit this file with NOTEPAD. One of the first lines will say:
Change it to:
Save the file.
7) Start VC++ 2008. You'll be asked to register the program, which means creating a Microsoft Live account. You will receive the registration code on-screen - copy that into the blank field on the VC++ 2008 registration window. You can forgo registration for up to 30 days. I'm not sure what happens afterwards. Registration is free though.
Load up the file called "JA2_VC2008.vcproj" which is in your main source code folder.
9) Compile the code!
10) Whenever you update your version of the code, you will probably need to edit JA2.rc again, doing the same thing in step #6, otherwise the code won't compile.
-------------------
Thanks go to BirdFlu, SpaceViking, Jones and RoWa21 for these instructions!
Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Source code SVN access[message #242942]
|
Sun, 31 January 2010 15:33
|
|
Faithless |
|
Messages:439
Registered:October 2009 Location: The safe end of the barre... |
|
|
Edit: No need to waste your guys time reading the questions, fixed it =)
Found the exe, I'll just assume this should work if I put that into the newest 1.13 SVN folder.
now.... to find a way to change the output folder ...
// still here for reference
Ok two questions;
Once I built the whole thing, I tried to look for an executable file, but found none. (there's only .obj files and the likes.)
Is this normal and if so, how would you execute this compiled code?
Secondly I did try to "debug" once compiled, but it's missing the smackw32.dll.
I sort of expected this to be compiled with the code.
Now I guess I should put the compiled code into a fresh JA2 install, but I have no idea what files to copy =(.
Right, it's probably worth mentioning that I followed the steps in Headrock's post.
And yes that also means I'm using microsofties visual C++ 2008
[Updated on: Sun, 31 January 2010 16:37] by Moderator Report message to a moderator
|
Master Sergeant
|
|
|
Re: Source code SVN access[message #252353]
|
Thu, 27 May 2010 00:36
|
|
P.Val |
|
Messages:72
Registered:May 2010 |
|
|
Strange, but I cannot check out with TortoiseSVN ("could not connect to server"), while I can access the folder with my browser. Must the problem surely be at my end, or are there some restrictions based on something I don't know?
By the way, how should we compile, build and test it? I can see a makefile but I don't recognize what program under Windows can use it (I used makefiles only under Linux).
EDIT: Sorry, it was my fault, bad proxy settings. Got it built and running, yay
[Updated on: Thu, 27 May 2010 01:56] by Moderator Report message to a moderator
|
Corporal
|
|
|
|
Re: Source code SVN access[message #254668]
|
Wed, 23 June 2010 16:07
|
|
silversurfer |
|
Messages:2793
Registered:May 2009 |
|
|
I downloaded the source code last evening and tried to compile it in Visual C++ 2010. While trying to compile the laptop project I got several error messages for different modules all about the same problem.
The message was:
|
|
|
|
|