I was executing a WriteField using the .mat file filter to generate a MATLAB file. I was trying to write a dipole source.
The path environment points to the release and 3rd party libs.
The log is as follows.
REMARK: Dynamically compiling some code.
DynamicLoader - Successfully created G:/SCIRun/bin/on-the-fly-libs/FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr.cc
DynamicLoader - Executing: G:\\SCIRun\\bin\\on-the-fly-libs\\win32make.bat FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr. release
REMARK: DynamicLoader::compile_so() syscal error 2: command was 'G:\\SCIRun\\bin\\on-the-fly-libs\\win32make.bat FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr. release'.
FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr.cc
G:/SCIRun\\src\\Core\\Datatypes\\TetVolMesh.h(720) : warning C4996: 'std::hash_map<SCIRun::TetVolMesh<_Kty>::PFace,SCIRun::TetVolMesh<_Kty>::Face::index_type,SCIRun::TetVolMesh<_Kty>::FaceHash>' was declared deprecated
G:/SCIRun\\src\\Core\\Datatypes\\TetVolMesh.h(841) : see reference to class template instantiation 'SCIRun::TetVolMesh<Basis>' being
compiled
G:/SCIRun\\src\\Core\\Datatypes\\TetVolMesh.h(721) : warning C4996: 'std::hash_map<SCIRun::TetVolMesh<_Kty>::PEdge,SCIRun::TetVolMesh<_Kty>::Edge::index_type,SCIRun::TetVolMesh<_Kty>::EdgeHash>' was declared deprecated
G:/SCIRun\\src\\Core\\Datatypes\\PrismVolMesh.h(248) : warning C4996: 'std::hash_multiset<SCIRun::PrismVolMesh<_Kty>::Edge::index_type,SCIRun::PrismVolMesh<_Kty>::Edge::CellEdgeHasher>' was declared deprecated
G:/SCIRun\\src\\Core\\Datatypes\\PrismVolMesh.h(127) : see reference to class template instantiation 'SCIRun::PrismVolMesh<Basis>::Edge' being compiled
G:/SCIRun\\src\\Core\\Datatypes\\PrismVolMesh.h(1059) : see reference to class template instantiation 'SCIRun::PrismVolMesh<Basis>' being compiled
G:/SCIRun\\src\\Core\\Datatypes\\PrismVolMesh.h(249) : warning C4996:
'std::hash_set<SCIRun::PrismVolMesh<_Kty>::Edge::index_type,SCIRun::PrismVolMesh<_Kty>::Edge::CellEdgeHasher>' was declared deprecated
G:/SCIRun\\src\\Core\\Datatypes\\PrismVolMesh.h(471) : warning C4996: 'std::hash_multiset<SCIRun::PrismVolMesh<_Kty>::Face::index_type,SCIRun::PrismVolMesh<_Kty>::Face::CellFaceHasher>' was declared deprecated
G:/SCIRun\\src\\Core\\Datatypes\\PrismVolMesh.h(274) : see reference to class template instantiation 'SCIRun::PrismVolMesh<Basis>::Face' being compiled
G:/SCIRun\\src\\Core\\Datatypes\\PrismVolMesh.h(472) : warning C4996: 'std::hash_set<SCIRun::PrismVolMesh<_Kty>::Face::index_type,SCIRun::PrismVolMesh<_Kty>::Face::CellFaceHasher>' was declared deprecated
G:/SCIRun\\src\\Core\\Datatypes\\HexVolMesh.h(811) : warning C4996:
'std::hash_map<SCIRun::HexVolMesh<_Kty>::PFace,SCIRun::HexVolMesh<_Kty>::Face::index_type,SCIRun::HexVolMesh<_Kty>::FaceHash>' was declared deprecated
G:/SCIRun\\src\\Core\\Datatypes\\HexVolMesh.h(869) : see reference to class template instantiation 'SCIRun::HexVolMesh<Basis>' being compiled
G:/SCIRun\\src\\Core\\Datatypes\\HexVolMesh.h(812) : warning C4996: 'std::hash_map<SCIRun::HexVolMesh<_Kty>::PEdge,SCIRun::HexVolMesh<_Kty>::Edge::index_type,SCIRun::HexVolMesh<_Kty>::EdgeHash>' was declared deprecated
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
/out:FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr.exe
/out:FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr.dll
-dll
G:/SCIRun/bin/lib/Release/Core_Algorithms_ArrayMath.lib
G:/SCIRun/bin/lib/Release/Core_Algorithms_Converter.lib
G:/SCIRun/bin/lib/Release/Core_Algorithms_DataIO.lib
G:/SCIRun/bin/lib/Release/Core_Algorithms_DataStreaming.lib
G:/SCIRun/bin/lib/Release/Core_Algorithms_Fields.lib
G:/SCIRun/bin/lib/Release/Core_Algorithms_Geometry.lib
G:/SCIRun/bin/lib/Release/Core_Algorithms_Math.lib
G:/SCIRun/bin/lib/Release/Core_Algorithms_Regression.lib
G:/SCIRun/bin/lib/Release/Core_Algorithms_Util.lib
G:/SCIRun/bin/lib/Release/Core_Algorithms_Visualization.lib
G:/SCIRun/bin/lib/Release/Core_Basis.lib
G:/SCIRun/bin/lib/Release/Core_Bundle.lib
G:/SCIRun/bin/lib/Release/Core_Comm.lib
G:/SCIRun/bin/lib/Release/Core_Containers.lib
G:/SCIRun/bin/lib/Release/Core_Datatypes.lib
G:/SCIRun/bin/lib/Release/Core_Events.lib
G:/SCIRun/bin/lib/Release/Core_Exceptions.lib
G:/SCIRun/bin/lib/Release/Core_Geom.lib
G:/SCIRun/bin/lib/Release/Core_Geometry.lib
G:/SCIRun/bin/lib/Release/Core_GeomInterface.lib
G:/SCIRun/bin/lib/Release/Core_ICom.lib
G:/SCIRun/bin/lib/Release/Core_ImportExport.lib
G:/SCIRun/bin/lib/Release/Core_Init.lib
G:/SCIRun/bin/lib/Release/Core_Malloc.lib
G:/SCIRun/bin/lib/Release/Core_Math.lib
G:/SCIRun/bin/lib/Release/Core_Matlab.lib
G:/SCIRun/bin/lib/Release/Core_OS.lib
G:/SCIRun/bin/lib/Release/Core_Persistent.lib
G:/SCIRun/bin/lib/Release/Core_Services.lib
G:/SCIRun/bin/lib/Release/Core_Skinner.lib
G:/SCIRun/bin/lib/Release/Core_SystemCall.lib
G:/SCIRun/bin/lib/Release/Core_Thread.lib
G:/SCIRun/bin/lib/Release/Core_Util.lib
G:/SCIRun/bin/lib/Release/Core_Volume.lib
G:/SCIRun/bin/lib/Release/Core_XMLUtil.lib
G:/SCIRun/bin/lib/Release/Dataflow_Comm.lib
G:/SCIRun/bin/lib/Release/Dataflow_Constraints.lib
G:/SCIRun/bin/lib/Release/Dataflow_GuiInterface.lib
G:/SCIRun/bin/lib/Release/Dataflow_Modules_Bundle.lib
G:/SCIRun/bin/lib/Release/Dataflow_Modules_Converters.lib
G:/SCIRun/bin/lib/Release/Dataflow_Modules_DataArrayMath.lib
G:/SCIRun/bin/lib/Release/Dataflow_Modules_DataIO.lib
G:/SCIRun/bin/lib/Release/Dataflow_Modules_Examples.lib
G:/SCIRun/bin/lib/Release/Dataflow_Modules_Fields.lib
G:/SCIRun/bin/lib/Release/Dataflow_Modules_Math.lib
G:/SCIRun/bin/lib/Release/Dataflow_Modules_Render.lib
G:/SCIRun/bin/lib/Release/Dataflow_Modules_String.lib
G:/SCIRun/bin/lib/Release/Dataflow_Modules_Time.lib
G:/SCIRun/bin/lib/Release/Dataflow_Modules_Visualization.lib
G:/SCIRun/bin/lib/Release/Dataflow_Network.lib
G:/SCIRun/bin/lib/Release/Dataflow_TCLThread.lib
G:/SCIRun/bin/lib/Release/Dataflow_TkExtensions.lib
G:/SCIRun/bin/lib/Release/Dataflow_Widgets.lib
G:/SCIRun/bin/lib/Release/Packages_BioPSE_Core_Algorithms_Forward.lib
G:/SCIRun/bin/lib/Release/Packages_BioPSE_Core_Algorithms_NumApproximation.lib
G:/SCIRun/bin/lib/Release/Packages_BioPSE_Core_Datatypes.lib
G:/SCIRun/bin/lib/Release/Packages_BioPSE_Dataflow_Modules_DataIO.lib
G:/SCIRun/bin/lib/Release/Packages_BioPSE_Dataflow_Modules_Forward.lib
G:/SCIRun/bin/lib/Release/Packages_BioPSE_Dataflow_Modules_Inverse.lib
G:/SCIRun/bin/lib/Release/Packages_BioPSE_Dataflow_Modules_LeadField.lib
G:/SCIRun/bin/lib/Release/Packages_BioPSE_Dataflow_Modules_Modeling.lib
G:/SCIRun/bin/lib/Release/Packages_BioPSE_Dataflow_Modules_NeuroFEM.lib
G:/SCIRun/bin/lib/Release/Packages_BioPSE_Dataflow_Modules_Visualization.lib
G:/SCIRun/bin/lib/Release/Packages_MatlabInterface_Dataflow_Modules_DataIO.lib
G:/SCIRun/bin/lib/Release/Packages_MatlabInterface_Dataflow_Modules_Interface.lib
G:/SCIRun/bin/lib/Release/Packages_MatlabInterface_Services.lib
G:/SCIRun/bin/lib/Release/Packages_Teem_Dataflow_Modules_Converters.lib
G:/SCIRun/bin/lib/Release/Packages_Teem_Dataflow_Modules_DataIO.lib
G:/SCIRun/bin/lib/Release/Packages_Teem_Dataflow_Modules_Misc.lib
G:/SCIRun/bin/lib/Release/Packages_Teem_Dataflow_Modules_Tend.lib
G:/SCIRun/bin/lib/Release/Packages_Teem_Dataflow_Modules_Unu.lib
G:/SCIRun/thirdparty/lib/blt.lib
G:/SCIRun/thirdparty/lib/freetype.lib
G:/SCIRun/thirdparty/lib/itcl.lib
G:/SCIRun/thirdparty/lib/itclstubs32.lib
G:/SCIRun/thirdparty/lib/itk.lib
G:/SCIRun/thirdparty/lib/png.lib
G:/SCIRun/thirdparty/lib/tcl.lib
G:/SCIRun/thirdparty/lib/tclstub84.lib
G:/SCIRun/thirdparty/lib/teem.lib
G:/SCIRun/thirdparty/lib/tk.lib
G:/SCIRun/thirdparty/lib/tkstub84.lib
G:/SCIRun/thirdparty/lib/xml2.lib
G:/SCIRun/thirdparty/lib/z.lib
FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr.obj
Creating library FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr.lib and object FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr.exp
FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr.obj : error LNK2019: unresolved external symbol "public: static int (* SCIRun::ConstantBasisUnitElement::unit_edges)[1]" (
?unit_edges@ConstantBasisUnitElement@SCIRun@@2PAY00HA) referenced in function "protected: bool __thiscall MatlabIO::FieldToMatlabAlgo::ishermitian<class SCIRun::ConstantBasis<class SCIRun::Vector> >(class SCIRun::ConstantBasis<class SCIRun::Vector> &)" (
??$ishermitian@V?$ConstantBasis@VVector@SCIRun@@@SCIRun@@@FieldToMatlabAlgo@MatlabIO@@IAE_NAAV?$ConstantBasis@VVector@SCIRun@@@SCIRun@@@Z)
FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr.dll : fatal error LNK1120: 1 unresolved externals
ERROR: DYNAMIC COMPILATION ERROR: G:/SCIRun/bin/on-the-fly-libs/FldTMtlbAlgT.GFldPtCldMhCnstPtCnstVctrvctrVctr.dll does not compile!!The operation completed successfully.