[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29422] trunk/lib/windows: Build msvc 10 openexr and freetype libs.
Joseph Eagar
joeedh at gmail.com
Sat Jun 12 03:04:32 CEST 2010
Revision: 29422
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29422
Author: joeedh
Date: 2010-06-12 03:04:30 +0200 (Sat, 12 Jun 2010)
Log Message:
-----------
Build msvc 10 openexr and freetype libs. note, I still need to update scons.
Added Paths:
-----------
trunk/lib/windows/freetype/lib_vs2010/
trunk/lib/windows/freetype/lib_vs2010/freetype2ST.lib
trunk/lib/windows/openexr/include_vs2010/
trunk/lib/windows/openexr/include_vs2010/Iex/
trunk/lib/windows/openexr/include_vs2010/Iex/Iex.h
trunk/lib/windows/openexr/include_vs2010/Iex/IexBaseExc.h
trunk/lib/windows/openexr/include_vs2010/Iex/IexErrnoExc.h
trunk/lib/windows/openexr/include_vs2010/Iex/IexMacros.h
trunk/lib/windows/openexr/include_vs2010/Iex/IexMathExc.h
trunk/lib/windows/openexr/include_vs2010/Iex/IexThrowErrnoExc.h
trunk/lib/windows/openexr/include_vs2010/Iex/IlmBaseConfig.h
trunk/lib/windows/openexr/include_vs2010/Iex/IlmThread.h
trunk/lib/windows/openexr/include_vs2010/Iex/IlmThreadMutex.h
trunk/lib/windows/openexr/include_vs2010/Iex/IlmThreadPool.h
trunk/lib/windows/openexr/include_vs2010/Iex/IlmThreadSemaphore.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfArray.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfAutoArray.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfB44Compressor.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfBoxAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfCRgbaFile.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfChannelList.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfChannelListAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfChromaticities.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfChromaticitiesAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfCompression.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfCompressionAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfCompressor.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfConvert.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfDoubleAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfEnvmap.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfEnvmapAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfFloatAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfFrameBuffer.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfFramesPerSecond.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfHeader.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfHuf.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfIO.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfInputFile.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfInt64.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfIntAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfKeyCode.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfKeyCodeAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfLineOrder.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfLineOrderAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfLut.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfMatrixAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfMisc.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfName.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfOpaqueAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfOutputFile.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfPixelType.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfPizCompressor.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfPreviewImage.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfPreviewImageAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfPxr24Compressor.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfRational.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfRationalAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfRgba.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfRgbaFile.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfRgbaYca.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfRleCompressor.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfScanLineInputFile.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfStandardAttributes.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfStdIO.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfStringAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfTestFile.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfThreading.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfTileDescription.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfTileDescriptionAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfTileOffsets.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfTiledInputFile.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfTiledMisc.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfTiledOutputFile.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfTiledRgbaFile.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfTimeCode.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfTimeCodeAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfVecAttribute.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfVersion.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfWav.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfXdr.h
trunk/lib/windows/openexr/include_vs2010/IlmImf/ImfZipCompressor.h
trunk/lib/windows/openexr/include_vs2010/Imath/
trunk/lib/windows/openexr/include_vs2010/Imath/ImathBox.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathBoxAlgo.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathColor.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathColorAlgo.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathEuler.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathExc.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathFrame.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathFrustum.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathFun.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathGL.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathGLU.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathHalfLimits.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathInt64.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathInterval.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathLimits.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathLine.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathLineAlgo.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathMath.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathMatrix.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathMatrixAlgo.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathPlane.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathPlatform.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathQuat.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathRandom.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathRoots.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathShear.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathSphere.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathVec.h
trunk/lib/windows/openexr/include_vs2010/Imath/ImathVecAlgo.h
trunk/lib/windows/openexr/include_vs2010/b44ExpLogTable.h
trunk/lib/windows/openexr/include_vs2010/half.h
trunk/lib/windows/openexr/include_vs2010/halfFunction.h
trunk/lib/windows/openexr/include_vs2010/halfLimits.h
trunk/lib/windows/openexr/include_vs2010/zconf.h
trunk/lib/windows/openexr/include_vs2010/zlib.h
trunk/lib/windows/openexr/lib_vs2010/
trunk/lib/windows/openexr/lib_vs2010/Half.lib
trunk/lib/windows/openexr/lib_vs2010/Half_d.lib
trunk/lib/windows/openexr/lib_vs2010/Iex.lib
trunk/lib/windows/openexr/lib_vs2010/Iex_d.lib
trunk/lib/windows/openexr/lib_vs2010/IlmImf.lib
trunk/lib/windows/openexr/lib_vs2010/IlmImf_d.lib
trunk/lib/windows/openexr/lib_vs2010/IlmThread.lib
trunk/lib/windows/openexr/lib_vs2010/IlmThread_d.lib
trunk/lib/windows/openexr/lib_vs2010/Imath.lib
trunk/lib/windows/openexr/lib_vs2010/Imath_d.lib
trunk/lib/windows/openexr/lib_vs2010/zlib.lib
Added: trunk/lib/windows/freetype/lib_vs2010/freetype2ST.lib
===================================================================
(Binary files differ)
Property changes on: trunk/lib/windows/freetype/lib_vs2010/freetype2ST.lib
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/lib/windows/openexr/include_vs2010/Iex/Iex.h
===================================================================
--- trunk/lib/windows/openexr/include_vs2010/Iex/Iex.h (rev 0)
+++ trunk/lib/windows/openexr/include_vs2010/Iex/Iex.h 2010-06-12 01:04:30 UTC (rev 29422)
@@ -0,0 +1,60 @@
+///////////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2002, Industrial Light & Magic, a division of Lucas
+// Digital Ltd. LLC
+//
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Industrial Light & Magic nor the names of
+// its contributors may be used to endorse or promote products derived
+// from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+///////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef INCLUDED_IEX_H
+#define INCLUDED_IEX_H
+
+
+//--------------------------------
+//
+// Exception handling
+//
+//--------------------------------
+
+
+#include "IexMacros.h"
+#include "IexBaseExc.h"
+#include "IexMathExc.h"
+#include "IexThrowErrnoExc.h"
+
+// Note that we do not include file IexErrnoExc.h here. That file
+// defines over 150 classes and significantly slows down compilation.
+// If you throw ErrnoExc exceptions using the throwErrnoExc() function,
+// you don't need IexErrnoExc.h. You have to include IexErrnoExc.h
+// only if you want to catch specific subclasses of ErrnoExc.
+
+
+#endif
Added: trunk/lib/windows/openexr/include_vs2010/Iex/IexBaseExc.h
===================================================================
--- trunk/lib/windows/openexr/include_vs2010/Iex/IexBaseExc.h (rev 0)
+++ trunk/lib/windows/openexr/include_vs2010/Iex/IexBaseExc.h 2010-06-12 01:04:30 UTC (rev 29422)
@@ -0,0 +1,266 @@
+///////////////////////////////////////////////////////////////////////////
+//
+// Copyright (c) 2002, Industrial Light & Magic, a division of Lucas
+// Digital Ltd. LLC
+//
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Industrial Light & Magic nor the names of
+// its contributors may be used to endorse or promote products derived
+// from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+///////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef INCLUDED_IEXBASEEXC_H
+#define INCLUDED_IEXBASEEXC_H
+
+
+//----------------------------------------------------------
+//
+// A general exception base class, and a few
+// useful exceptions derived from the base class.
+//
+//----------------------------------------------------------
+
+#include <string>
+#include <exception>
+#include <sstream>
+
+namespace Iex {
+
+#if (defined _WIN32 || defined _WIN64) && defined _MSC_VER
+// Tell MS VC++ to suppress exception specification warnings
+#pragma warning(disable:4290)
+#endif
+
+//-------------------------------
+// Our most basic exception class
+//-------------------------------
+
+class BaseExc: public std::string, public std::exception
+{
+ public:
+
+ //----------------------------
+ // Constructors and destructor
+ //----------------------------
+
+ BaseExc (const char *s = 0) throw(); // std::string (s)
+ BaseExc (const std::string &s) throw(); // std::string (s)
+ BaseExc (std::stringstream &s) throw(); // std::string (s.str())
+
+ BaseExc (const BaseExc &be) throw();
+ virtual ~BaseExc () throw ();
+
+ //--------------------------------------------
+ // what() method -- e.what() returns e.c_str()
+ //--------------------------------------------
+
+ virtual const char * what () const throw ();
+
+
+ //--------------------------------------------------
+ // Convenient methods to change the exception's text
+ //--------------------------------------------------
+
+ BaseExc & assign (std::stringstream &s); // assign (s.str())
+ BaseExc & operator = (std::stringstream &s);
+
+ BaseExc & append (std::stringstream &s); // append (s.str())
+ BaseExc & operator += (std::stringstream &s);
+
+
+ //--------------------------------------------------
+ // These methods from the base class get obscured by
+ // the definitions above.
+ //--------------------------------------------------
+
+ BaseExc & assign (const char *s);
+ BaseExc & operator = (const char *s);
+
+ BaseExc & append (const char *s);
+ BaseExc & operator += (const char *s);
+
+
+ //--------------------------------------------------
+ // Stack trace for the point at which the exception
+ // was thrown. The stack trace will be an empty
+ // string unless a working stack-tracing routine
+ // has been installed (see below, setStackTracer()).
+ //--------------------------------------------------
+
+ const std::string & stackTrace () const;
+
+ private:
+
+ std::string _stackTrace;
+};
+
+
+//-----------------------------------------------------
+// A macro to save typing when declararing an exception
+// class derived directly or indirectly from BaseExc:
+//-----------------------------------------------------
+
+#define DEFINE_EXC(name, base) \
+ class name: public base \
+ { \
+ public: \
+ name (const char* text=0) throw(): base (text) {} \
+ name (const std::string &text) throw(): base (text) {} \
+ name (std::stringstream &text) throw(): base (text) {} \
+ };
+
+
+//--------------------------------------------------------
+// Some exceptions which should be useful in most programs
+//--------------------------------------------------------
+
+DEFINE_EXC (ArgExc, BaseExc) // Invalid arguments to a function call
+
+DEFINE_EXC (LogicExc, BaseExc) // General error in a program's logic,
+ // for example, a function was called
+ // in a context where the call does
+ // not make sense.
+
+DEFINE_EXC (InputExc, BaseExc) // Invalid input data, e.g. from a file
+
+DEFINE_EXC (IoExc, BaseExc) // Input or output operation failed
+
+DEFINE_EXC (MathExc, BaseExc) // Arithmetic exception; more specific
+ // exceptions derived from this class
+ // are defined in ExcMath.h
+
+DEFINE_EXC (ErrnoExc, BaseExc) // Base class for exceptions corresponding
+ // to errno values (see errno.h); more
+ // specific exceptions derived from this
+ // class are defined in ExcErrno.h
+
+DEFINE_EXC (NoImplExc, BaseExc) // Missing method exception e.g. from a
+ // call to a method that is only partially
+ // or not at all implemented. A reminder
+ // to lazy software people to get back
+ // to work.
+
+DEFINE_EXC (NullExc, BaseExc) // A pointer is inappropriately null.
+
+DEFINE_EXC (TypeExc, BaseExc) // An object is an inappropriate type,
+ // i.e. a dynamnic_cast failed.
+
+
+//----------------------------------------------------------------------
+// Stack-tracing support:
+//
+// setStackTracer(st)
+//
+// installs a stack-tracing routine, st, which will be called from
+// class BaseExc's constructor every time an exception derived from
+// BaseExc is thrown. The stack-tracing routine should return a
+// string that contains a printable representation of the program's
+// current call stack. This string will be stored in the BaseExc
+// object; the string is accesible via the BaseExc::stackTrace()
+// method.
+//
+// setStackTracer(0)
+//
+// removes the current stack tracing routine. When an exception
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list