The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 09, 2024, 01:50:18 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  I have problem compiling the source code..
« previous next »
Pages: [1] Print
Author Topic: I have problem compiling the source code..  (Read 4614 times)
ugly
Zebranky food
*
Offline Offline

Posts: 5


I love YaBB 1G - SP1!


View Profile
I have problem compiling the source code..
« on: December 12, 2002, 11:05:36 am »

How do I use VisualC++ to compile the source?
I opened the src\msvc++\UrQuanMasters.dsw
But when I compiled, It couldn't find SDL.h, unistd.h, sys/param.h, and many other files..
What libs should I download? and how do I install them?
Is "unistd.h" and "sys/param.h" only on Unix systems?

Parker hates all capital-lettered titles
« Last Edit: December 12, 2002, 11:49:30 am by Parker » Logged
Nic.
Guest


Email
Re: I HAVE PROBLEM COMPILING THE SOURCE CODE..
« Reply #1 on: December 12, 2002, 11:18:00 am »

I don't know where to begin.
  • There is a forum called "Technical Issues and Bugs" which was created SPECIFICALLY for questions like this, unlike the forum you chose to post in, called "General Discussion"

  • There is a fille located at the base of the source tree you just downloaded called INSTALL.  It tells you everything you need to get in order to get the program to compile, and is even nice enough to provide URLs to them all.  I'm gonna go out on a limb here and guess that you didn't bother to read it before posting.  Why don't you go give that a shot?
Logged
ugly
Zebranky food
*
Offline Offline

Posts: 5


I love YaBB 1G - SP1!


View Profile
Re: I have problem compiling the source code..
« Reply #2 on: December 12, 2002, 11:51:46 am »

OK...I've got the libs...
But I still can't find <unistd.h> and <sys/param.h>
Where can I find them???
Logged
ugly
Zebranky food
*
Offline Offline

Posts: 5


I love YaBB 1G - SP1!


View Profile
Re: I have problem compiling the source code..
« Reply #3 on: December 12, 2002, 12:26:04 pm »

Where is UNISTD.H?Huh??
Where is SYS/PARAM.H?Huh?
I can't compile without them......
I'm not good as this....
Logged
Nic.
Guest


Email
Re: I have problem compiling the source code..
« Reply #4 on: December 12, 2002, 12:41:38 pm »

You shouldn't need them, and since they're Unix-only requirements, getting them won't help you much.

Do you know C, at least enough to beat on source code until it goes through a compiler with minimal complaints?  If not, you might want to hang back and wait for the next release..
« Last Edit: December 12, 2002, 12:43:27 pm by Nic. » Logged
ugly
Zebranky food
*
Offline Offline

Posts: 5


I love YaBB 1G - SP1!


View Profile
Re: I have problem compiling the source code..
« Reply #5 on: December 12, 2002, 12:55:24 pm »

I think I don't need them, but when I compile.
The error message says :
fatal error C1083: Cannot open include file: 'sys/param.h': No such file or directory

If I really don't need the files, why does the compiler keep producing error msgs?
The source code should be compilable in VC++..
I downloaded it from SourceForge,
uqm-0.1-source.tgz,
it says it's platform-independent..
Logged
Riven
Zebranky food
*
Offline Offline

Posts: 6


I love YaBB 1G - SP1!


View Profile
Re: I have problem compiling the source code..
« Reply #6 on: December 12, 2002, 01:40:07 pm »

Why you want to compile version 0.1? It is downloadable in binary form. If you want a newer version download CVS.
Logged
ugly
Zebranky food
*
Offline Offline

Posts: 5


I love YaBB 1G - SP1!


View Profile
Re: I have problem compiling the source code..
« Reply #7 on: December 12, 2002, 01:44:11 pm »

Um.....Where's the CVS version?.....
Actually I don't know where to download it.
Logged
Riven
Zebranky food
*
Offline Offline

Posts: 6


I love YaBB 1G - SP1!


View Profile
Re: I have problem compiling the source code..
« Reply #8 on: December 12, 2002, 01:47:31 pm »

Download Wincvs (www.wincvs.org) and follow the instructions in http://sourceforge.net/cvs/?group_id=59452.
Logged
Ugly1
Guest


Email
Re: I have problem compiling the source code..
« Reply #9 on: December 12, 2002, 04:15:42 pm »

Where could I find SDL.lib?
Logged
Riven
Zebranky food
*
Offline Offline

Posts: 6


I love YaBB 1G - SP1!


View Profile
Re: I have problem compiling the source code..
« Reply #10 on: December 12, 2002, 08:36:54 pm »

Read install file in cvs directory. It's in sdl download page in the file SDL-devel-1.2.5a-VC6.zip (for visual C)
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!