Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wont compile in windows.
04-27-2007, 03:45 PM,
#6
 
Thanks for the link Nigo, I didn't have time to dig that one up. I'll add a note about libraries with that link to the compile directions for Windows on the wiki.

On pch.h: This is the pre-compiled header, it's trying to include sys/ioctl.h which is only used in the Linux build for force feedback. This should not be included, neither should any of the other sys/ headers, so I think those can just be commented out.

definitions.h: This file is supposed to be generated at compile time but the windows build hasn't been updated yet for this new feature...so you can just create the file yourself, just add a new include file to the Dev-C++ project and in it put the following:
Code:
#ifndef _DEFINITIONS_H
#define _DEFINITIONS_H
#define DATA_DIR "./data/"
#define SETTINGS_DIR "VDrift"
#define DEBUG 1
#define VERSION "development"
#define REVISION "1699"
#endif // _DEFINITIONS_H

Notice I'm changing the SETTINGS_DIR which is usually ".vdrift"...I think we should change it to remove the . and capitalize it properly on Windows since the other way is more of a *nix thing. Anyway that means that your settings will show up C:\Documents and Settings\you\VDrift instead of where they were before. If you like you can change it back and it will use the settings you defined before, or you can copy the settings from the .vdrift directory into the new VDrift directory to keep your settings.

Make sense? Smile
Reply


Messages In This Thread
Wont compile in windows. - by protomor - 04-27-2007, 10:37 AM
[No subject] - by thelusiv - 04-27-2007, 12:53 PM
[No subject] - by protomor - 04-27-2007, 12:58 PM
[No subject] - by Nigo - 04-27-2007, 01:05 PM
[No subject] - by protomor - 04-27-2007, 01:23 PM
[No subject] - by thelusiv - 04-27-2007, 03:45 PM
[No subject] - by protomor - 04-27-2007, 04:04 PM
[No subject] - by Nigo - 04-28-2007, 08:55 AM
[No subject] - by protomor - 04-30-2007, 11:12 AM
[No subject] - by mpo - 07-05-2007, 11:49 AM
[No subject] - by thelusiv - 07-05-2007, 03:42 PM
[No subject] - by mpo - 07-06-2007, 04:37 AM
[No subject] - by rookie1 - 07-06-2007, 06:53 AM
[No subject] - by mpo - 07-06-2007, 07:02 AM
[No subject] - by rookie1 - 07-06-2007, 07:21 AM
[No subject] - by mpo - 07-06-2007, 01:49 PM
[No subject] - by thelusiv - 07-06-2007, 01:56 PM
[No subject] - by mpo - 07-06-2007, 03:16 PM
[No subject] - by thelusiv - 07-06-2007, 03:37 PM
[No subject] - by mpo - 07-07-2007, 06:19 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-07-2007, 12:46 PM
[No subject] - by mpo - 07-09-2007, 04:47 AM
[No subject] - by rookie1 - 07-09-2007, 05:44 AM
[No subject] - by mpo - 07-09-2007, 08:19 AM
[No subject] - by rookie1 - 07-09-2007, 09:01 AM
[No subject] - by mpo - 07-09-2007, 10:40 AM
[No subject] - by thelusiv - 07-09-2007, 10:55 AM
[No subject] - by mpo - 07-09-2007, 01:13 PM
[No subject] - by mpo - 07-10-2007, 04:33 AM
[No subject] - by thelusiv - 07-10-2007, 12:10 PM
[No subject] - by mpo - 07-10-2007, 02:52 PM
[No subject] - by thelusiv - 07-10-2007, 03:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)