Linking with Python3 Libs
March 25, 2015
12:21 a.m.
Hi, I'm trying to figure out how to build Python modules using Boost Python against Python3; and I'm currently stuck at getting cmake to find Python 3. I have already installed Python3 via brew install python3; but cmake still can't find PythonLibs 3. What am I missing here? Here's the header of my *CMakeLists.txt * cmake_minimum_required(VERSION 3.0) find_package(PythonLibs 3 REQUIRED) and here's the error message Could NOT find PythonLibs: Found unsuitable version "2.7.6", but required is at least "3" (found /usr/lib/libpython2.7.dylib)
3998
Age (days ago)
3998
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dong Ta