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

Missing CMAKE dependency - gtkmm #308

Closed
martynp opened this issue Mar 15, 2021 · 1 comment
Closed

Missing CMAKE dependency - gtkmm #308

martynp opened this issue Mar 15, 2021 · 1 comment
Milestone

Comments

@martynp
Copy link

martynp commented Mar 15, 2021

I am not familiar enough with CMAKE, but I just encountered the following error after trying to build scopehal-apps:

In file included from /home/martyn/dev/glscopeclient/scopehal-apps/lib/graphwidget/Graph.cpp:43:
/home/martyn/dev/glscopeclient/scopehal-apps/lib/graphwidget/Graph.h:39:10: fatal error: gtkmm.h: No such file o
r directory
   39 | #include <gtkmm.h>
      |          ^~~~~~~~~

I am building on Fedora 33, the fix was to install gtkmm30-devel - but I would have expected the cmake stage to highlight the missing dependency.

@martynp martynp changed the title Missing CMAKE dependency Missing CMAKE dependency - gtkmm Mar 15, 2021
@martynp
Copy link
Author

martynp commented Mar 15, 2021

Correction - it did highlight it but it was not critical:

-- Checking for module 'gtkmm-3.0'                                                                              
--   Package 'gtkmm-3.0', required by 'virtual:world', not found                                                
-- Checking for module 'sigc++-2.0'                                                                             
--   Package 'sigc++-2.0', required by 'virtual:world', not found                                               
-- Checking for module 'glm>=0.9.8'                                                                             
--   Found glm, version 0.9.9                                                                                   
-- Checking for one of the modules 'clFFT>=2.0'                                                                 
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message):              
  The package name passed to `find_package_handle_standard_args` (YAML) does                                    
  not match the name of the calling package (Yaml).  This can lead to                                           
  problems in calling code that expects `find_package` result variables                                         
  (e.g., `_FOUND`) to follow a certain pattern.                                                                 
Call Stack (most recent call first):                                                                            
  cmake/FindYaml.cmake:60 (find_package_handle_standard_args)                                                   
  src/glscopeclient/CMakeLists.txt:9 (find_package)                                                             
This warning is for project developers.  Use -Wno-dev to suppress it.                                           
                                                                                                                
-- Found components for YAML                                                                                    
-- YAML_ROOT_DIR  = /usr/local                                                                                  
-- YAML_INCLUDES  = /usr/include                                                                                
-- YAML_LIBRARIES = /usr/lib64/libyaml-cpp.so                                                                   
-- Configuring done                                                                                             
-- Generating done                                                                                              
-- Build files have been written to: /home/martyn/dev/glscopeclient/scopehal-apps/build  

@azonenberg azonenberg added this to the v0.1 milestone Apr 24, 2021
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

2 participants