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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - themoonrat

Pages: [1]
1
General / Error building latest SFML snapshot
« on: July 21, 2011, 09:49:50 pm »
Found a Microsoft hotfix that sorts out the problem :)

http://support.microsoft.com/kb/949009/en-us/

2
General / Error building latest SFML snapshot
« on: July 21, 2011, 12:36:34 pm »
Odd how it works for Release mode but not Debug though?

To get it working with VS 2005, would it be a simple case of me compiling FreeType myself and replacing the .lib files included within the SFML2 snapshot?

3
General / Error building latest SFML snapshot
« on: July 21, 2011, 10:04:30 am »
Visual Studio 2005 - latest patches applied - with Windows SDK installed too

4
General / Error building latest SFML snapshot
« on: July 21, 2011, 09:52:20 am »
FREETYPE_INCLUDE_DIR_freetype2: D:/Projects/_Personal_/_Libs_/SFML/snapshot/extlibs/headers
FREETYPE_INCLUDE_DIR_ft2build: D:/Projects/_Personal_/_Libs_/SFML/snapshot/extlibs/headers
FREETYPE_LIBRARY: D:/Projects/_Personal_/_Libs_/SFML/snapshot/extlibs/libs-msvc/x86/freetype.lib

I can't find any other freetype files... doing a deep search of PC in case some are around

5
General / Error building latest SFML snapshot
« on: July 21, 2011, 01:04:54 am »
Hiya

I've downloaded the latest SFML 2 snapshot, followed the tutorial for CMake, and using "nmake" can create the correct .lib's and .dlls for dynamic release mode, and correct .lib's for static release mode. However, when I change CMAKE_BUILD_TYPE from Release to Debug; I get the following error that stops the process (pasting all the cmd box text here)

Code: [Select]
Sleep.cpp
[  8%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/String.cpp.obj
String.cpp
[ 10%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Thread.cpp.obj
Thread.cpp
[ 11%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/ThreadLocal.cpp.obj
ThreadLocal.cpp
[ 13%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/MutexImpl.cpp.obj
MutexImpl.cpp
[ 14%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/Platform.cpp.obj
Platform.cpp
[ 16%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadImpl.cpp.obj
ThreadImpl.cpp
[ 17%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadLocalImpl.cpp.obj
ThreadLocalImpl.cpp
Linking CXX static library ..\..\..\lib\sfml-system-s.lib
[ 17%] Built target sfml-system
Scanning dependencies of target sfml-window
[ 19%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Context.cpp.obj
Context.cpp
[ 20%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.obj
GlContext.cpp
[ 22%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlResource.cpp.obj
GlResource.cpp
[ 23%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Joystick.cpp.obj
Joystick.cpp
[ 25%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/JoystickManager.cpp.obj
JoystickManager.cpp
[ 26%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Keyboard.cpp.obj
Keyboard.cpp
[ 27%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Mouse.cpp.obj
Mouse.cpp
[ 29%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/VideoMode.cpp.obj
VideoMode.cpp
[ 30%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Window.cpp.obj
Window.cpp
[ 32%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/WindowImpl.cpp.obj
WindowImpl.cpp
[ 33%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WglContext.cpp.obj
WglContext.cpp
[ 35%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/InputImpl.cpp.obj
InputImpl.cpp
[ 36%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/JoystickImpl.cpp.obj
JoystickImpl.cpp
[ 38%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/VideoModeImpl.cpp.obj
VideoModeImpl.cpp
[ 39%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WindowImplWin32.cpp.obj
WindowImplWin32.cpp
Linking CXX static library ..\..\..\lib\sfml-window-s.lib
winmm.lib(WINMM.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in opengl32.lib(OPENGL32.dll); second definition ignored
winmm.lib(WINMM.dll) : warning LNK4221: no public symbols found; archive member will be inaccessible
gdi32.lib(GDI32.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in opengl32.lib(OPENGL32.dll); second definition ignored
gdi32.lib(GDI32.dll) : warning LNK4221: no public symbols found; archive member will be inaccessible
[ 39%] Built target sfml-window
Scanning dependencies of target sfml-network
[ 41%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Ftp.cpp.obj
Ftp.cpp
[ 42%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Http.cpp.obj
Http.cpp
[ 44%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/IpAddress.cpp.obj
IpAddress.cpp
[ 45%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Packet.cpp.obj
Packet.cpp
[ 47%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Socket.cpp.obj
Socket.cpp
[ 48%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/SocketSelector.cpp.obj
SocketSelector.cpp
[ 50%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/TcpListener.cpp.obj
TcpListener.cpp
[ 51%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/TcpSocket.cpp.obj
TcpSocket.cpp
[ 52%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/UdpSocket.cpp.obj
UdpSocket.cpp
[ 54%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Win32/SocketImpl.cpp.obj
SocketImpl.cpp
Linking CXX static library ..\..\..\lib\sfml-network-s.lib
[ 54%] Built target sfml-network
Scanning dependencies of target sfml-graphics
[ 55%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Color.cpp.obj
Color.cpp
[ 57%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Drawable.cpp.obj
Drawable.cpp
[ 58%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Font.cpp.obj
Font.cpp
[ 60%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/GLCheck.cpp.obj
GLCheck.cpp
[ 61%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Image.cpp.obj
Image.cpp
[ 63%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/ImageLoader.cpp.obj
ImageLoader.cpp
[ 64%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Matrix3.cpp.obj
Matrix3.cpp
[ 66%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Renderer.cpp.obj
Renderer.cpp
[ 67%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderImage.cpp.obj
RenderImage.cpp
[ 69%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderImageImpl.cpp.obj
RenderImageImpl.cpp
[ 70%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderImageImplFBO.cpp.obj
RenderImageImplFBO.cpp
[ 72%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderImageImplDefault.cpp.obj
RenderImageImplDefault.cpp
[ 73%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTarget.cpp.obj
RenderTarget.cpp
[ 75%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderWindow.cpp.obj
RenderWindow.cpp
[ 76%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Shader.cpp.obj
Shader.cpp
[ 77%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Shape.cpp.obj
Shape.cpp
[ 79%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Sprite.cpp.obj
Sprite.cpp
[ 80%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Text.cpp.obj
Text.cpp
[ 82%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/View.cpp.obj
View.cpp
Linking CXX static library ..\..\..\lib\sfml-graphics-s.lib
[ 82%] Built target sfml-graphics
Scanning dependencies of target sfml-audio
[ 83%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/ALCheck.cpp.obj
ALCheck.cpp
[ 85%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/AudioDevice.cpp.obj
AudioDevice.cpp
[ 86%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/Listener.cpp.obj
Listener.cpp
[ 88%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/Music.cpp.obj
Music.cpp
[ 89%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/Sound.cpp.obj
Sound.cpp
[ 91%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundBuffer.cpp.obj
SoundBuffer.cpp
[ 92%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundBufferRecorder.cpp.obj
SoundBufferRecorder.cpp
[ 94%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFile.cpp.obj
SoundFile.cpp
[ 95%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundRecorder.cpp.obj
SoundRecorder.cpp
[ 97%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundSource.cpp.obj
SoundSource.cpp
[ 98%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundStream.cpp.obj
SoundStream.cpp
Linking CXX static library ..\..\..\lib\sfml-audio-s.lib
sndfile.lib(libsndfile-1.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in openal32.lib(OpenAL32.dll); second definition ignored
sndfile.lib(libsndfile-1.dll) : warning LNK4221: no public symbols found; archive member will be inaccessible
[ 98%] Built target sfml-audio
Scanning dependencies of target sfml-main
[100%] Building CXX object src/SFML/Main/CMakeFiles/sfml-main.dir/SFML_Main.cpp.obj
SFML_Main.cpp
Linking CXX static library ..\..\..\lib\sfml-main.lib
[100%] Built target sfml-main

D:\Projects\_Personal_\_Libs_\SFML\binaries>nmake

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation.  All rights reserved.

Scanning dependencies of target sfml-system
[  1%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Clock.cpp.obj
Clock.cpp
[  2%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Err.cpp.obj
Err.cpp
[  4%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Lock.cpp.obj
Lock.cpp
[  5%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Mutex.cpp.obj
Mutex.cpp
[  7%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Sleep.cpp.obj
Sleep.cpp
[  8%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/String.cpp.obj
String.cpp
[ 10%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Thread.cpp.obj
Thread.cpp
[ 11%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/ThreadLocal.cpp.obj
ThreadLocal.cpp
[ 13%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/MutexImpl.cpp.obj
MutexImpl.cpp
[ 14%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/Platform.cpp.obj
Platform.cpp
[ 16%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadImpl.cpp.obj
ThreadImpl.cpp
[ 17%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadLocalImpl.cpp.obj
ThreadLocalImpl.cpp
Linking CXX shared library ..\..\..\lib\sfml-system-d-2.dll
   Creating library ..\..\..\lib\sfml-system-d.lib and object ..\..\..\lib\sfml-system-d.exp
   Creating library ..\..\..\lib\sfml-system-d.lib and object ..\..\..\lib\sfml-system-d.exp
[ 17%] Built target sfml-system
Scanning dependencies of target sfml-window
[ 19%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Context.cpp.obj
Context.cpp
[ 20%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.obj
GlContext.cpp
[ 22%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlResource.cpp.obj
GlResource.cpp
[ 23%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Joystick.cpp.obj
Joystick.cpp
[ 25%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/JoystickManager.cpp.obj
JoystickManager.cpp
[ 26%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Keyboard.cpp.obj
Keyboard.cpp
[ 27%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Mouse.cpp.obj
Mouse.cpp
[ 29%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/VideoMode.cpp.obj
VideoMode.cpp
[ 30%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Window.cpp.obj
Window.cpp
[ 32%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/WindowImpl.cpp.obj
WindowImpl.cpp
[ 33%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WglContext.cpp.obj
WglContext.cpp
[ 35%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/InputImpl.cpp.obj
InputImpl.cpp
[ 36%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/JoystickImpl.cpp.obj
JoystickImpl.cpp
[ 38%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/VideoModeImpl.cpp.obj
VideoModeImpl.cpp
[ 39%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WindowImplWin32.cpp.obj
WindowImplWin32.cpp
Linking CXX shared library ..\..\..\lib\sfml-window-d-2.dll
   Creating library ..\..\..\lib\sfml-window-d.lib and object ..\..\..\lib\sfml-window-d.exp
   Creating library ..\..\..\lib\sfml-window-d.lib and object ..\..\..\lib\sfml-window-d.exp
[ 39%] Built target sfml-window
Scanning dependencies of target sfml-network
[ 41%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Ftp.cpp.obj
Ftp.cpp
[ 42%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Http.cpp.obj
Http.cpp
[ 44%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/IpAddress.cpp.obj
IpAddress.cpp
[ 45%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Packet.cpp.obj
Packet.cpp
[ 47%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Socket.cpp.obj
Socket.cpp
[ 48%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/SocketSelector.cpp.obj
SocketSelector.cpp
[ 50%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/TcpListener.cpp.obj
TcpListener.cpp
[ 51%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/TcpSocket.cpp.obj
TcpSocket.cpp
[ 52%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/UdpSocket.cpp.obj
UdpSocket.cpp
[ 54%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Win32/SocketImpl.cpp.obj
SocketImpl.cpp
Linking CXX shared library ..\..\..\lib\sfml-network-d-2.dll
   Creating library ..\..\..\lib\sfml-network-d.lib and object ..\..\..\lib\sfml-network-d.exp
   Creating library ..\..\..\lib\sfml-network-d.lib and object ..\..\..\lib\sfml-network-d.exp
[ 54%] Built target sfml-network
Scanning dependencies of target sfml-graphics
[ 55%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Color.cpp.obj
Color.cpp
[ 57%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Drawable.cpp.obj
Drawable.cpp
[ 58%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Font.cpp.obj
Font.cpp
[ 60%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/GLCheck.cpp.obj
GLCheck.cpp
[ 61%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Image.cpp.obj
Image.cpp
[ 63%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/ImageLoader.cpp.obj
ImageLoader.cpp
[ 64%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Matrix3.cpp.obj
Matrix3.cpp
[ 66%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Renderer.cpp.obj
Renderer.cpp
[ 67%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderImage.cpp.obj
RenderImage.cpp
[ 69%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderImageImpl.cpp.obj
RenderImageImpl.cpp
[ 70%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderImageImplFBO.cpp.obj
RenderImageImplFBO.cpp
[ 72%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderImageImplDefault.cpp.obj
RenderImageImplDefault.cpp
[ 73%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTarget.cpp.obj
RenderTarget.cpp
[ 75%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderWindow.cpp.obj
RenderWindow.cpp
[ 76%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Shader.cpp.obj
Shader.cpp
[ 77%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Shape.cpp.obj
Shape.cpp
[ 79%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Sprite.cpp.obj
Sprite.cpp
[ 80%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Text.cpp.obj
Text.cpp
[ 82%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/View.cpp.obj
View.cpp
Linking CXX shared library ..\..\..\lib\sfml-graphics-d-2.dll
   Creating library ..\..\..\lib\sfml-graphics-d.lib and object ..\..\..\lib\sfml-graphics-d.exp
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
freetype.lib(autofit.obj) : fatal error LNK1103: debugging information corrupt; recompile module
LINK Pass 1 failed. with 1103
NMAKE : fatal error U1077: '"D:\Programs\System\CMake 2.8\bin\cmake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"D:\Programs\Utilities\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"D:\Programs\Utilities\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

D:\Projects\_Personal_\_Libs_\SFML\binaries>




Above is the image of the CMake settings I'm using. As I say, if I change that Debug back to Release, it will create those libs / dlls correctly.

I'm on Windows 7 x64, with Visual Studio 2005 installed

Any ideas? Thanks :)

Pages: [1]