Open ikolesov opened 11 years ago
same fail on windows:
'''
Traceback (most recent call last):
File "C:/pieper/s/Slicer-build/lib/Slicer-4.2/qt-scripted-modules/Editor.py", line 34, in init
parent.icon = qt.QIcon("%s/ToolbarEditorToolbox.png" % EditorLib.ICON_DIR)
AttributeError: 'module' object has no attribute 'ICON_DIR'
Traceback (most recent call last):
File "C:/pieper/s/kslice/src/kslice_wrap/build/lib/Slicer-4.2/qt-scripted-modules/KSliceEffect.py", line 8, in
on windows you "must copy lib/Debug/.dll and .pyd
solved: do make install on linux or right click INSTALL project -> project only -> build, and make sure you have the cmake_install_prefix set correctly to ${Slicer_DIR} , takes care of all this crap @ikolesov please confirm for linux
Why must the library be copied to the Slicer bin directory for slicer to discover it despite having added the original location of the library to the slicers modules path?