Windows 10 Build, OpenCamLib

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
apeltauer
Posts: 399
Joined: Fri Aug 11, 2017 2:19 pm

Windows 10 Build, OpenCamLib

Post by apeltauer »

Hi all,
with the latest code stand from the github repository on the main branch, i get the following error when running the unit tests:
Capture.PNG
Capture.PNG (16.06 KiB) Viewed 606 times

Code: Select all

Traceback (most recent call last):
  File "C:\Work\FreeCAD_GitHub_Apeltauer\bin_release\Mod\Test\Workbench.py", line 44, in testActivate
    self.assertEqual(FreeCADGui.activeWorkbench().name(), i, "Test on activating workbench {0} failed".format(i))
  File "C:\Work\FreeCAD_GitHub_Apeltauer\bin_release\bin\lib\unittest\case.py", line 829, in assertEqual
    assertion_func(first, second, msg=msg)
  File "C:\Work\FreeCAD_GitHub_Apeltauer\bin_release\bin\lib\unittest\case.py", line 1203, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "C:\Work\FreeCAD_GitHub_Apeltauer\bin_release\bin\lib\unittest\case.py", line 670, in fail
    raise self.failureException(msg)
AssertionError: 'PartDesignWorkbench' != 'PathWorkbench'
- PartDesignWorkbench
?   - ^^^^^^
+ PathWorkbench
?    ^
 : Test on activating workbench PathWorkbench failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Work\FreeCAD_GitHub_Apeltauer\bin_release\bin\lib\unittest\case.py", line 59, in testPartExecutor
    yield
  File "C:\Work\FreeCAD_GitHub_Apeltauer\bin_release\bin\lib\unittest\case.py", line 605, in run
    testMethod()
  File "C:\Work\FreeCAD_GitHub_Apeltauer\bin_release\Mod\Test\Workbench.py", line 46, in testActivate
    self.fail("Loading of workbench '{0}' failed: {1}".format(i, e))
  File "C:\Work\FreeCAD_GitHub_Apeltauer\bin_release\bin\lib\unittest\case.py", line 670, in fail
    raise self.failureException(msg)
AssertionError: Loading of workbench 'PathWorkbench' failed: 'PartDesignWorkbench' != 'PathWorkbench'
- PartDesignWorkbench
?   - ^^^^^^
+ PathWorkbench
?    ^
 : Test on activating workbench PathWorkbench failed
I am using the LibPack Version 12.1.2. This libpack does not include OpenCamLib. Do we have to added it?
I already tried to compile it but stopped with the following error in cmake when the option "BUILD_PY_LIB" is active:

Code: Select all

Boost version: 1.67.0
Boost include path: D:/FreeCAD_3rd_Part/boost_1_67_0
Could not find the following static Boost libraries:
        boost_python36
My version

Code: Select all

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16681 (Git)
Build type: Release
Branch: master_remote
Hash: 2876e82faafba00e3b59b6e5e5d177c56bac2a03
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Germany (en_DE)
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Windows 10 Build, OpenCamLib

Post by wmayer »

I think this should be reported to the Path devs. To it seems that OpenCamLib is not a mandatory 3rd party lib/tool and thus it shouldn't block the whole wb if it's not available.
User avatar
apeltauer
Posts: 399
Joined: Fri Aug 11, 2017 2:19 pm

Re: Windows 10 Build, OpenCamLib

Post by apeltauer »

created a topic in the Path/CAM sub forum
https://forum.freecadweb.org/viewtopic.php?f=15&t=36239
Post Reply