[tuhopuu-devel] Re: compiling Blender VC 2003

Chris Want tuhopuu-devel@blender.org
Wed, 14 Apr 2004 13:30:37 -0600


Hi Eliot,

I'm going to cc the list on this (I'm not really
a windows guy so I'm not the best one to answer
your questions).

I have been using MSVC 6 so I'm not sure that any
of the advice I have given thus far applies to
your MSVC 7 compiler. I think there is a blender.sln
file in the root dir that does something related to
this. There is also stuff in make/msvc_7_0 that
may be a bit more relevant than the stuff in the
projectfiles directory.

Nice to hear about your success with scons
... and weird hacks required to get that working?

Regards,
Chris


Looks like you need to set a path to

eliot@cinital.com wrote:
> Hi Chris,
> 
> I'm taking a beating on compiling this thing so I figure I'll do the
> direct email route rather than clogging the list. Thanks for your
> help, I really appreciate it. 
> 
> I changed the setting to Release and the intern.dsw project built
> fine. I then opened the blender.dsw file in projectfiles/blender, set
> the active project to blender, set the build type to release, and
> tried to build it. I got a huge ton of errors so I tried compiling
> each module one by one.
> 
> The module that seems to be giving me huge problems is the GP_ghost
> module. I successfully compiled bf-blender with the same directory
> structure (I checked out the precompiled libraries from CVS, and the
> relative directory structure is identical to the one I used for
> bf-blender.) I also downloaded the quicktime libraries, and have
> successfully built tuhopuu2 with scons.
> 
> The reason I am trying to build it with the VC project files is that a
> collaborator is using VC project files and is providing me with .patch
> files that add files to the VC project. 
> 
> I included some of the errors from the two main blocks. There seems to
> be a problem with gl.h, which is strange. I have successfully built
> several OpenGL projects on this system with this compiler.
> 
> The next big block of errors seems to occur with the
> quicktime_import.h file. The quicktime SDK is downloaded stock; I just
> downloaded it last week. 
> 
> Any ideas? At least now the problem is starting to be isolated. Is
> your system similar? WinXP SP1, Visual Studio .net 2003.
> 
> Thanks,
> 
> Eliot
> 
> C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152): error C2144: syntax error
> : 'void' should be preceded by ';'
> C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152): error C2146: syntax error
> : missing ';' before identifier 'glAccum'
> C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152): error C2182: 'APIENTRY' :
> illegal use of type 'void'
> C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152): error C2501: 'WINGDIAPI' :
> missing storage-class or type specifiers
> C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1153): error C2086: 'int
> APIENTRY' : redefinition
>         C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : see declaration of
> 'APIENTRY'
> C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1153): error C2086: 'int
> WINGDIAPI' : redefinition
>         C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : see declaration of
> 'WINGDIAPI'
> 
> 
> D:\Working\tuhopuu2\source\blender\blenkernel\bad_level_call_stubs\stubs.c(37): fatal error C1083: Cannot open include file: 'BPI_script.h':
> No such file or directory
> D:\Working\tuhopuu2\source\blender\quicktime\apple\quicktime_export.c(71): fatal error C1083: Cannot open include file: 'FixMath.h': No such
> file or directory
> d:\Working\tuhopuu2\source\blender\quicktime\quicktime_import.h(50):
> fatal error C1083: Cannot open include file: 'Movies.h': No such file
> or directory
> d:\Working\tuhopuu2\source\blender\quicktime\quicktime_import.h(50):
> fatal error C1083: Cannot open include file: 'Movies.h': No such file
> or directory
> d:\Working\tuhopuu2\source\blender\quicktime\quicktime_import.h(50):
> fatal error C1083: Cannot open include file: 'Movies.h': No such file
> or directory
> d:\Working\tuhopuu2\source\blender\quicktime\quicktime_import.h(50):
> fatal error C1083: Cannot open include file: 'Movies.h': No such file
> or directory
> d:\Working\tuhopuu2\source\blender\quicktime\quicktime_import.h(50):
> fatal error C1083: Cannot open include file: 'Movies.h': No such file
> or directory
> D:\Working\tuhopuu2\source\gameengine\GamePlayer\common\GPC_KeyboardDevice.cpp(33): fatal error C1083: Cannot open include file:
> 'iostream.h': No such file or directory
> D:\Working\tuhopuu2\source\gameengine\GamePlayer\common\GPC_RenderTools.cpp(97): fatal error C1083: Cannot open include file: 'SM_Scene.h':
> No such file or directory
> D:\Working\tuhopuu2\source\gameengine\GamePlayer\common\windows\GPW_Engine.cpp(46): fatal error C1083: Cannot open include file:
> 'SND_DeviceManager.h': No such file or directory
> d:\Working\tuhopuu2\source\gameengine\Ketsji\KX_Scene.h(48): fatal
> error C1083: Cannot open include file: 'SND_Scene.h': No such file or
> directory
> d:\Working\tuhopuu2\source\gameengine\Ketsji\KX_Scene.h(48): fatal
> error C1083: Cannot open include file: 'SND_Scene.h': No such file or
> directory
> d:\Working\tuhopuu2\source\gameengine\Ketsji\KX_Scene.h(48): fatal
> error C1083: Cannot open include file: 'SND_Scene.h': No such file or
> directory