area.pyd VC9 32 bit

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

area.pyd VC9 32 bit

Post by sgrogan »

Anybody build this yet. I think I need to set up a virtual machine to do this 32 bit. Has anybody bit this 32 bit native? If you can post the area.pyd I will include with the win builds.
"fight the good fight"
User avatar
yorik
Founder
Posts: 13664
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: area.pyd VC9 32 bit

Post by yorik »

Dan Falck is working on adding the libarea code to freecad... Wait just a little bit more, and it will all be solved at the source :)
danielfalck
Posts: 395
Joined: Fri Oct 07, 2011 8:58 pm
Location: Beaverton,Oregon, USA
Contact:

Re: area.pyd VC9 32 bit

Post by danielfalck »

Please test this, when you can:

https://github.com/danielfalck/FreeCAD/tree/path_area

I removed a lot of files that aren't applicable to our workbench and adapted the CMakeLists.txt file to FreeCAD.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: area.pyd VC9 32 bit

Post by sgrogan »

danielfalck wrote:Please test this, when you can:
Will do.
yorik wrote:Dan Falck is working on adding the libarea code to freecad... Wait just a little bit more, and it will all be solved at the source :)
Actually not, where I was stuck was building python-boost which is still needed :(
I'll get it eventually, it'll just take a little more time.
"fight the good fight"
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: area.pyd VC9 32 bit

Post by sgrogan »

I found a pre-compiled binary for boost-python here:http://www.lfd.uci.edu/~gohlke/pythonlibs/

I'm using FreeCADLibs_11.1_x86_VC9

I unpacked the .whl file with 7zip
copied boost_python-vc90-mt-1_55.dll to the libpack /bin directory
copied boost_python-vc90-mt-1_55.lib and libboost_python-vc90-mt-1_55.lib to the libpack /lib directory
CMake Errors below. (generator is VS 9 2008)

Code: Select all

 CMAKE_BUILD_TYPE = Release
Python include dir:
Boost version: 1.55.0
Found the following Boost libraries:
  python
found Boost: 1_55
boost-incude dirs are: C:/Users/Chris/Desktop/FClibs_vc12_x64/FreeCADLibs_11.1_x86_VC9/include
boost-python lib is: C:/Users/Chris/Desktop/FClibs_vc12_x64/FreeCADLibs_11.1_x86_VC9/lib/boost_python-vc90-mt-1_55.lib
boost_LIBRARY_DIRS is: C:/Users/Chris/Desktop/FClibs_vc12_x64/FreeCADLibs_11.1_x86_VC9/lib
Boost_LIBRARIES is: C:/Users/Chris/Desktop/FClibs_vc12_x64/FreeCADLibs_11.1_x86_VC9/lib/boost_python-vc90-mt-1_55.lib
CMake Error at src/Mod/Path/libarea/CMakeLists.txt:112 (install):
  install Library TARGETS given no DESTINATION!


Library will be installed to: C:/Program Files (x86)/FreeCAD_trunk/lib
libarea module will be installed to: lib
Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
Configuring incomplete, errors occurred!
C:/Program Files (x86)/FreeCAD_trunk/lib doesn't exist on my system and even if it did I didn't run Cmake with admin privileges so it couldn't write there anyway. Where in the build dir should the target be? Are there any examples of other modules built this way in FreeCAD that I can look at?
"fight the good fight"
Post Reply