cmake cannot find glut32.dll and glut32.lib on Win32/MinGW

155 views
Skip to first unread message

Anders Bøgild - Robo[LAB]

unread,
Sep 30, 2009, 10:37:15 AM9/30/09
to RobWorkDevel
I checked out the latest RobWork/trunk today and had problems
completing the initial project configuration.

My config.cmake is edited and setup and the paths to both boost and
xerces are found correctly. I use Qt 2009.03 including the MinGW that
comes with it.

Here is the output when running 'cmake -G "Eclipse CDT4 - MinGW
Makefiles" -D CMAKE_BUILD_TYPE=Release ../..' from the RobWork\build
\Release directory :

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: C:/Qt/2009.03/mingw/bin/gcc.exe
-- Check for working C compiler: C:/Qt/2009.03/mingw/bin/gcc.exe --
works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Qt/2009.03/mingw/bin/g++.exe
-- Check for working CXX compiler: C:/Qt/2009.03/mingw/bin/g++.exe --
works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- RobWork version 0.3.1
-- Build configuration: Release
CMake Warning (dev) at CMakeLists.txt:20 (INCLUDE):
Policy CMP0011 is not set: Included scripts do automatic
cmake_policy PUSH
and POP. Run "cmake --help-policy CMP0011" for policy details. Use
the
cmake_policy command to set the policy and suppress this warning.

The included script

C:/rwsource_new/RobWork/build/ProjectSetup.cmake

affects policy settings. CMake is implying the NO_POLICY_SCOPE
option for
compatibility, so the effects are applied to the including context.
This warning is for project developers. Use -Wno-dev to suppress it.

-- RobWork ROOT dir: C:/rwsource_new/RobWork
-- Boost version: 1.38.0
-- Found the following Boost libraries:
-- thread
-- Xerces ENABLED! FOUND!
-- RW_ASSERT enabled.
-- Using CXX flags: -Wall
-- RobWork Sandbox ENABLED!
CMake Error: File C:/rwsource_new/RobWork/ext/libs_mingw/glut32.lib
does not exist.
CMake Error at ext/CMakeLists.txt:15 (configure_file):
configure_file Problem configuring file


CMake Error: File C:/rwsource_new/RobWork/ext/libs_mingw/glut32.dll
does not exist.
CMake Error at ext/CMakeLists.txt:16 (configure_file):
configure_file Problem configuring file


-- RobWork tests ENABLED!
-- Subversion was not found.
-- Configuring incomplete, errors occurred!

The problem seems to be that glut32.dll and glut32.lib are missing
from RobWork\ext\libs_mingw. This is easily fixed by downloading them
from http://www.xmission.com/~nate/glut.html but i guess they should
be in the repository as well ?

Jimmy Alison Jørgensen

unread,
Oct 4, 2009, 6:49:47 AM10/4/09
to robwor...@googlegroups.com
Hey, I have added glut32.lib to svn so it should now function properly.

/Jimmy
Reply all
Reply to author
Forward
0 new messages