how to set cmake to Identify anaconda Virtual environment
ArvinShaffer opened this issue · comments
ShengRui Xu commented
i got a error at 'SIP_NULLPTR'
i find i install sip 4.19.20 in a anaconda Virtual environment
but when i execution
cmake -DCMAKE_INSTALL_PREFIX=../install_dir -DPROTOBUF_SRC_ROOT_FOLDER=%PROTOBUF_SRC% -DPROTOBUF_LIBRARY=%PROTOBUF_INSTALL%/lib/libprotobuf.lib -DPROTOBUF_INCLUDE_DIR=%PROTOBUF_INSTALL%/include -DPROTOBUF_PROTOC_EXECUTABLE=%PROTOBUF_INSTALL%/bin/protoc.exe -DBUILD_EXAMPLES=OFF -DBUILD_STATIC=ON -DMSVC_STATIC_RUNTIME=ON -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" ..
i found that the cmake find_package(python 3.4) find the anaconda python,
so how can i solve this
Ghostkeeper commented
Are you sure that the SIP version you found in Anaconda is compatible with the PyQt5 version you found in Anaconda?