[Bf-committers] MSVC7 project files - cleaned up and ready.

Peter den Bak bf-committers@blender.org
Mon, 1 Dec 2003 21:34:33 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C3B852.E9928AB0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Nathan,

I tested it on my computer and it works.
I also tested to compile for debug mode, and found that there is =
something
wrong with the BL_imbuf projectfile.
Here is a new BL_imbuf projectfile for debug.

After compiling for debug mode I ended up with 4 unresolved externals:

libghost.a(GHOST_SystemWin32.obj) : error LNK2001: unresolved external
symbol "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t
const &,char *,int)" (??3@YAXPAXABU_DebugHeapTag_t@std@@PADH@Z)
libghost.a(GHOST_EventPrinter.obj) : error LNK2001: unresolved external
symbol "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t
const &,char *,int)" (??3@YAXPAXABU_DebugHeapTag_t@std@@PADH@Z)
libghost.a(GHOST_DisplayManager.obj) : error LNK2001: unresolved =
external
symbol "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t
const &,char *,int)" (??3@YAXPAXABU_DebugHeapTag_t@std@@PADH@Z)
libghost.a(GHOST_SystemWin32.obj) : error LNK2019: unresolved external
symbol

I think they are caused by debug assert macro's in the ghostlib source.
When you link with the release libghost.lib you have a debugable =
blender.exe

So your almost there!

Regards

Peter den Bak




-----Original Message-----
From: bf-committers-admin@blender.org
[mailto:bf-committers-admin@blender.org] On Behalf Of Nathan Letwory
Sent: Monday, December 01, 2003 7:52 PM
To: bf-committers@blender.org
Subject: [Bf-committers] MSVC7 project files - cleaned up and ready.

I finally got around to cleaning up my own setup and testing it on=20
different machines. In the attached .tar.gz you can find the directories =

'intern' and 'projectfiles_vc7', which contain the solutions and=20
project-files for MSVC7. Untar the ball in Blender root directory and=20
read README.msvc7 for more instructions.

If people test it and confirm it works, it can be committed. Several=20
files can then be removed from the current CVS tree

blender\blender.sln
and
blender\make\msvc_7_0 (recursively)

A note though. To get it compiled in MSVC7, I had to make a slight=20
modification to FTGL (again related to const'ness). Instructions for=20
getting a working library are in the README.msvc7

If anyone can test it, please do so. IMO it is ready to be committed (I=20
tested it on several machines under different directory structures, ie.=20
where Blender root resides).

/Nathan Letwory

ps. for the ones that want to know: they are converted from VC6 project=20
files, so it includes everything those files do, too. And I've enabled=20
Ketsji since bug #424 was fixed.



------=_NextPart_000_0001_01C3B852.E9928AB0
Content-Type: text/plain;
	name="BL_imbuf.vcproj"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="BL_imbuf.vcproj"

<?xml version=3D"1.0" encoding =3D "Windows-1252"?>
<VisualStudioProject
	ProjectType=3D"Visual C++"
	Version=3D"7.00"
	Name=3D"BL_imbuf"
	SccProjectName=3D""
	SccLocalPath=3D"">
	<Platforms>
		<Platform
			Name=3D"Win32"/>
	</Platforms>
	<Configurations>
		<Configuration
			Name=3D"Debug|Win32"
			OutputDirectory=3D".\..\..\..\obj\windows\blender\imbuf\debug"
			IntermediateDirectory=3D".\..\..\..\obj\windows\blender\imbuf\debug"
			ConfigurationType=3D"4"
			UseOfMFC=3D"0"
			ATLMinimizesCRunTimeLibraryUsage=3D"FALSE"
			CharacterSet=3D"2">
			<Tool
				Name=3D"VCCLCompilerTool"
				Optimization=3D"0"
				=
AdditionalIncludeDirectories=3D"..\..\..\..\lib\windows\guardedalloc\incl=
ude,..\..\..\source\blender\avi,..\..\..\source\blender\imbuf,..\..\..\so=
urce\blender\imbuf\intern,..\..\..\source\blender\readstreamglue,..\..\..=
\source\blender\quicktime,..\..\..\source\blender\blenkernel,..\..\..\sou=
rce\blender\blenlib,..\..\..\source\blender\include,..\..\..\..\lib\windo=
ws\jpeg\include,..\..\..\..\lib\windows\zlib\include,..\..\..\..\lib\wind=
ows\png\include,..\..\..\source\blender\makesdna,..\..\..\source\blender\=
render\extern\include"
				PreprocessorDefinitions=3D"_DEBUG,WIN32,_LIB,WITH_QUICKTIME"
				BasicRuntimeChecks=3D"3"
				RuntimeLibrary=3D"1"
				UsePrecompiledHeader=3D"2"
				=
PrecompiledHeaderFile=3D".\..\..\..\obj\windows\blender\imbuf\debug/BL_im=
buf.pch"
				=
AssemblerListingLocation=3D".\..\..\..\obj\windows\blender\imbuf\debug/"
				ObjectFile=3D".\..\..\..\obj\windows\blender\imbuf\debug/"
				=
ProgramDataBaseFileName=3D".\..\..\..\obj\windows\blender\imbuf\debug/"
				WarningLevel=3D"3"
				SuppressStartupBanner=3D"TRUE"
				DebugInformationFormat=3D"3"
				CompileAs=3D"0"/>
			<Tool
				Name=3D"VCCustomBuildTool"/>
			<Tool
				Name=3D"VCLibrarianTool"
				=
OutputFile=3D".\..\..\..\obj\windows\blender\imbuf\debug\BL_imbuf.lib"
				SuppressStartupBanner=3D"TRUE"/>
			<Tool
				Name=3D"VCMIDLTool"/>
			<Tool
				Name=3D"VCPostBuildEventTool"/>
			<Tool
				Name=3D"VCPreBuildEventTool"/>
			<Tool
				Name=3D"VCPreLinkEventTool"/>
			<Tool
				Name=3D"VCResourceCompilerTool"
				PreprocessorDefinitions=3D"_DEBUG"
				Culture=3D"1033"/>
			<Tool
				Name=3D"VCWebServiceProxyGeneratorTool"/>
		</Configuration>
		<Configuration
			Name=3D"MT DLL Debug|Win32"
			OutputDirectory=3D".\..\..\..\obj\windows\blender\imbuf\mtdll_debug"
			=
IntermediateDirectory=3D".\..\..\..\obj\windows\blender\imbuf\mtdll_debug=
"
			ConfigurationType=3D"4"
			UseOfMFC=3D"0"
			ATLMinimizesCRunTimeLibraryUsage=3D"FALSE"
			CharacterSet=3D"2">
			<Tool
				Name=3D"VCCLCompilerTool"
				Optimization=3D"0"
				=
AdditionalIncludeDirectories=3D"..\..\..\..\lib\windows\guardedalloc\incl=
ude,..\..\..\source\blender\avi,..\..\..\source\blender\imbuf,..\..\..\so=
urce\blender\blenkernel,..\..\..\source\blender\blenlib,..\..\..\source\b=
lender\include,..\..\..\..\lib\windows\jpeg\include,..\..\..\..\lib\windo=
ws\zlib\include,..\..\..\..\lib\windows\png\include,..\..\..\source\blend=
er\makesdna"
				PreprocessorDefinitions=3D"_DEBUG,WIN32,_LIB"
				BasicRuntimeChecks=3D"3"
				RuntimeLibrary=3D"3"
				UsePrecompiledHeader=3D"2"
				=
PrecompiledHeaderFile=3D".\..\..\..\obj\windows\blender\imbuf\mtdll_debug=
/BL_imbuf.pch"
				=
AssemblerListingLocation=3D".\..\..\..\obj\windows\blender\imbuf\mtdll_de=
bug/"
				ObjectFile=3D".\..\..\..\obj\windows\blender\imbuf\mtdll_debug/"
				=
ProgramDataBaseFileName=3D".\..\..\..\obj\windows\blender\imbuf\mtdll_deb=
ug/"
				SuppressStartupBanner=3D"TRUE"
				DebugInformationFormat=3D"4"
				CompileAs=3D"0"/>
			<Tool
				Name=3D"VCCustomBuildTool"/>
			<Tool
				Name=3D"VCLibrarianTool"
				=
OutputFile=3D".\..\..\..\obj\windows\blender\imbuf\mtdll_debug\BL_imbuf.l=
ib"
				SuppressStartupBanner=3D"TRUE"/>
			<Tool
				Name=3D"VCMIDLTool"/>
			<Tool
				Name=3D"VCPostBuildEventTool"/>
			<Tool
				Name=3D"VCPreBuildEventTool"/>
			<Tool
				Name=3D"VCPreLinkEventTool"/>
			<Tool
				Name=3D"VCResourceCompilerTool"
				PreprocessorDefinitions=3D"_DEBUG"
				Culture=3D"1033"/>
			<Tool
				Name=3D"VCWebServiceProxyGeneratorTool"/>
		</Configuration>
		<Configuration
			Name=3D"MT DLL Release|Win32"
			OutputDirectory=3D".\..\..\..\obj\windows\blender\imbuf\mtdll"
			IntermediateDirectory=3D".\..\..\..\obj\windows\blender\imbuf\mtdll"
			ConfigurationType=3D"4"
			UseOfMFC=3D"0"
			ATLMinimizesCRunTimeLibraryUsage=3D"FALSE"
			CharacterSet=3D"2">
			<Tool
				Name=3D"VCCLCompilerTool"
				InlineFunctionExpansion=3D"1"
				=
AdditionalIncludeDirectories=3D"..\..\..\..\lib\windows\guardedalloc\incl=
ude,..\..\..\source\blender\avi,..\..\..\source\blender\imbuf,..\..\..\so=
urce\blender\blenkernel,..\..\..\source\blender\blenlib,..\..\..\source\b=
lender\include,..\..\..\..\lib\windows\jpeg\include,..\..\..\..\lib\windo=
ws\zlib\include,..\..\..\..\lib\windows\png\include,..\..\..\source\blend=
er\makesdna"
				PreprocessorDefinitions=3D"NDEBUG,WIN32,_LIB"
				StringPooling=3D"TRUE"
				RuntimeLibrary=3D"2"
				EnableFunctionLevelLinking=3D"TRUE"
				DefaultCharIsUnsigned=3D"TRUE"
				UsePrecompiledHeader=3D"2"
				=
PrecompiledHeaderFile=3D".\..\..\..\obj\windows\blender\imbuf\mtdll/BL_im=
buf.pch"
				=
AssemblerListingLocation=3D".\..\..\..\obj\windows\blender\imbuf\mtdll/"
				ObjectFile=3D".\..\..\..\obj\windows\blender\imbuf\mtdll/"
				=
ProgramDataBaseFileName=3D".\..\..\..\obj\windows\blender\imbuf\mtdll/"
				SuppressStartupBanner=3D"TRUE"
				CompileAs=3D"0"/>
			<Tool
				Name=3D"VCCustomBuildTool"/>
			<Tool
				Name=3D"VCLibrarianTool"
				=
OutputFile=3D".\..\..\..\obj\windows\blender\imbuf\mtdll\BL_imbuf.lib"
				SuppressStartupBanner=3D"TRUE"/>
			<Tool
				Name=3D"VCMIDLTool"/>
			<Tool
				Name=3D"VCPostBuildEventTool"/>
			<Tool
				Name=3D"VCPreBuildEventTool"/>
			<Tool
				Name=3D"VCPreLinkEventTool"/>
			<Tool
				Name=3D"VCResourceCompilerTool"
				PreprocessorDefinitions=3D"NDEBUG"
				Culture=3D"1033"/>
			<Tool
				Name=3D"VCWebServiceProxyGeneratorTool"/>
		</Configuration>
		<Configuration
			Name=3D"Release|Win32"
			OutputDirectory=3D".\..\..\..\obj\windows\blender\imbuf"
			IntermediateDirectory=3D".\..\..\..\obj\windows\blender\imbuf"
			ConfigurationType=3D"4"
			UseOfMFC=3D"0"
			ATLMinimizesCRunTimeLibraryUsage=3D"FALSE"
			CharacterSet=3D"2">
			<Tool
				Name=3D"VCCLCompilerTool"
				InlineFunctionExpansion=3D"1"
				=
AdditionalIncludeDirectories=3D"..\..\..\..\lib\windows\guardedalloc\incl=
ude;..\..\..\source\blender\avi;..\..\..\source\blender\imbuf;..\..\..\so=
urce\blender\imbuf\intern;..\..\..\source\blender\readstreamglue;..\..\..=
\source\blender\quicktime;..\..\..\source\blender\blenkernel;..\..\..\sou=
rce\blender\blenlib;..\..\..\source\blender\include;..\..\..\..\lib\windo=
ws\jpeg\include;..\..\..\..\lib\windows\zlib\include;..\..\..\..\lib\wind=
ows\png\include;..\..\..\source\blender\makesdna;..\..\..\source\blender\=
render\extern\include;..\..\..\..\lib\windows\QTDevWin\CIncludes"
				PreprocessorDefinitions=3D"NDEBUG,WIN32,_LIB,WITH_QUICKTIME"
				StringPooling=3D"TRUE"
				RuntimeLibrary=3D"0"
				EnableFunctionLevelLinking=3D"TRUE"
				DefaultCharIsUnsigned=3D"TRUE"
				UsePrecompiledHeader=3D"2"
				=
PrecompiledHeaderFile=3D".\..\..\..\obj\windows\blender\imbuf/BL_imbuf.pc=
h"
				AssemblerListingLocation=3D".\..\..\..\obj\windows\blender\imbuf/"
				ObjectFile=3D".\..\..\..\obj\windows\blender\imbuf/"
				ProgramDataBaseFileName=3D".\..\..\..\obj\windows\blender\imbuf/"
				WarningLevel=3D"3"
				SuppressStartupBanner=3D"TRUE"
				CompileAs=3D"0"/>
			<Tool
				Name=3D"VCCustomBuildTool"/>
			<Tool
				Name=3D"VCLibrarianTool"
				OutputFile=3D".\..\..\..\obj\windows\blender\imbuf\BL_imbuf.lib"
				SuppressStartupBanner=3D"TRUE"/>
			<Tool
				Name=3D"VCMIDLTool"/>
			<Tool
				Name=3D"VCPostBuildEventTool"/>
			<Tool
				Name=3D"VCPreBuildEventTool"/>
			<Tool
				Name=3D"VCPreLinkEventTool"/>
			<Tool
				Name=3D"VCResourceCompilerTool"
				PreprocessorDefinitions=3D"NDEBUG"
				Culture=3D"1033"/>
			<Tool
				Name=3D"VCWebServiceProxyGeneratorTool"/>
		</Configuration>
	</Configurations>
	<Files>
		<Filter
			Name=3D"Source Files"
			Filter=3D"cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\allocimbuf.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\amiga.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\anim.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\anim5.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\antialias.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\bitplanes.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\bmp_decode.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\cmap.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\cspace.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\data.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\dither.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\divers.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\filter.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\ham.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\hamx.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\iff.c">
			</File>
			<File
				=
RelativePath=3D"..\..\..\source\blender\imbuf\intern\imageprocess.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\iris.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\jpeg.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\png_decode.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\png_encode.c">
			</File>
			<File
				=
RelativePath=3D"..\..\..\source\blender\quicktime\apple\quicktime_export.=
c">
			</File>
			<File
				=
RelativePath=3D"..\..\..\source\blender\quicktime\apple\quicktime_import.=
c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\readimage.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\rectop.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\rotate.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\scaling.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\targa.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\util.c">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\writeimage.c">
			</File>
		</Filter>
		<Filter
			Name=3D"Header Files"
			Filter=3D"h;hpp;hxx;hm;inl">
			<File
				=
RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_allocimbuf.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_amiga.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_anim.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_anim5.h">
			</File>
			<File
				=
RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_bitplanes.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_bmp.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_cmap.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_divers.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_filter.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_ham.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_hamx.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_iff.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\IMB_imbuf.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\IMB_imbuf_types.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_iris.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_jpeg.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_png.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\IMB_targa.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\imbuf.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\imbuf_patch.h">
			</File>
			<File
				RelativePath=3D"..\..\..\source\blender\imbuf\intern\matrix.h">
			</File>
			<File
				=
RelativePath=3D"..\..\..\source\blender\quicktime\quicktime_export.h">
			</File>
			<File
				=
RelativePath=3D"..\..\..\source\blender\quicktime\quicktime_import.h">
			</File>
		</Filter>
	</Files>
	<Globals>
	</Globals>
</VisualStudioProject>

------=_NextPart_000_0001_01C3B852.E9928AB0--