Where is glfw3 and how do I get it

cmake output

usr_40476@localhost:~/APPS/SDR++> cmake -S /home/usr_40476/APPS/SDR++/ -B stuff]
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/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/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at core/libcorrect/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Performing Test COMPILER_SUPPORTS_WPEDANTIC
-- Performing Test COMPILER_SUPPORTS_WPEDANTIC - Success
-- Looking for dotprod in FEC
-- Looking for dotprod in FEC - not found
-- Performing Test HAVE_SSE
-- Performing Test HAVE_SSE - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") 
-- Checking for module 'glfw3'
--   Package 'glfw3', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:619 (message):
  The following required packages were not found:

   - glfw3

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal)
  core/CMakeLists.txt:54 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
usr_40476@localhost:~/APPS/SDR++>

zypper output

usr_40476@localhost:~/APPS/SDR++> sudo zypper install glfw3
[sudo] password for root: 
Retrieving repository 'openSUSE:Factory' metadata ............................................................................[done]
Building repository 'openSUSE:Factory' cache .................................................................................[done]
Retrieving repository 'Packman' metadata .....................................................................................[done]
Building repository 'Packman' cache ..........................................................................................[done]
Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata .................................................................[done]
Building repository 'openSUSE-Tumbleweed-Non-Oss' cache ......................................................................[done]
Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata .....................................................................[done]
Building repository 'openSUSE-Tumbleweed-Oss' cache ..........................................................................[done]
Loading repository data...
Reading installed packages...
'glfw3' not found in package names. Trying capabilities.
No provider of 'glfw3' found.
Resolving package dependencies...
Nothing to do.
usr_40476@localhost:~/APPS/SDR++> 

Maybe libglfw-devel???

rpm -q --provides libglfw-devel
cmake(glfw3) = 3.3.6
libglfw-devel = 3.3.6-bp155.2.15
libglfw-devel(x86-64) = 3.3.6-bp155.2.15
pkgconfig(glfw3) = 3.3.6

thanks, that helped

We have a problem, another depnedxcie

fftw3f

full text:

usr_40476@localhost:~> cmake -S /home/usr_40476/APPS/SDR++/ -B stuff]
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/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/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at core/libcorrect/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Performing Test COMPILER_SUPPORTS_WPEDANTIC
-- Performing Test COMPILER_SUPPORTS_WPEDANTIC - Success
-- Looking for dotprod in FEC
-- Looking for dotprod in FEC - not found
-- Performing Test HAVE_SSE
-- Performing Test HAVE_SSE - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") 
-- Checking for module 'glfw3'
--   Found glfw3, version 3.3.9
-- Found OpenGL: /usr/lib64/libOpenGL.so   
-- Checking for module 'fftw3f'
--   Package 'fftw3f', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:619 (message):
  The following required packages were not found:

   - fftw3f

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal)
  core/CMakeLists.txt:123 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
usr_40476@localhost:~> ^C
usr_40476@localhost:~> sudo zypper install fftw3f
[sudo] password for root: 
Loading repository data...
Reading installed packages...
'fftw3f' not found in package names. Trying capabilities.
No provider of 'fftw3f' found.
Resolving package dependencies...
Nothing to do.
usr_40476@localhost:~> 

Could fftw3f refer to fftw3 by any chance?

I already have that installed, how do i trick it into thinking I have it?
or whatever, again, i know basically nothing

Sorry, I’m also unfamiliar with this library, and the way it’s redistributed sounds unorthodox for me.
Seems like there is a similar issue for a user of the software that uses that library: octave - configure: WARNING: FFTW3F library not found. The slower FFTPACK library will be used instead - Stack Overflow, maybe you can try something like this.
My assumption is that fftw3f package gets extracted to /usr/local/src or /usr/src as per cannon.

solution: install fftw3-devel
next problem

usr_40476@localhost:~/APPS/SDR++> cmake -S /home/usr_40476/APPS/SDR++/ -B stuff
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/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/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at core/libcorrect/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Performing Test COMPILER_SUPPORTS_WPEDANTIC
-- Performing Test COMPILER_SUPPORTS_WPEDANTIC - Success
-- Looking for dotprod in FEC
-- Looking for dotprod in FEC - not found
-- Performing Test HAVE_SSE
-- Performing Test HAVE_SSE - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") 
-- Checking for module 'glfw3'
--   Found glfw3, version 3.3.9
-- Found OpenGL: /usr/lib64/libOpenGL.so   
-- Checking for module 'fftw3f'
--   Found fftw3f, version 3.3.10
-- Checking for module 'volk'
--   Package 'volk', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:619 (message):
  The following required packages were not found:

   - volk

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal)
  core/CMakeLists.txt:124 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
usr_40476@localhost:~/APPS/SDR++> 

BUT FOR SOME REASON :

usr_40476@localhost:~/APPS/SDR++> sudo zypper install volk
[sudo] password for root: 
Loading repository data...
Reading installed packages...
'volk' is already installed.
No update candidate for 'volk-3.1.0-1.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
usr_40476@localhost:~/APPS/SDR++>

Fixed it : next issue:

usr_40476@localhost:~/APPS/SDR++> cmake -S /home/usr_40476/APPS/SDR++/ -B stuff
CMake Deprecation Warning at core/libcorrect/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Checking for module 'volk'
--   Found volk, version 3.1
-- Checking for module 'libzstd'
--   Found libzstd, version 1.5.5
-- Checking for module 'libairspy'
--   Package 'libairspy', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:619 (message):
  The following required packages were not found:

   - libairspy

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal)
  source_modules/airspy_source/CMakeLists.txt:27 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
usr_40476@localhost:~/APPS/SDR++>

Try airspy-devel

Generally packages have format of (lib)package-devel for development packages, you can extrapolate that for future packages if you encounter issues, and use “zypper se” (zypper search) to see if they are in your repos.

I will xcome back tommorow i have to go to bed

sr_40476@localhost:~/APPS/SDR++> cmake -S /home/usr_40476/APPS/SDR++/ -B stuff
CMake Deprecation Warning at core/libcorrect/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Checking for module 'libhackrf'
--   Found libhackrf, version 0.8
-- Checking for module 'libiio'
--   Package 'libiio', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:619 (message):
  The following required packages were not found:

   - libiio

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal)
  source_modules/plutosdr_source/CMakeLists.txt:35 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
usr_40476@localhost:~/APPS/SDR++> sudo zypper install iio-devel
Loading repository data...
Reading installed packages...
'iio-devel' not found in package names. Trying capabilities.
No provider of 'iio-devel' found.
Resolving package dependencies...
Nothing to do.
usr_40476@localhost:~/APPS/SDR++> sudo zypper install iio
Loading repository data...
Reading installed packages...
'iio' not found in package names. Trying capabilities.
No provider of 'iio' found.
Resolving package dependencies...
Nothing to do.
usr_40476@localhost:~/APPS/SDR++> 

I should’ve been more descriptive about my explanation.

Basically, development package could have name either libxxx-devel or xxx-devel. My understanding is that you won’t see “lib” prefix for packages meant for application development (like plugins to another application?).
Because you may not understand exactly how each package is used, I recommended you using “zypper se” to see if it’s available, for example if you run “zypper se iio-devel” you will see that it wants lib prefix:

λ ~/ ! zypper se iio-devel
Loading repository data...
Reading installed packages...

S | Name         | Summary                                     | Type
--+--------------+---------------------------------------------+--------
  | libiio-devel | Industrial I/O library -- development files | package
λ ~/ ! 

This is similar on how Debian/Ubuntu does it, instead they use postfix “-dev” though (like libxxx-dev)

Again sorry, I’m not that familiar with desktop development, so I may not understand some canons correctly.

usr_40476@localhost:~/APPS/SDR++> cmake -S /home/usr_40476/APPS/SDR++/ -B stuff
CMake Deprecation Warning at core/libcorrect/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Checking for module 'libiio'
--   Found libiio, version 0.25
-- Checking for module 'libad9361'
--   Package 'libad9361', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:619 (message):
  The following required packages were not found:

   - libad9361

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal)
  source_modules/plutosdr_source/CMakeLists.txt:36 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
usr_40476@localhost:~/APPS/SDR++> sudo zypper install libad9361
Loading repository data...
Reading installed packages...
'libad9361' not found in package names. Trying capabilities.
No provider of 'libad9361' found.
Resolving package dependencies...
Nothing to do.
usr_40476@localhost:~/APPS/SDR++> sudo zypper install libad9361-devel
Loading repository data...
Reading installed packages...
'libad9361-devel' not found in package names. Trying capabilities.
No provider of 'libad9361-devel' found.
Resolving package dependencies...
Nothing to do.
usr_40476@localhost:~/APPS/SDR++> sudo zypper install ad9361-devel
Loading repository data...
Reading installed packages...
'ad9361-devel' not found in package names. Trying capabilities.
No provider of 'ad9361-devel' found.
Resolving package dependencies...
Nothing to do.
usr_40476@localhost:~/APPS/SDR++> sudo zypper install ad9361
Loading repository data...
Reading installed packages...
'ad9361' not found in package names. Trying capabilities.
No provider of 'ad9361' found.
Resolving package dependencies...
Nothing to do.
usr_40476@localhost:~/APPS/SDR++> 

Which package do you try to build? There are already several SDR packages available on OBS…

SDR++, i never check OBS and would prefer to just get a ready made program or compile SDR++, the unit I am using is Noolec NESDR mini 2+

PS. I have never used OBS

also not to be annoying but I think i fixed it with another app

I am sorry for wasting you time

echo thanks!

You found them here:
https://download.opensuse.org/repositories/hardware:/sdr/openSUSE_Tumbleweed/

https://download.opensuse.org/repositories/hardware:/sdr/openSUSE_Tumbleweed/x86_64/libad9361-iio-devel-0.3-1.13.x86_64.rpm
or
https://download.opensuse.org/repositories/hardware:/sdr/openSUSE_Tumbleweed/x86_64/libad9361-iio-devel-0.3-2.2.x86_64.rpm

Add the Repo and install them.

https://software.opensuse.org/search?baseproject=ALL&q=SDRpp