Been fighting with this for a couple days now and hoping someone on here may be able to help...
I'm able to build the standalone coral without any issues, but when I try to build the Maya plugin I get an error at the linking stage.
The command it runs and the error it produces is below:
link /MANIFEST:NO /INCREMENTAL:NO /export:initializePlugin /export:uninitializePlugin OpenGL32.lib glu32.lib /dll /out:coralMaya\plugin\coralMayaPlugin.mll /implib:coralMaya\plugin\coralMayaPlugin.lib /LIBPATH:coral /LIBPATH:coralUi /LIBPATH:coralMaya "/LIBPATH:C:\Program Files\Autodesk\Maya2015\lib" "/LIBPATH:C:\Program Files\Autodesk\Maya2015\lib" /LIBPATH:C:\coral-repo\libraries\vs10_x64\boost\
lib /LIBPATH:C:\coral-repo\libraries\vs10_x64\glew\lib coral\_coral.lib coralUi\_coralUi.lib coralMaya\_coralMaya.lib Python27.lib glew32.lib boost_python-vc100-mt-1_46_1.lib Foundation.lib OpenMaya.lib OpenMayaAnim.lib OpenMayaUI.lib coralMaya\plugin\debugCoralMaya\CoralDrawNode.obj coralMaya\plugin\debugCoralMaya\CoralMayaCmd.obj coralMaya\plugin\debugCoralMaya\CoralNetworkNode.obj coralMaya\plu
gin\debugCoralMaya\pluginMain.obj
Microsoft (R) Incremental Linker Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.
Creating library coralMaya\plugin\coralMayaPlugin.lib and object coralMaya\plugin\coralMayaPlugin.exp
CoralNetworkNode.obj : error LNK2001: unresolved external symbol "bool coral::pythonWrapperUtils::pyGILEnsured" (?pyGILEnsured@pythonWrapperUtils@coral@@3_NA)
coralMaya\plugin\coralMayaPlugin.mll : fatal error LNK1120: 1 unresolved externals
scons: *** [coralMaya\plugin\coralMayaPlugin.mll] Error 1120
scons: building terminated because of errors.
Also here is the hopefully relevant part of my buildenv:
# maya config
if os.environ.has_key("CORAL_BUILD_FLAVOUR"):
if os.environ["CORAL_BUILD_FLAVOUR"] == "coralMaya":
os.environ["CORAL_MAYA_INCLUDES_PATH"] = "C:/Program Files/Autodesk/Maya2015/include"
os.environ["CORAL_MAYA_LIBS_PATH"] = "C:/Program Files/Autodesk/Maya2015/lib"
os.environ["CORAL_PYTHON_LIB"] = "Python27"
os.environ["CORAL_PYTHON_INCLUDES_PATH"] = "C:/Program Files/Autodesk/Maya2015/include/python2.7"
os.environ["CORAL_PYTHON_LIBS_PATH"] = "C:/Program Files/Autodesk/Maya2015/lib"
os.environ["CORAL_PARALLEL"] = ""
Any help would be greatly appreciated, thanks!