Git Product home page Git Product logo

Comments (9)

ilpincy avatar ilpincy commented on August 18, 2024

Looks like an issue in my way to detect OpenGL. Can you give me some details about your system? Mostly OS version and architecture.

from argos3.

ffelten avatar ffelten commented on August 18, 2024

MacOS Monterey v12.3.1, Intel chip.
XCode 13.3 and clang-15.

from argos3.

ilpincy avatar ilpincy commented on August 18, 2024

Can you show me the output of CMake when you run

$ rm -rf build
$ mkdir build
$ cd build
$ cmake ../src

from argos3.

ffelten avatar ffelten commented on August 18, 2024
-- The C compiler identification is Clang 15.0.0
-- The CXX compiler identification is Clang 15.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/opt/llvm/bin/clang - 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/local/opt/llvm/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found DLFCN: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libdl.tbd
-- Found Pthreads: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libpthread.tbd
-- Found FreeImage:
-- Could NOT find GooglePerfTools (missing: GOOGLEPERFTOOLS_LIBRARY GOOGLEPERFTOOLS_INCLUDE_DIR)
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.9.5") found components: doxygen dot
-- Found ASCIIDoc: /usr/local/bin/asciidoc
-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OpenGL.framework
-- Found GLUT: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found Qt6: version 6.3.1
-- Found Qt6Widgets: version 6.3.1
-- Found Qt6Gui: version 6.3.1
-- Found Qt6OpenGLWidgets: version 6.3.1
-- Found Lua: /usr/local/lib/liblua5.4.dylib (found version "5.4.4")
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/florian.felten/Documents/argos3/build

from argos3.

ilpincy avatar ilpincy commented on August 18, 2024

The message

-- Found GLUT: TRUE

is different from mine. On my system I get the full path to the framework rather than TRUE. What's your CMake version?

from argos3.

ilpincy avatar ilpincy commented on August 18, 2024

I dug a bit deeper – on my system everything works as usual, so it's difficult for me to pinpoint the issue on your end. Do you have multiple versions of GLUT installed, by chance? Maybe freeglut confuses CMake?

Maybe we can shed some light with this command:

$ cd build
$ grep GLUT CMakeCache.txt

from argos3.

ffelten avatar ffelten commented on August 18, 2024

CMake version 3.24.2

Output for GLUT:

pkgcfg_lib_GLUT_glut:FILEPATH=/usr/local/Cellar/freeglut/3.2.2/lib/libglut.dylib
//Details about finding GLUT
FIND_PACKAGE_MESSAGE_DETAILS_GLUT:INTERNAL=[1][v()]
GLUT_CFLAGS:INTERNAL=-DFREEGLUT_STATIC;-I/usr/local/Cellar/freeglut/3.2.2/include
GLUT_CFLAGS_I:INTERNAL=
GLUT_CFLAGS_OTHER:INTERNAL=-DFREEGLUT_STATIC
GLUT_FOUND:INTERNAL=1
GLUT_INCLUDEDIR:INTERNAL=/usr/local/Cellar/freeglut/3.2.2/include
GLUT_INCLUDE_DIRS:INTERNAL=/usr/local/Cellar/freeglut/3.2.2/include
GLUT_LDFLAGS:INTERNAL=-L/usr/local/Cellar/freeglut/3.2.2/lib;-lglut
GLUT_LDFLAGS_OTHER:INTERNAL=
GLUT_LIBDIR:INTERNAL=/usr/local/Cellar/freeglut/3.2.2/lib
GLUT_LIBRARIES:INTERNAL=glut
GLUT_LIBRARY_DIRS:INTERNAL=/usr/local/Cellar/freeglut/3.2.2/lib
GLUT_LIBS:INTERNAL=
GLUT_LIBS_L:INTERNAL=
GLUT_LIBS_OTHER:INTERNAL=
GLUT_LIBS_PATHS:INTERNAL=
GLUT_MODULE_NAME:INTERNAL=glut
GLUT_PREFIX:INTERNAL=/usr/local/Cellar/freeglut/3.2.2
GLUT_STATIC_CFLAGS:INTERNAL=-DFREEGLUT_STATIC;-I/usr/local/Cellar/freeglut/3.2.2/include
GLUT_STATIC_CFLAGS_I:INTERNAL=
GLUT_STATIC_CFLAGS_OTHER:INTERNAL=-DFREEGLUT_STATIC
GLUT_STATIC_INCLUDE_DIRS:INTERNAL=/usr/local/Cellar/freeglut/3.2.2/include
GLUT_STATIC_LDFLAGS:INTERNAL=-L/usr/local/Cellar/freeglut/3.2.2/lib;-lglut;-lX11;-lXxf86vm;-lXrandr;-lGL;-lm
GLUT_STATIC_LDFLAGS_OTHER:INTERNAL=
GLUT_STATIC_LIBDIR:INTERNAL=
GLUT_STATIC_LIBRARIES:INTERNAL=glut;X11;Xxf86vm;Xrandr;GL;m
GLUT_STATIC_LIBRARY_DIRS:INTERNAL=/usr/local/Cellar/freeglut/3.2.2/lib
GLUT_STATIC_LIBS:INTERNAL=
GLUT_STATIC_LIBS_L:INTERNAL=
GLUT_STATIC_LIBS_OTHER:INTERNAL=
GLUT_STATIC_LIBS_PATHS:INTERNAL=
GLUT_VERSION:INTERNAL=3.2.2
GLUT_glut_INCLUDEDIR:INTERNAL=
GLUT_glut_LIBDIR:INTERNAL=
GLUT_glut_PREFIX:INTERNAL=
GLUT_glut_VERSION:INTERNAL=
__pkg_config_arguments_GLUT:INTERNAL=QUIET;glut
__pkg_config_checked_GLUT:INTERNAL=1
//ADVANCED property for variable: pkgcfg_lib_GLUT_glut
pkgcfg_lib_GLUT_glut-ADVANCED:INTERNAL=1

from argos3.

ilpincy avatar ilpincy commented on August 18, 2024

Yes, you have freeglut installed and that is confusing CMake. You can fix that in a couple of ways: you can temporarily uninstall freeglut, or you can manually set the correct path for GLUT_LIBRARIES in CMake.

from argos3.

ffelten avatar ffelten commented on August 18, 2024

Awesome! Thank you!

from argos3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.