Package Details: opencamlib-git 2023.01.11.4.ge4a5a7d-1

Git Clone URL: https://aur.archlinux.org/opencamlib-git.git (read-only, click to copy)
Package Base: opencamlib-git
Description: Multi-Purpose CNC Toolpath Library
Upstream URL: https://github.com/aewallin/opencamlib
Licenses: LGPL
Conflicts: opencamlib
Provides: opencamlib
Submitter: ad1217
Maintainer: ad1217
Last Packager: ad1217
Votes: 3
Popularity: 0.000034
First Submitted: 2016-07-02 00:40 (UTC)
Last Updated: 2023-02-28 17:31 (UTC)

Dependencies (6)

Required by (1)

Sources (2)

Latest Comments

« First ‹ Previous 1 2

maz3max commented on 2017-03-03 02:03 (UTC) (edited on 2017-03-03 02:07 (UTC) by maz3max)

The CMakeLists.txt file in the repository changed a bit. This is my working patch file: --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -28,7 +28,7 @@ # figure out the gcc version INCLUDE(gcc_version.cmake) -find_package (PythonLibs 2 REQUIRED) +find_package (PythonLibs 2.7 REQUIRED) include_directories(${PYTHON_INCLUDE_DIRS} ) # @@ -235,13 +235,13 @@ # execute_process( - COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0,0,\"/usr/local\")" + COMMAND python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0,0,\"/usr/local\")" OUTPUT_VARIABLE Python_site_packages OUTPUT_STRIP_TRAILING_WHITESPACE ) # on Ubuntu 11.10 this outputs: /usr/local/lib/python2.7/dist-packages execute_process( - COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=1,standard_lib=0,prefix=\"/usr/local\")" + COMMAND python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=1,standard_lib=0,prefix=\"/usr/local\")" OUTPUT_VARIABLE Python_arch_packages OUTPUT_STRIP_TRAILING_WHITESPACE ) @@ -428,25 +428,6 @@ ENDIF(DOXYGEN_FOUND) endif (BUILD_DOC) -include(${CMAKE_SOURCE_DIR}/deb/package_details.cmake) - -# "make spackage" -add_custom_target(spackage - ${CMAKE_COMMAND} - -D SRC_DIR:STRING=${CMAKE_SOURCE_DIR} - -D MY_VERSION:STRING=${MY_VERSION} - -C ${CMAKE_SOURCE_DIR}/deb/package_details.cmake - -P ${CMAKE_CURRENT_SOURCE_DIR}/deb/DebSourcePPA.cmake - ) -#add_custom_target(spackage-oneiric -# ${CMAKE_COMMAND} -# -D SRC_DIR:STRING=${CMAKE_SOURCE_DIR} -# -D MY_VERSION:STRING=${MY_VERSION} -# -D MY_DISTRIBUTION_RELEASES:STRING="oneiric" -# -C ${CMAKE_SOURCE_DIR}/package_details.cmake -# -P ${CMAKE_CURRENT_SOURCE_DIR}/deb/DebSourcePPA.cmake -# ) - message(STATUS "type:") message(STATUS " 'make' for a normal build") message(STATUS " 'make -j8' to build faster (if you have many cpus)")

faultylee commented on 2016-08-03 03:33 (UTC)

I find myself needing this additional patch for CMakesLists.txt otherwise it's picking up Python3.5 Libs and end up with reference problem @@ -27,7 +27,7 @@ # figure out the gcc version INCLUDE(gcc_version.cmake) -find_package (PythonLibs REQUIRED) +find_package (PythonLibs 2.7 REQUIRED) include_directories(${PYTHON_INCLUDE_DIRS} )