windows build fixes

metadata
Wenzel Jakob 2010-09-03 13:20:46 +02:00
parent f80535f543
commit c26e577b65
2 changed files with 7 additions and 1 deletions

View File

@ -360,6 +360,12 @@ env['SHLIBPREFIX']=''
# Environment with Xerces + wxWidgets
mainEnv = env.Clone()
if mainEnv.has_key('XERCESINCLUDE'):
mainEnv.Append(CPPPATH=mainEnv['XERCESINCLUDE'])
if mainEnv.has_key('XERCESLIBDIR'):
mainEnv.Append(LIBPATH=mainEnv['XERCESLIBDIR'])
if mainEnv.has_key('XERCESLIB'):
mainEnv.Append(LIBS=mainEnv['XERCESLIB'])
if mainEnv.has_key('GLLIB'):
mainEnv.Append(LIBS=mainEnv['GLLIB'])
if mainEnv.has_key('GLLIBDIR'):

View File

@ -34,7 +34,7 @@ MTS_NAMESPACE_BEGIN
/**
* XML parser for mitsuba scene files. Uses Xerces-C and SAX
*/
class SceneHandler : public HandlerBase {
class MTS_EXPORT_RENDER SceneHandler : public HandlerBase {
public:
SceneHandler();
SceneHandler(const std::map<std::string, std::string> &params,