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

Everything around the Descent level editor

Moderators: Frustikus, Aus-RED-5

jihnsius
Posts: 10
Joined: Wed May 16, 2012 8:27 pm

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

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 directoryerror C2061: syntax error : identifier 'byte'1>ObjectToolSound.cpp1>c1xx : fatal error C1083: Cannot open source file: '.\ObjectToolSound.cpp': No such file or directory1>ObjectToolPhysics.cpp1>c1xx : fatal error C1083: Cannot open source file: '.\ObjectToolPhysics.cpp': No such file or directory1>ObjectToolDeath.cpp1>c1xx : fatal error C1083: Cannot open source file: '.\ObjectToolDeath.cpp': No such file or directory1>ObjectToolCombat.cpp1>c1xx : fatal error C1083: Cannot open source file: '.\ObjectToolCombat.cpp': No such file or directory1>ObjectToolAI.cpp1>c1xx : fatal error C1083: Cannot open source file: '.\ObjectToolAI.cpp': No such file or directory1>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`
karx11erx
D2X-XL Master
Posts: 8112
Joined: Mon Sep 24, 2007 8:48 pm
Location: Wilferdingen, Germany
Contact:

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

The VS 2008 solution is probably outdated.

Why don't you use the compiled version from my website?
jihnsius
Posts: 10
Joined: Wed May 16, 2012 8:27 pm

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

Because I would like to edit the level editor for a spin-off game.

What would you recommend for compiling?
Sirius
Posts: 1990
Joined: Tue Sep 25, 2007 10:29 pm
Location: Bellevue, WA
Contact:

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

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...
karx11erx
D2X-XL Master
Posts: 8112
Joined: Mon Sep 24, 2007 8:48 pm
Location: Wilferdingen, Germany
Contact:

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

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.
Sirius
Posts: 1990
Joined: Tue Sep 25, 2007 10:29 pm
Location: Bellevue, WA
Contact:

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

...yeah, I remember that now. So there goes that option :)