C++ Question Cannot open include file: 'Orbitersdk.h':

n72.75

Move slow and try not to break too much.
Orbiter Contributor
Addon Developer
Tutorial Publisher
Donator
Joined
Mar 21, 2008
Messages
2,696
Reaction score
1,354
Points
128
Location
Saco, ME
Website
mwhume.space
Preferred Pronouns
he/him
Whenever i try to compile a project i get this error. i did put orbitersdk.h in the header folder allong with the other requiered headers. i am doing this in VS C++ 2008.

Code:
1>------ Build started: Project: Salyut6, Configuration: Debug Win32 ------
1>Compiling...
1>Main.cpp
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(3) : fatal error C1083: Cannot open include file: 'Orbitersdk.h': No such file or directory
1>Build log was saved at "file://c:\Users\matthew\Documents\Visual Studio 2008\Projects\Salyut6\Salyut6\Debug\BuildLog.htm"
1>Salyut6 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,626
Reaction score
2,344
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
Did you also check your include directories?
 

n72.75

Move slow and try not to break too much.
Orbiter Contributor
Addon Developer
Tutorial Publisher
Donator
Joined
Mar 21, 2008
Messages
2,696
Reaction score
1,354
Points
128
Location
Saco, ME
Website
mwhume.space
Preferred Pronouns
he/him
Project settings->C++

i added C:\Program Files (x86)\orbiter\orbiter060929_base\Orbitersdk\include to the include directories, that fixes the problem.

Thanks!!!

-Matt
 
Top