Comments (9)
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.
MacOS Monterey v12.3.1, Intel chip.
XCode 13.3 and clang-15.
from argos3.
Can you show me the output of CMake when you run
$ rm -rf build
$ mkdir build
$ cd build
$ cmake ../src
from argos3.
-- 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.
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.
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.
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.
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.
Awesome! Thank you!
from argos3.
Related Issues (20)
- argos3_simulator.pc no longer generated ? HOT 8
- Compiling the e-puck plugin for argos3 59 HOT 5
- No package 'argos3_simulator' found HOT 2
- ARGoS Checkpointing
- enh/actuator-enable-disable-interface
- Issue in building the doc in installation with Eclipse HOT 1
- gl.h not found in Mac OSX 11.4 Big Sur HOT 1
- Increasing the # cameras in ARGoS HOT 5
- EmodiedEntity init is called before successful place HOT 2
- Bugs in ARGoS cmdline HOT 8
- bugfix/34/stderr-redirect
- Black screen HOT 3
- Physics of gripping with the foot-bot
- Not using threads on WSL2 (Windows 11) HOT 2
- Bugs and usability of ARGoS drone HOT 3
- footbot_encoder can not be reading. HOT 3
- include could not find requested file: ARGoSCheckQTOpenGL HOT 1
- argos visualization error when running CPFA: cannot find CPFA_qt_user_functions on Ubuntu 22.04 LTS HOT 1
- [Fatal] Can't load library "/usr/lib/argos3/libargos3plugin_simulator_media.so"...undefined symbol HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argos3.