Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Problem compiling static libs for SFML 2 RC on Debian Squeeze  (Read 2026 times)

0 Members and 1 Guest are viewing this topic.

xenus

  • Newbie
  • *
  • Posts: 6
    • View Profile
Problem compiling static libs for SFML 2 RC on Debian Squeeze
« on: November 09, 2012, 10:05:23 pm »
Hi there,

i've got a problem with compiling SFML 2 RC on Debian Squeeze with mingw32

Quote
cmake version 2.8.2
CMake call : /usr/bin/cmake  -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-debug-static -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=false
-DCMAKE_CXX_COMPILER=i586-mingw32msvc-g++
-DCMAKE_C_COMPILER=i586-mingw32msvc-gcc
-DCMAKE_SYSTEM_NAME=Windows
-DOPENAL_LIBRARY=/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libopenal32.a "/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace"
[sfml2-build-debug-static] $ /usr/bin/cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-debug-static -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=false -DCMAKE_CXX_COMPILER=i586-mingw32msvc-g++ -DCMAKE_C_COMPILER=i586-mingw32msvc-gcc -DCMAKE_SYSTEM_NAME=Windows -DOPENAL_LIBRARY=/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libopenal32.a /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/i586-mingw32msvc-g++
-- Check for working CXX compiler: /usr/bin/i586-mingw32msvc-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Found Freetype: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libfreetype.a
-- Found GLEW: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libglew.a
-- Found JPEG: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libjpeg.a
-- Found OpenAL: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libopenal32.a
-- Found SNDFILE: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libsndfile.a
-- Configuring done
-- Generating done
-- Build files have been written to: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static
[sfml2-build-debug-static] $ make
Scanning dependencies of target sfml-system
[  1%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Clock.cpp.obj
[  2%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Err.cpp.obj
[  3%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Lock.cpp.obj
[  5%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Mutex.cpp.obj
[  6%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Sleep.cpp.obj
[  7%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/String.cpp.obj
[  9%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Thread.cpp.obj
[ 10%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/ThreadLocal.cpp.obj
[ 11%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Time.cpp.obj
[ 12%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ClockImpl.cpp.obj
[ 14%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/MutexImpl.cpp.obj
[ 15%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/SleepImpl.cpp.obj
[ 16%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadImpl.cpp.obj
[ 18%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadLocalImpl.cpp.obj
Linking CXX static library ../../../lib/libsfml-system-s-d.a
[ 18%] Built target sfml-system
Scanning dependencies of target sfml-window
[ 19%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Context.cpp.obj
[ 20%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.obj
[ 22%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlResource.cpp.obj
[ 23%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Joystick.cpp.obj
[ 24%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/JoystickManager.cpp.obj
[ 25%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Keyboard.cpp.obj
[ 27%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Mouse.cpp.obj
[ 28%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/VideoMode.cpp.obj
[ 29%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Window.cpp.obj
[ 31%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/WindowImpl.cpp.obj
[ 32%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WglContext.cpp.obj
[ 33%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/InputImpl.cpp.obj
[ 35%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/JoystickImpl.cpp.obj
[ 36%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/VideoModeImpl.cpp.obj
[ 37%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WindowImplWin32.cpp.obj
Linking CXX static library ../../../lib/libsfml-window-s-d.a
/usr/bin/i586-mingw32msvc-ar: /usr/bin/i586-mingw32msvc-g++/lib/libopengl32.a: No error
make[2]: *** [lib/libsfml-window-s-d.a] Fehler 1
make[1]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Fehler 2
make: *** [all] Fehler 2

Maybe it's a simple problem but i dont get it at the moment.
The dynamic version works without problems - is there something to adjust in cmake parameters ?

Best regards,
xenus

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Problem compiling static libs for SFML 2 RC on Debian Squeeze
« Reply #1 on: November 09, 2012, 10:33:28 pm »
Quote
No error
Nice error ;D

I have no idea what's wrong, sorry. Maybe you can enable verbose makefiles, to have more detailed output?
Laurent Gomila - SFML developer

xenus

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Problem compiling static libs for SFML 2 RC on Debian Squeeze
« Reply #2 on: November 09, 2012, 11:25:05 pm »
Pretty cool, he ?  ;D

Ok verbose output is a bit longer - dont hit me..  :-\

Code: [Select]
CMake call : /usr/bin/cmake  -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-debug-static -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=false
-DCMAKE_CXX_COMPILER=i586-mingw32msvc-g++
-DCMAKE_C_COMPILER=i586-mingw32msvc-gcc
-DCMAKE_SYSTEM_NAME=Windows
-DOPENAL_LIBRARY=/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libopenal32.a
-DCMAKE_VERBOSE_MAKEFILE=on "/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace"
[sfml2-build-debug-static] $ /usr/bin/cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-debug-static -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=false -DCMAKE_CXX_COMPILER=i586-mingw32msvc-g++ -DCMAKE_C_COMPILER=i586-mingw32msvc-gcc -DCMAKE_SYSTEM_NAME=Windows -DOPENAL_LIBRARY=/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libopenal32.a -DCMAKE_VERBOSE_MAKEFILE=on /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/i586-mingw32msvc-g++
-- Check for working CXX compiler: /usr/bin/i586-mingw32msvc-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Found Freetype: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libfreetype.a
-- Found GLEW: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libglew.a
-- Found JPEG: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libjpeg.a
-- Found OpenAL: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libopenal32.a
-- Found SNDFILE: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/extlibs/libs-mingw/libsndfile.a
-- Configuring done
-- Generating done
-- Build files have been written to: /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static
[sfml2-build-debug-static] $ make
/usr/bin/cmake -H/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace -B/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static'
make -f src/SFML/System/CMakeFiles/sfml-system.dir/build.make src/SFML/System/CMakeFiles/sfml-system.dir/depend
make[2]: Entering directory `/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static'
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System/CMakeFiles/sfml-system.dir/DependInfo.cmake --color=
Scanning dependencies of target sfml-system
make[2]: Leaving directory `/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static'
make -f src/SFML/System/CMakeFiles/sfml-system.dir/build.make src/SFML/System/CMakeFiles/sfml-system.dir/build
make[2]: Entering directory `/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static'
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 49
[  1%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Clock.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Clock.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Clock.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 50
[  2%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Err.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Err.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Err.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 51
[  3%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Lock.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Lock.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Lock.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 52
[  5%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Mutex.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Mutex.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Mutex.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 53
[  6%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Sleep.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Sleep.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Sleep.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 54
[  7%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/String.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/String.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/String.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 55
[  9%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Thread.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Thread.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Thread.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 56
[ 10%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/ThreadLocal.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/ThreadLocal.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/ThreadLocal.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 57
[ 11%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Time.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Time.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Time.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 58
[ 12%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ClockImpl.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Win32/ClockImpl.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Win32/ClockImpl.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 59
[ 14%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/MutexImpl.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Win32/MutexImpl.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Win32/MutexImpl.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 60
[ 15%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/SleepImpl.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Win32/SleepImpl.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Win32/SleepImpl.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 61
[ 16%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadImpl.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Win32/ThreadImpl.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Win32/ThreadImpl.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 62
[ 18%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadLocalImpl.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-system.dir/Win32/ThreadLocalImpl.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/System/Win32/ThreadLocalImpl.cpp
Linking CXX static library ../../../lib/libsfml-system-s-d.a
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/cmake -P CMakeFiles/sfml-system.dir/cmake_clean_target.cmake
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/System && /usr/bin/cmake -E cmake_link_script CMakeFiles/sfml-system.dir/link.txt --verbose=1
/usr/bin/i586-mingw32msvc-ar cr ../../../lib/libsfml-system-s-d.a  CMakeFiles/sfml-system.dir/Clock.cpp.obj CMakeFiles/sfml-system.dir/Err.cpp.obj CMakeFiles/sfml-system.dir/Lock.cpp.obj CMakeFiles/sfml-system.dir/Mutex.cpp.obj CMakeFiles/sfml-system.dir/Sleep.cpp.obj CMakeFiles/sfml-system.dir/String.cpp.obj CMakeFiles/sfml-system.dir/Thread.cpp.obj CMakeFiles/sfml-system.dir/ThreadLocal.cpp.obj CMakeFiles/sfml-system.dir/Time.cpp.obj CMakeFiles/sfml-system.dir/Win32/ClockImpl.cpp.obj CMakeFiles/sfml-system.dir/Win32/MutexImpl.cpp.obj CMakeFiles/sfml-system.dir/Win32/SleepImpl.cpp.obj CMakeFiles/sfml-system.dir/Win32/ThreadImpl.cpp.obj CMakeFiles/sfml-system.dir/Win32/ThreadLocalImpl.cpp.obj
/usr/bin/i586-mingw32msvc-ranlib ../../../lib/libsfml-system-s-d.a
make[2]: Leaving directory `/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static'
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles  49 50 51 52 53 54 55 56 57 58 59 60 61 62
[ 18%] Built target sfml-system
make -f src/SFML/Window/CMakeFiles/sfml-window.dir/build.make src/SFML/Window/CMakeFiles/sfml-window.dir/depend
make[2]: Entering directory `/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static'
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window/CMakeFiles/sfml-window.dir/DependInfo.cmake --color=
Scanning dependencies of target sfml-window
make[2]: Leaving directory `/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static'
make -f src/SFML/Window/CMakeFiles/sfml-window.dir/build.make src/SFML/Window/CMakeFiles/sfml-window.dir/build
make[2]: Entering directory `/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static'
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 63
[ 19%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Context.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/Context.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/Context.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 64
[ 20%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/GlContext.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/GlContext.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 65
[ 22%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlResource.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/GlResource.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/GlResource.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 66
[ 23%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Joystick.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/Joystick.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/Joystick.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 67
[ 24%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/JoystickManager.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/JoystickManager.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/JoystickManager.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 68
[ 25%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Keyboard.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/Keyboard.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/Keyboard.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 69
[ 27%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Mouse.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/Mouse.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/Mouse.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 70
[ 28%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/VideoMode.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/VideoMode.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/VideoMode.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 71
[ 29%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Window.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/Window.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/Window.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 72
[ 31%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/WindowImpl.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/WindowImpl.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/WindowImpl.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 73
[ 32%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WglContext.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/Win32/WglContext.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/Win32/WglContext.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 74
[ 33%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/InputImpl.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/Win32/InputImpl.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/Win32/InputImpl.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 75
[ 35%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/JoystickImpl.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/Win32/JoystickImpl.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/Win32/JoystickImpl.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 76
[ 36%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/VideoModeImpl.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/Win32/VideoModeImpl.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/Win32/VideoModeImpl.cpp
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/CMakeFiles 77
[ 37%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WindowImplWin32.cpp.obj
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-g++   -DSFML_STATIC -g -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/include -I/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src   -o CMakeFiles/sfml-window.dir/Win32/WindowImplWin32.cpp.obj -c /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/src/SFML/Window/Win32/WindowImplWin32.cpp
Linking CXX static library ../../../lib/libsfml-window-s-d.a
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/cmake -P CMakeFiles/sfml-window.dir/cmake_clean_target.cmake
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/cmake -E cmake_link_script CMakeFiles/sfml-window.dir/link.txt --verbose=1
/usr/bin/i586-mingw32msvc-ar cr ../../../lib/libsfml-window-s-d.a  CMakeFiles/sfml-window.dir/Context.cpp.obj CMakeFiles/sfml-window.dir/GlContext.cpp.obj CMakeFiles/sfml-window.dir/GlResource.cpp.obj CMakeFiles/sfml-window.dir/Joystick.cpp.obj CMakeFiles/sfml-window.dir/JoystickManager.cpp.obj CMakeFiles/sfml-window.dir/Keyboard.cpp.obj CMakeFiles/sfml-window.dir/Mouse.cpp.obj CMakeFiles/sfml-window.dir/VideoMode.cpp.obj CMakeFiles/sfml-window.dir/Window.cpp.obj CMakeFiles/sfml-window.dir/WindowImpl.cpp.obj CMakeFiles/sfml-window.dir/Win32/WglContext.cpp.obj CMakeFiles/sfml-window.dir/Win32/InputImpl.cpp.obj CMakeFiles/sfml-window.dir/Win32/JoystickImpl.cpp.obj CMakeFiles/sfml-window.dir/Win32/VideoModeImpl.cpp.obj CMakeFiles/sfml-window.dir/Win32/WindowImplWin32.cpp.obj
/usr/bin/i586-mingw32msvc-ranlib ../../../lib/libsfml-window-s-d.a
cd /var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static/src/SFML/Window && /usr/bin/i586-mingw32msvc-ar x /usr/bin/i586-mingw32msvc-g++/lib/libopengl32.a
/usr/bin/i586-mingw32msvc-ar: /usr/bin/i586-mingw32msvc-g++/lib/libopengl32.a: No error
make[2]: *** [lib/libsfml-window-s-d.a] Fehler 1
make[2]: Leaving directory `/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static'
make[1]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Fehler 2
make[1]: Leaving directory `/var/lib/jenkins/jobs/SFML2_Latest-windows/workspace/sfml2-build-debug-static'
make: *** [all] Fehler 2

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Problem compiling static libs for SFML 2 RC on Debian Squeeze
« Reply #3 on: November 10, 2012, 09:32:52 am »
Does the file "/usr/bin/i586-mingw32msvc-g++/lib/libopengl32.a" exist?
Laurent Gomila - SFML developer

xenus

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Problem compiling static libs for SFML 2 RC on Debian Squeeze
« Reply #4 on: November 10, 2012, 01:39:09 pm »
Not really no .. there can't be a lib folder cause mingw32msvc-g++ is the compiler.

So how does he mean their should be the openal lib  >:(

I mean with BUILD_SHARED_LIBS=true everything went fine.

//edit
it's funny - if i run several times the make command from logged in console as root - after 5 times everything is fine .. what the hell ..
« Last Edit: November 10, 2012, 01:46:42 pm by xenus »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Problem compiling static libs for SFML 2 RC on Debian Squeeze
« Reply #5 on: November 10, 2012, 01:54:28 pm »
Ok, so you should forget about static libs for now, it cannot work in this context because of the specific build commands that I added.
Laurent Gomila - SFML developer

xenus

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Problem compiling static libs for SFML 2 RC on Debian Squeeze
« Reply #6 on: November 10, 2012, 01:58:00 pm »
Ok, for linux build it works .. then for windows i deactivate it for the moment

 

anything