GeneFC wrote: ↑
Thu Dec 29, 2016 12:33 am
I was able to build ocl.pyd using your instructions and files without difficulty. I had tried several times before but always got into trouble somewhere.
Thanks guys for the Win work!
Do to a recent help request
this has bubbled up on my list.
I'm a little concerned following Gauthier's procedure for the dependencies.
Using a Python27 compiled with VS2008, as a dependency to build boost_1.62 w/VS2013, to be used in FreeCAD which uses both Python27 and boost_1.55 compiled with VS2013 makes me nervous. I guess everything in ocl.pyd is statically linked and that's why it works. Anyway it would be more convienient to link against the FreeCAD libpack.
So I tried this. The first problem I encounter was ocl is trying to link against "libboost_python-vc120-mt-1_55.lib", in the libpack this is called "boost_python-vc120-mt-1_55.lib", so I made a copy and re-named (I also did the same with the corrresponding .dll file) now I'm stuck with an "unresolved external"
Code: Select all
Error 52 error LNK2001: unresolved external symbol "struct boost::python::self_ns::self_t boost::python::self_ns::self" (?self@self_ns@python@boost@@3Uself_t@123@A) C:\Users\Chris\GitHub\opencamlib\Windows\ocl_geometry.obj OpenCamLib
Error 53 error LNK1120: 1 unresolved externals C:\Users\Chris\GitHub\opencamlib\Windows\x64\Release X64\ocl.pyd OpenCamLib