cmake_example
cmake_example copied to clipboard
Example pybind11 module built with a CMake-based build system
After successfully installing cmake_example after running `pip install .` command. I try to import `cmake_example` module, but it shows `undefined symbol ` ``` (pybind11) xx@xx:~/code/cmake_example$ pip install . --user Looking...
I move the test_basic.py to project root directory and change the import path. Then, I change the target name in CMakeLists.txt and module name in test_basic.py. Then, "mkdir build; cd...
How can one make the package such that on running "pip install ./cmake_example" it creates a subfolder in site-packages named "cmake_example" which contains the shared library for cmake_example?
I don't really know why CMake just dies here looking for MSVC 2017. Either we need to somehow get setuptools discovery forwarded to the generator selection, or we could use...
Anyone has issue with test.py? When I execute the file, the console tells me that the No module named 'cmake_example'. Any one knows how to deal with this problem? Traceback...
If I am wrapping a shared library (e.g. `libParent.so`), and generate python bindings (e.g. `libBindings.so`), `setup.py` will install both `libBindings.so` (correctly) and `libParent.so` (incorrectly) to python's `.../dist-packages/`. `.../dist-packages/` directory is...
``` make: *** No rule to make target 'install'. Stop. ``` used these commands ``` cd pybind11 mkdir build cd build cmake .. make install ``` can anyone help with...
I'm receiving this error while tying to put together a simple pybind cmake example app. > Process finished with exit code -1073741515 (0xC0000135) I've been google for hours now trying...
Can't make the doc html ``` [autosummary] generating autosummary for: cmake_example.rst, index.rst Failed to import 'cmake_example': no module named cmake_example building [mo]: targets for 0 po files that are out...
cmake .. make Than I got a "cmake_example.cpython-35m-x86_64-linux-gnu.so" I can't be import like "import cmake_example" 。 What 's the problems of my operating?