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

Operator Cookiecutter Cmake Error #1

Open
jakecrowley opened this issue May 16, 2022 · 3 comments
Open

Operator Cookiecutter Cmake Error #1

jakecrowley opened this issue May 16, 2022 · 3 comments

Comments

@jakecrowley
Copy link

jakecrowley commented May 16, 2022

While attempting to build the cookiecutter template for an operator plugin, I got an error while running cmake ... The previous conan install .. --build=missing command seemed to finish successfully.

-- The C compiler identification is GNU 11.3.1
-- The CXX compiler identification is GNU 11.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib64/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Current conanbuildinfo.cmake directory: /home/users/jake/Documents/TestOperator/build
-- Conan: Compiler GCC>=5, checking major version 11
-- Conan: Checking correct version: 11
CMake Error at CMakeLists.txt:15 (include):
  include could not find requested file:

    conan_qt_executables_variables
@jakecrowley
Copy link
Author

Simply commenting out that line seems to allow it to build fine.. I will leave this issue open for now in case anyone else has anything to add.

@jakecrowley
Copy link
Author

Nevermind, plugin builds fine now, but i get File '.. plugin file path .. ' could not be loaded as a plugin - skipping... when I try to load hobbits now.

@jakecrowley
Copy link
Author

I was able to get it to run by manually cloning the hobbits github repo and including the hobbits-core and hobbits-widgets src directories in the CMakeLists.txt file. My guess is the 'hobbits/unstable' that conan is using is outdated.

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

No branches or pull requests

1 participant