View topic - OMP Binaries



All times are UTC + 1 hour


Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: OMP Binaries
PostPosted: 11 May 2012, 23:46 
User avatar

Joined: 12 Nov 2009, 20:06
Location: BEHIND YOU
Is there anywhere to get these? I've got no experience in compiling programs outside of "Hello World" and similar programs. I've spent the past two hours downloading Git Bash, mingw, cmake, various libraries and the source, and now I can't get it to build. As much as I'd love to figure things out on my own, I'm growing frustrated.

Any chance us noobs could get an OMP binary?


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 12 May 2012, 00:07 
User avatar

Joined: 12 Nov 2009, 20:06
Location: BEHIND YOU
Well, I've got it compiling, but at 12% I get the following error:


Attachments:
compile error.PNG [15.25 KiB]
Downloaded 2 times
Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 12 May 2012, 07:36 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
two alternatives:
1. install git
2. remove the .git dir, and add a text file called VERSION in the root dir of the engine source, and put the version string in there (for example, 88.0).

how did you get the engine sources? downloaded an archive file through github? that is the least supported way (you found out why).

(next time, please also add the text version of the output)


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 12 May 2012, 11:22 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
What is OMP?


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 12 May 2012, 12:56 
User avatar

Joined: 12 Nov 2009, 20:06
Location: BEHIND YOU
Well, maybe the Compile/Getting source wikis need to be updated then.

The source/comiling pages say over and over and over again to use Git to get the source, but then they only provide links to this page. Seriously, where on the Obtaining the Source does it give the git command to download a stable version of spring source? What about Building ON Windows?

In both cases, the only place where a git command is used is under the
"Development Sources from Git
(Bleeding-edge, unstable code for development and testing)"
section. It gives no information about where to get stable releases.

So for the record, I did use git to pull source code, I'm just not sure if I downloaded the right version of the code considering that the only links listed anywhere are for dev builds.


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 12 May 2012, 17:26 
Spring Developer

Joined: 16 Dec 2006, 20:59
Beherith wrote:
What is OMP?

http://www.thefreedictionary.com/oomph


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 12 May 2012, 17:47 
Lobby Developer
User avatar

Joined: 14 Aug 2007, 15:15
Beherith wrote:
What is OMP?
http://openmp.org/


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 12 May 2012, 18:48 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
Mav wrote:
The source/comiling pages say over and over and over again to use Git to get the source, but then they only provide links to this page. Seriously, where on the Obtaining the Source does it give the git command to download a stable version of spring source? What about Building ON Windows?
better?


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 12 May 2012, 20:03 
User avatar

Joined: 12 Nov 2009, 20:06
Location: BEHIND YOU
Thanks so much! I'll try out the new instructions when I get home. If I can do it, any noob can :-)


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 13 May 2012, 02:01 
User avatar

Joined: 12 Nov 2009, 20:06
Location: BEHIND YOU
Well, I got it to build OK. I played around on some maps with no problem, but I can't get NOTA Lobby to recognize it as Spring :?

So I haven't been able to test Sync online.


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 13 May 2012, 13:34 
User avatar

Joined: 12 Nov 2009, 20:06
Location: BEHIND YOU
First, thanks for all the help I've been given so far! I've really learned a lot in this process.

Ok, I finally got everything to run OK. It was being recognized as a different version of spring because (I think) there was a space in my version string. I redid the VERSION file and it plays online fine now.

So for the last bit of help I think I need:

The executable is huge. I read on the mingw site that this is probably due to debugging information. Any way to disable that?

When I compile with the cmd
Code:
mingw32-make install-spring
it installs to my C:/Program Files (x86) directory. I've got a small SSD system drive so I typically install on my a larger standard hard drive. Is there a way to specify install directory?

Thanks again!


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 13 May 2012, 13:55 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Code:
strip spring.exe


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 13 May 2012, 14:24 
User avatar

Joined: 12 Nov 2009, 20:06
Location: BEHIND YOU
Thanks for the quick reply, FLOZi. Where and when do I use this command? Also, I still need to know if there's a way to install to a different directory.


Top
 Offline Profile  
 
 Post subject: Re: OMP Binaries
PostPosted: 14 May 2012, 23:13 
Spring Developer

Joined: 31 May 2009, 23:08
see CMAKE_INSTALL_PREFIX

or if you are on ntfs you can create a symbolic link to a different directory...

strip.exe should be next to gcc/g++.exe. (this removes debugging information, but better keep it if possible...)


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.