Go to Post That's for us to know, and you to lose sleep over finding out! - Austin [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2006, 17:14
pmzq pmzq is offline
Registered User
no team
 
Join Date: Jan 2006
Location: The Netherlands
Posts: 3
pmzq is an unknown quantity at this point
Can't find .h files

Hello all,

I'm a TOTAL newbie to C programming....

I've got a source code from an online game...

It has a ticker inside so it calls upon every 30 secs...

Then you get new resources and stuff...

My problem is I have to compile the .C files..

But when I try this with Lcc-win32 on winXP it givs all errors that it can;t include .h files...

My question is if this problem is caused by the fact that I compile on winxP ?

The source may come from a Unix system..

Or shouldn't this make the problem ?

Hope to hear something soon

Greetzz pMzQ,
  #2   Spotlight this post!  
Unread 23-01-2006, 20:31
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Can't find .h files

What headers are missing? What game is it? If it's a unix game, you're going to have a hard time compiling it on a Windows system. Maybe cygwin or msys could help (google them). You'll probably have to find libraries that it uses and install them too. Not a small task if you don't know what you're doing. If it is a Windows game, then by the phrasing of your question I'd guess that you have the source code to a game which you're not exactly supposed to have the source to. Besides being illegal, there's no way you're going to get it to compile without finding the right libraries. Chances are good you'll have an even harder time, since they won't have source available either.

If it's an open source game for Windows, you might have a chance. There should be build instructions available which list which libraries you'll need. Follow those or post more specifics if you need help.

Things that are especially useful:
Name of the game
Error messages (copy and paste!)

Be sure to read any READMEs that came with it!
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #3   Spotlight this post!  
Unread 24-01-2006, 01:03
pmzq pmzq is offline
Registered User
no team
 
Join Date: Jan 2006
Location: The Netherlands
Posts: 3
pmzq is an unknown quantity at this point
Re: Can't find .h files

Hy there,

Thnx for the answering so far

I got it LEGAL it's open source it's called MyPHPpa..
It's an online mass multyplayer game.
When I try to compile some of the files
I get errors like
"Could not inlcude file <sys/time.h>
And a lot more of those...
Also some syntax errors...
But the README file with the source says as follows
--------------------------------------
To configure:

core_sql.c (fallback logins)
mypa.cfg (logins)

then type make all ...

To call it in game: run tick.sh in the background, it
calls every 30 s the ticker.

--------------------------------------
I've done the configure but don't know how to make all ?
There are quite some files couple of 15 or something .h and .C files..

I hope you can help me a bit further now

Thnx

pMzQ,
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Solidworks Files Panther378 Technical Discussion 1 21-01-2006 22:34
In Linux, compiler can't find standard headers lasindi Programming 3 14-01-2006 10:55
Where do I find the default program files? d.courtney Programming 3 15-01-2005 17:52
Multiple files usage punarhero Programming 2 12-01-2003 11:45
Bosch Drill Motor CAD Files Madison Inventor 10 09-12-2001 00:14


All times are GMT -5. The time now is 17:14.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi