Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to set cmake to Identify anaconda Virtual environment #106

Open
ArvinShaffer opened this issue Jan 6, 2020 · 1 comment · Fixed by #134
Open

how to set cmake to Identify anaconda Virtual environment #106

ArvinShaffer opened this issue Jan 6, 2020 · 1 comment · Fixed by #134

Comments

@ArvinShaffer
Copy link

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
Copy link
Contributor

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

@jellespijker jellespijker linked a pull request Apr 12, 2022 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants