Hello,

I'm trying to build SMESH as a dependency to pythonocc. I managed to
set-up the environment (MSVC10, VisualFortran, CMake 2.8.4).

It starts building but it halts due to linking errors. I'm using OCE
0.3. Is SMESH(latest trunk) not compatible with OCE 0.3 (I managed to
build GEOM just fine)? Or the linking errors have another cause?

================================================================
Linking CXX shared library cmake-build\Driver.dll
   Creating library cmake-build\Driver.lib and object cmake-build
\Driver.exp

Driver_SMDS_Mesh.cpp.obj : warning LNK4217: locally defined symbol ??
0Driver_Mesh@@QAE@XZ (public: __thiscall
Driver_Mesh::Driver_Mesh(void)) imported in function "public:
__thiscall Driver_SMDS_Mesh::Driver_SMDS_Mesh(void)" (??
0Driver_SMDS_Mesh@@QAE@XZ)
Driver_SMESHDS_Mesh.cpp.obj : warning LNK4217: locally defined
symbol ??0Driver_Mesh@@QAE@XZ (public: __thiscall
Driver_Mesh::Driver_Mesh(void)) imported in function "public:
__thiscall Driver_SMESHDS_Mesh::Driver_SMESHDS_Mesh(void)" (??
0Driver_SMESHDS_Mesh@@QAE@XZ)
Driver_Document.cpp.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) const Driver_Document::`vftable'" (__imp_??
_7Driver_Document@@6B@) referenced in function "public: __thiscall
Driver_Document::Driver_Document(void)" (??0Driver_Document@@QAE@XZ)
Driver_Mesh.cpp.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) const Driver_Mesh::`vftable'" (__imp_??
_7Driver_Mesh@@6B@) referenced in function "public: __thiscall
Driver_Mesh::Driver_Mesh(void)" (??0Driver_Mesh@@QAE@XZ)
Driver_SMDS_Mesh.cpp.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) const Driver_SMDS_Mesh::`vftable'" (__imp_??
_7Driver_SMDS_Mesh@@6B@) referenced in function "public: __thiscall
Driver_SMDS_Mesh::Driver_SMDS_Mesh(void)" (??
0Driver_SMDS_Mesh@@QAE@XZ)
Driver_SMESHDS_Mesh.cpp.obj : error LNK2019: unresolved external
symbol "__declspec(dllimport) const
Driver_SMESHDS_Mesh::`vftable'" (__imp_??_7Driver_SMESHDS_Mesh@@6B@)
referenced in function "public: __thiscall
Driver_SMESHDS_Mesh::Driver_SMESHDS_Mesh(void)" (??
0Driver_SMESHDS_Mesh@@QAE@XZ)
cmake-build\Driver.dll : fatal error LNK1120: 4 unresolved externals

LINK failed. with 1120
================================================================

Thank you,

Paul

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to