Problem sdk_engine

Posted By: Tonyjack221

Problem sdk_engine - 06/15/12 14:52

Code:
------ Build started: Project: e_tutorial, Configuration: Debug Win32 ------
Compiling...
var.cpp
c1xx : fatal error C1083: Cannot open source file: '.\var.cpp': No such file or directory
e_tutorial.cpp
c:\documents and settings\cgcg cgcg\bureau\sdk_engine\e_tutorial.cpp(251) : error C2039: 'mat_metal' : is not a member of 'ENGINE_VARS'
        c:\documents and settings\cgcg cgcg\bureau\sdk_engine\adll.h(40) : see declaration of 'ENGINE_VARS'
Generating Code...
Build log was saved at "file://c:\Documents and Settings\CGCG CGCG\Bureau\sdk_engine\Debug\BuildLog.htm"
e_tutorial - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



i use Visual C++ 9.0 Express Edition
Posted By: Tonyjack221

Re: Problem sdk_engine - 06/15/12 17:57

anyone know this problem?
Posted By: SchokoKeks

Re: Problem sdk_engine - 06/15/12 18:18

I guess you opened the "e_tutorial.vcproj" project?

Quote:
Cannot open source file: '.\var.cpp'


That is your problem. Look into your project settings if you have the path of "var.cpp" included.
Posted By: Tonyjack221

Re: Problem sdk_engine - 06/15/12 22:09

i included that now
the same problem


------ Build started: Project: e_tutorial, Configuration: Debug Win32 ------
Compiling...
e_tutorial.cpp
c:\documents and settings\cgcg cgcg\bureau\sdk_engine\e_tutorial.cpp(25) : fatal error C1083: Cannot open include file: 'var.cpp': No such file or directory
var.cpp
c1xx : fatal error C1083: Cannot open source file: '.\var.cpp': No such file or directory
Generating Code...
Build log was saved at "file://c:\Documents and Settings\CGCG CGCG\Bureau\sdk_engine\Debug\BuildLog.htm"
e_tutorial - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Posted By: Tonyjack221

Re: Problem sdk_engine - 06/15/12 22:15

"var.cpp" does not exists in the folder
Why?
Posted By: SchokoKeks

Re: Problem sdk_engine - 06/16/12 00:23

It should be included with the default 3DGS installtion in the "sdk_engine" folder (at least with A7, don't have A8 to test).
Maybe Reinstalling Gamestdio can help?
Posted By: LemmyTheSlayer

Re: Problem sdk_engine - 06/16/12 08:38

The var.cpp is obsolete. Update to the latest version and use the new var.h instead.
Posted By: jcl

Re: Problem sdk_engine - 06/18/12 13:06

Yes, the .vcproj contained some old settings. Sorry for that. Remove "var.cpp" from the project and also change "mat_metal" in the example to "mtl_metal". This will be fixed in the next update.
Posted By: Tonyjack221

Re: Problem sdk_engine - 06/18/12 13:11

thank you JCL it is work now
© 2024 lite-C Forums