Page 1 of 1

Error: Cannot open include file: 'Frustum.h' (and more)

Posted: Sat Nov 30, 2013 9:36 pm
by jihnsius
I'm trying to compile the newest version of DLE-XP in Visual Studio 2008 on Win 7 x64.

Code: Select all

1>c:\dle-source\1.11.79\renderer.h(11) : fatal error C1083: Cannot open include file: 'Frustum.h': No such file or directory

error C2061: syntax error : identifier 'byte'

1>ObjectToolSound.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\ObjectToolSound.cpp': No such file or directory
1>ObjectToolPhysics.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\ObjectToolPhysics.cpp': No such file or directory
1>ObjectToolDeath.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\ObjectToolDeath.cpp': No such file or directory
1>ObjectToolCombat.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\ObjectToolCombat.cpp': No such file or directory
1>ObjectToolAI.cpp
1>c1xx : fatal error C1083: Cannot open source file: '.\ObjectToolAI.cpp': No such file or directory

1>c:\winddk\7600.16385.1\inc\mfc42\atldef.h(4) : fatal error C1083: Cannot open include file: '..\atl30\atldef.h': No such file or directory
- This one can be fixed by changing \atl30\ to \atl71\ in the header files. However, if you do this you get the following error, which is (from what I've read online) a direct result from having mixed  atl71 and mfc42 include folders:

1>c:\winddk\7600.16385.1\inc\atl71\atlchecked.h(229) : error C3861: 'AFX_CRT_ERRORCHECK': identifier not found

Re: Error: Cannot open include file: 'Frustum.h' (and more)

Posted: Sun Dec 01, 2013 1:31 am
by karx11erx
The VS 2008 solution is probably outdated.

Why don't you use the compiled version from my website?

Re: Error: Cannot open include file: 'Frustum.h' (and more)

Posted: Sun Dec 01, 2013 1:39 am
by jihnsius
Because I would like to edit the level editor for a spin-off game.

What would you recommend for compiling?

Re: Error: Cannot open include file: 'Frustum.h' (and more)

Posted: Sun Dec 01, 2013 6:58 am
by Sirius
So, as I mentioned, anything compatible with VS2010 .sln/project files should work. Obviously VC++ 2010 Express counts; 2012 was supposed to be backward-compatible so it should as well. That may have carried over into 2013 but I haven't confirmed that.

Past that I'm not totally sure. I would recommend getting the code from the SVN repository if you can, since that's the one I've been building with and I know it works. If it still doesn't work, find me on Mumble and I'll see what I can figure out from the compile errors...

Re: Error: Cannot open include file: 'Frustum.h' (and more)

Posted: Mon Dec 02, 2013 10:59 am
by karx11erx
I think DLE might not compile with Express versions of Visual Studio due to these lacking certain libraries (MFC?)

However, I have updated the VS 2008 project file and committed it to the DLE SVN repository.

Re: Error: Cannot open include file: 'Frustum.h' (and more)

Posted: Sat Dec 07, 2013 3:50 am
by Sirius
...yeah, I remember that now. So there goes that option :)