[Bf-committers] MSVC7 project files - cleaned up and ready.
Nathan Letwory
bf-committers@blender.org
Thu, 04 Dec 2003 13:46:14 +0200
Peter,
thanks for testing. I forgot to mention I did Release mode only. I'll do
the other modes, too, soonishly.
Peter den Bak wrote:
> 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
> different machines. In the attached .tar.gz you can find the directories
> 'intern' and 'projectfiles_vc7', which contain the solutions and
> project-files for MSVC7. Untar the ball in Blender root directory and
> read README.msvc7 for more instructions.
>
> If people test it and confirm it works, it can be committed. Several
> 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
> modification to FTGL (again related to const'ness). Instructions for
> 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
> tested it on several machines under different directory structures, ie.
> where Blender root resides).
>
> /Nathan Letwory
>
> ps. for the ones that want to know: they are converted from VC6 project
> files, so it includes everything those files do, too. And I've enabled
> Ketsji since bug #424 was fixed.
>
>
>
>
> ------------------------------------------------------------------------
>
> <?xml version="1.0" encoding = "Windows-1252"?>
> <VisualStudioProject
> ProjectType="Visual C++"
> Version="7.00"
> Name="BL_imbuf"
> SccProjectName=""
> SccLocalPath="">
> <Platforms>
> <Platform
> Name="Win32"/>
> </Platforms>
> <Configurations>
> <Configuration
> Name="Debug|Win32"
> OutputDirectory=".\..\..\..\obj\windows\blender\imbuf\debug"
> IntermediateDirectory=".\..\..\..\obj\windows\blender\imbuf\debug"
> ConfigurationType="4"
> UseOfMFC="0"
> ATLMinimizesCRunTimeLibraryUsage="FALSE"
> CharacterSet="2">
> <Tool
> Name="VCCLCompilerTool"
> Optimization="0"
> AdditionalIncludeDirectories="..\..\..\..\lib\windows\guardedalloc\include,..\..\..\source\blender\avi,..\..\..\source\blender\imbuf,..\..\..\source\blender\imbuf\intern,..\..\..\source\blender\readstreamglue,..\..\..\source\blender\quicktime,..\..\..\source\blender\blenkernel,..\..\..\source\blender\blenlib,..\..\..\source\blender\include,..\..\..\..\lib\windows\jpeg\include,..\..\..\..\lib\windows\zlib\include,..\..\..\..\lib\windows\png\include,..\..\..\source\blender\makesdna,..\..\..\source\blender\render\extern\include"
> PreprocessorDefinitions="_DEBUG,WIN32,_LIB,WITH_QUICKTIME"
> BasicRuntimeChecks="3"
> RuntimeLibrary="1"
> UsePrecompiledHeader="2"
> PrecompiledHeaderFile=".\..\..\..\obj\windows\blender\imbuf\debug/BL_imbuf.pch"
> AssemblerListingLocation=".\..\..\..\obj\windows\blender\imbuf\debug/"
> ObjectFile=".\..\..\..\obj\windows\blender\imbuf\debug/"
> ProgramDataBaseFileName=".\..\..\..\obj\windows\blender\imbuf\debug/"
> WarningLevel="3"
> SuppressStartupBanner="TRUE"
> DebugInformationFormat="3"
> CompileAs="0"/>
> <Tool
> Name="VCCustomBuildTool"/>
> <Tool
> Name="VCLibrarianTool"
> OutputFile=".\..\..\..\obj\windows\blender\imbuf\debug\BL_imbuf.lib"
> SuppressStartupBanner="TRUE"/>
> <Tool
> Name="VCMIDLTool"/>
> <Tool
> Name="VCPostBuildEventTool"/>
> <Tool
> Name="VCPreBuildEventTool"/>
> <Tool
> Name="VCPreLinkEventTool"/>
> <Tool
> Name="VCResourceCompilerTool"
> PreprocessorDefinitions="_DEBUG"
> Culture="1033"/>
> <Tool
> Name="VCWebServiceProxyGeneratorTool"/>
> </Configuration>
> <Configuration
> Name="MT DLL Debug|Win32"
> OutputDirectory=".\..\..\..\obj\windows\blender\imbuf\mtdll_debug"
> IntermediateDirectory=".\..\..\..\obj\windows\blender\imbuf\mtdll_debug"
> ConfigurationType="4"
> UseOfMFC="0"
> ATLMinimizesCRunTimeLibraryUsage="FALSE"
> CharacterSet="2">
> <Tool
> Name="VCCLCompilerTool"
> Optimization="0"
> AdditionalIncludeDirectories="..\..\..\..\lib\windows\guardedalloc\include,..\..\..\source\blender\avi,..\..\..\source\blender\imbuf,..\..\..\source\blender\blenkernel,..\..\..\source\blender\blenlib,..\..\..\source\blender\include,..\..\..\..\lib\windows\jpeg\include,..\..\..\..\lib\windows\zlib\include,..\..\..\..\lib\windows\png\include,..\..\..\source\blender\makesdna"
> PreprocessorDefinitions="_DEBUG,WIN32,_LIB"
> BasicRuntimeChecks="3"
> RuntimeLibrary="3"
> UsePrecompiledHeader="2"
> PrecompiledHeaderFile=".\..\..\..\obj\windows\blender\imbuf\mtdll_debug/BL_imbuf.pch"
> AssemblerListingLocation=".\..\..\..\obj\windows\blender\imbuf\mtdll_debug/"
> ObjectFile=".\..\..\..\obj\windows\blender\imbuf\mtdll_debug/"
> ProgramDataBaseFileName=".\..\..\..\obj\windows\blender\imbuf\mtdll_debug/"
> SuppressStartupBanner="TRUE"
> DebugInformationFormat="4"
> CompileAs="0"/>
> <Tool
> Name="VCCustomBuildTool"/>
> <Tool
> Name="VCLibrarianTool"
> OutputFile=".\..\..\..\obj\windows\blender\imbuf\mtdll_debug\BL_imbuf.lib"
> SuppressStartupBanner="TRUE"/>
> <Tool
> Name="VCMIDLTool"/>
> <Tool
> Name="VCPostBuildEventTool"/>
> <Tool
> Name="VCPreBuildEventTool"/>
> <Tool
> Name="VCPreLinkEventTool"/>
> <Tool
> Name="VCResourceCompilerTool"
> PreprocessorDefinitions="_DEBUG"
> Culture="1033"/>
> <Tool
> Name="VCWebServiceProxyGeneratorTool"/>
> </Configuration>
> <Configuration
> Name="MT DLL Release|Win32"
> OutputDirectory=".\..\..\..\obj\windows\blender\imbuf\mtdll"
> IntermediateDirectory=".\..\..\..\obj\windows\blender\imbuf\mtdll"
> ConfigurationType="4"
> UseOfMFC="0"
> ATLMinimizesCRunTimeLibraryUsage="FALSE"
> CharacterSet="2">
> <Tool
> Name="VCCLCompilerTool"
> InlineFunctionExpansion="1"
> AdditionalIncludeDirectories="..\..\..\..\lib\windows\guardedalloc\include,..\..\..\source\blender\avi,..\..\..\source\blender\imbuf,..\..\..\source\blender\blenkernel,..\..\..\source\blender\blenlib,..\..\..\source\blender\include,..\..\..\..\lib\windows\jpeg\include,..\..\..\..\lib\windows\zlib\include,..\..\..\..\lib\windows\png\include,..\..\..\source\blender\makesdna"
> PreprocessorDefinitions="NDEBUG,WIN32,_LIB"
> StringPooling="TRUE"
> RuntimeLibrary="2"
> EnableFunctionLevelLinking="TRUE"
> DefaultCharIsUnsigned="TRUE"
> UsePrecompiledHeader="2"
> PrecompiledHeaderFile=".\..\..\..\obj\windows\blender\imbuf\mtdll/BL_imbuf.pch"
> AssemblerListingLocation=".\..\..\..\obj\windows\blender\imbuf\mtdll/"
> ObjectFile=".\..\..\..\obj\windows\blender\imbuf\mtdll/"
> ProgramDataBaseFileName=".\..\..\..\obj\windows\blender\imbuf\mtdll/"
> SuppressStartupBanner="TRUE"
> CompileAs="0"/>
> <Tool
> Name="VCCustomBuildTool"/>
> <Tool
> Name="VCLibrarianTool"
> OutputFile=".\..\..\..\obj\windows\blender\imbuf\mtdll\BL_imbuf.lib"
> SuppressStartupBanner="TRUE"/>
> <Tool
> Name="VCMIDLTool"/>
> <Tool
> Name="VCPostBuildEventTool"/>
> <Tool
> Name="VCPreBuildEventTool"/>
> <Tool
> Name="VCPreLinkEventTool"/>
> <Tool
> Name="VCResourceCompilerTool"
> PreprocessorDefinitions="NDEBUG"
> Culture="1033"/>
> <Tool
> Name="VCWebServiceProxyGeneratorTool"/>
> </Configuration>
> <Configuration
> Name="Release|Win32"
> OutputDirectory=".\..\..\..\obj\windows\blender\imbuf"
> IntermediateDirectory=".\..\..\..\obj\windows\blender\imbuf"
> ConfigurationType="4"
> UseOfMFC="0"
> ATLMinimizesCRunTimeLibraryUsage="FALSE"
> CharacterSet="2">
> <Tool
> Name="VCCLCompilerTool"
> InlineFunctionExpansion="1"
> AdditionalIncludeDirectories="..\..\..\..\lib\windows\guardedalloc\include;..\..\..\source\blender\avi;..\..\..\source\blender\imbuf;..\..\..\source\blender\imbuf\intern;..\..\..\source\blender\readstreamglue;..\..\..\source\blender\quicktime;..\..\..\source\blender\blenkernel;..\..\..\source\blender\blenlib;..\..\..\source\blender\include;..\..\..\..\lib\windows\jpeg\include;..\..\..\..\lib\windows\zlib\include;..\..\..\..\lib\windows\png\include;..\..\..\source\blender\makesdna;..\..\..\source\blender\render\extern\include;..\..\..\..\lib\windows\QTDevWin\CIncludes"
> PreprocessorDefinitions="NDEBUG,WIN32,_LIB,WITH_QUICKTIME"
> StringPooling="TRUE"
> RuntimeLibrary="0"
> EnableFunctionLevelLinking="TRUE"
> DefaultCharIsUnsigned="TRUE"
> UsePrecompiledHeader="2"
> PrecompiledHeaderFile=".\..\..\..\obj\windows\blender\imbuf/BL_imbuf.pch"
> AssemblerListingLocation=".\..\..\..\obj\windows\blender\imbuf/"
> ObjectFile=".\..\..\..\obj\windows\blender\imbuf/"
> ProgramDataBaseFileName=".\..\..\..\obj\windows\blender\imbuf/"
> WarningLevel="3"
> SuppressStartupBanner="TRUE"
> CompileAs="0"/>
> <Tool
> Name="VCCustomBuildTool"/>
> <Tool
> Name="VCLibrarianTool"
> OutputFile=".\..\..\..\obj\windows\blender\imbuf\BL_imbuf.lib"
> SuppressStartupBanner="TRUE"/>
> <Tool
> Name="VCMIDLTool"/>
> <Tool
> Name="VCPostBuildEventTool"/>
> <Tool
> Name="VCPreBuildEventTool"/>
> <Tool
> Name="VCPreLinkEventTool"/>
> <Tool
> Name="VCResourceCompilerTool"
> PreprocessorDefinitions="NDEBUG"
> Culture="1033"/>
> <Tool
> Name="VCWebServiceProxyGeneratorTool"/>
> </Configuration>
> </Configurations>
> <Files>
> <Filter
> Name="Source Files"
> Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\allocimbuf.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\amiga.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\anim.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\anim5.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\antialias.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\bitplanes.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\bmp_decode.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\cmap.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\cspace.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\data.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\dither.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\divers.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\filter.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\ham.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\hamx.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\iff.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\imageprocess.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\iris.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\jpeg.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\png_decode.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\png_encode.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\quicktime\apple\quicktime_export.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\quicktime\apple\quicktime_import.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\readimage.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\rectop.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\rotate.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\scaling.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\targa.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\util.c">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\writeimage.c">
> </File>
> </Filter>
> <Filter
> Name="Header Files"
> Filter="h;hpp;hxx;hm;inl">
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_allocimbuf.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_amiga.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_anim.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_anim5.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_bitplanes.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_bmp.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_cmap.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_divers.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_filter.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_ham.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_hamx.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_iff.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\IMB_imbuf.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\IMB_imbuf_types.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_iris.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_jpeg.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_png.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\IMB_targa.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\imbuf.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\imbuf_patch.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\imbuf\intern\matrix.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\quicktime\quicktime_export.h">
> </File>
> <File
> RelativePath="..\..\..\source\blender\quicktime\quicktime_import.h">
> </File>
> </Filter>
> </Files>
> <Globals>
> </Globals>
> </VisualStudioProject>
--
---------------------------------------
Nathan Letwory
Software Developer
Axel Technologies Oy
Tykistökatu 4 D
20520 Turku
Tel +358 2 5128800, fax +358 2 5128811
suora: +358 2 5128850