Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: FreeTerran on November 03, 2003, 11:52:20 am

Title: compile problem
Post by: FreeTerran on November 03, 2003, 11:52:20 am
hmm i got some errors if i build the a new exe
Code: [Select]
GrD3DRender.cpp
.\graphics/grd3dinternal.h(244) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory

i know this is an error where i need the sdk i hae it installed and i know the location of the 'd3d8.h' file but how could i make it that microsoft visual c++ know where the file is ?
Title: compile problem
Post by: RandomTiger on November 03, 2003, 12:09:34 pm
1. Make sure you have DX8b or later SDK installed.
2. Ensure Tools:Options:Directories is setup with the DX8 paths for include and lib dirs
3. Clean your build
Title: compile problem
Post by: FreeTerran on November 03, 2003, 12:13:54 pm
hmm... no help

EDIT: exist any option where i could include the file by me ? or change an path anywhere ?

EDIT2: yeah number 2 has help thx a lot :D
Title: compile problem
Post by: FreeTerran on November 03, 2003, 12:23:48 pm
arhs now i got this error
Code: [Select]
LINK : fatal error LNK1181: cannot open input file "Dxerr8.lib"

EDIT: i have found the error it was under .h files included not .lib ;)
Title: compile problem
Post by: Fry_Day on November 04, 2003, 04:33:29 am
Go to Tools\Directories and make sure that the directories for Library files have the DX8.1 SDK library file directory listed. If they don't, add it (Default is C:\DXSDK\LIB)