Driver booster 9 key6/20/2023 This will not build correctly if you have a system install of boost, because, under the hood, bjam is linking to libboostpython using the g++ parameter "-lboost". Now jump into the python example directory, and build the tutorialĬd /path/to/boost_1_64_0/libs/python/example/tutorial I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5mĪnd you only need the first include directory. To find the correct include > pkg-config -cflags python3 Using python : 3.5 : /usr/bin/python3 : /usr/include/python3.5m : /usr/lib Then edit the python line (the last line) so that is says: I just did this with boost_1_64_0.Īs mentioned above, find the file "user-config.jam" in you boost code distribution, and copy it to $HOME.Ĭp /path/to/boost_1_64_0/tools/build/example/user-config.jam $HOME (which comes with Ubuntu 16.04), so make sure you download the latest boost distribution. Libboostpython needs to be built with python3 in order to do this.
0 Comments
Leave a Reply. |