libArcus icon indicating copy to clipboard operation
libArcus copied to clipboard

how to set cmake to Identify anaconda Virtual environment

Open ArvinShaffer opened this issue 5 years ago • 1 comments

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

ArvinShaffer avatar Jan 06 '20 08:01 ArvinShaffer

Are you sure that the SIP version you found in Anaconda is compatible with the PyQt5 version you found in Anaconda?

Ghostkeeper avatar Jan 13 '20 15:01 Ghostkeeper