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 - ducdohuunguyen

Pages: [1]
1
General / Re: Help with linking sfml
« on: November 11, 2016, 06:30:33 pm »
How to install that in a different location? All I was doing is following the guide on the sfml page saying to write command mingw32-make install

2
General / Re: Help with linking sfml
« on: November 11, 2016, 06:44:34 am »
Did what you told me, here the new error message
D:\sfml>mingw32-make install
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
[  4%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Mutex.cpp.obj
[  4%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Sleep.cpp.obj
[  5%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/String.cpp.obj
[  6%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Thread.cpp.obj
[  7%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/ThreadLocal.cpp.obj
[  7%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Time.cpp.obj
[  8%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/FileInputStream.cpp.obj
[  9%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/MemoryInputStream.cpp.obj
[ 10%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ClockImpl.cpp.obj
[ 11%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/MutexImpl.cpp.obj
[ 11%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/SleepImpl.cpp.obj
[ 12%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadImpl.cpp.obj
[ 13%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadLocalImpl.cpp.obj
[ 14%] Linking CXX shared library ..\..\..\lib\sfml-system-2.dll
[ 14%] Built target sfml-system
Scanning dependencies of target sfml-main
[ 15%] Building CXX object src/SFML/Main/CMakeFiles/sfml-main.dir/MainWin32.cpp.obj
[ 16%] Linking CXX static library ..\..\..\lib\libsfml-main.a
[ 16%] Built target sfml-main
Scanning dependencies of target sfml-window
[ 17%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Context.cpp.obj
[ 17%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.obj
[ 18%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlResource.cpp.obj
[ 19%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Joystick.cpp.obj
[ 20%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/JoystickManager.cpp.obj
[ 21%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Keyboard.cpp.obj
[ 21%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Mouse.cpp.obj
[ 22%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Touch.cpp.obj
[ 23%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Sensor.cpp.obj
[ 24%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/SensorManager.cpp.obj
[ 24%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/VideoMode.cpp.obj
[ 25%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Window.cpp.obj
[ 26%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/WindowImpl.cpp.obj
[ 27%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WglContext.cpp.obj
[ 28%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WglExtensions.cpp.obj
[ 28%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/InputImpl.cpp.obj
[ 29%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/JoystickImpl.cpp.obj
[ 30%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/SensorImpl.cpp.obj
[ 31%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/VideoModeImpl.cpp.obj
[ 32%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WindowImplWin32.cpp.obj
[ 32%] Linking CXX shared library ..\..\..\lib\sfml-window-2.dll
[ 32%] Built target sfml-window
Scanning dependencies of target sfml-network
[ 33%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Ftp.cpp.obj
[ 33%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Http.cpp.obj
[ 34%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/IpAddress.cpp.obj
[ 35%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Packet.cpp.obj
[ 36%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Socket.cpp.obj
[ 36%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/SocketSelector.cpp.obj
[ 37%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/TcpListener.cpp.obj
[ 38%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/TcpSocket.cpp.obj
[ 39%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/UdpSocket.cpp.obj
[ 40%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Win32/SocketImpl.cpp.obj
[ 40%] Linking CXX shared library ..\..\..\lib\sfml-network-2.dll
[ 40%] Built target sfml-network
Scanning dependencies of target sfml-graphics
[ 41%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/BlendMode.cpp.obj
[ 41%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Color.cpp.obj
[ 42%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Font.cpp.obj
[ 43%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Glsl.cpp.obj
[ 44%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/GLCheck.cpp.obj
[ 44%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/GLExtensions.cpp.obj
[ 45%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Image.cpp.obj
[ 46%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/ImageLoader.cpp.obj
[ 47%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderStates.cpp.obj
[ 48%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTexture.cpp.obj
[ 48%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTarget.cpp.obj
[ 49%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderWindow.cpp.obj
[ 50%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Shader.cpp.obj
[ 51%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Texture.cpp.obj
[ 52%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/TextureSaver.cpp.obj
[ 52%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Transform.cpp.obj
[ 53%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Transformable.cpp.obj
[ 54%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/View.cpp.obj
[ 55%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Vertex.cpp.obj
[ 56%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/GLLoader.cpp.obj
[ 56%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Shape.cpp.obj
[ 57%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/CircleShape.cpp.obj
[ 58%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RectangleShape.cpp.obj
[ 59%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/ConvexShape.cpp.obj
[ 59%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Sprite.cpp.obj
[ 60%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Text.cpp.obj
[ 61%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/VertexArray.cpp.obj
[ 62%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTextureImpl.cpp.obj
[ 63%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTextureImplFBO.cpp.obj
[ 63%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTextureImplDefault.cpp.obj
[ 64%] Linking CXX shared library ..\..\..\lib\sfml-graphics-2.dll
[ 64%] Built target sfml-graphics
Scanning dependencies of target sfml-audio
[ 65%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/ALCheck.cpp.obj
[ 66%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/AlResource.cpp.obj
[ 67%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/AudioDevice.cpp.obj
C:\Users\Duc Nguyen\Downloads\SFML-2.4.1\src\SFML\Audio\AudioDevice.cpp: In static member function 'static bool sf::priv::AudioDevice::isExtensionSupported(const string&)':
C:\Users\Duc Nguyen\Downloads\SFML-2.4.1\src\SFML\Audio\AudioDevice.cpp:110:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
     std::auto_ptr<AudioDevice> device;
          ^~~~~~~~
In file included from C:/PROGRA~1/MinGW/mingw64/lib/gcc/x86_64-w64-mingw32/6.2.0/include/c++/memory:81:0,
                 from C:\Users\Duc Nguyen\Downloads\SFML-2.4.1\src\SFML\Audio\AudioDevice.cpp:32:
C:/PROGRA~1/MinGW/mingw64/lib/gcc/x86_64-w64-mingw32/6.2.0/include/c++/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
C:\Users\Duc Nguyen\Downloads\SFML-2.4.1\src\SFML\Audio\AudioDevice.cpp: In static member function 'static int sf::priv::AudioDevice::getFormatFromChannelCount(unsigned int)':
C:\Users\Duc Nguyen\Downloads\SFML-2.4.1\src\SFML\Audio\AudioDevice.cpp:128:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
     std::auto_ptr<AudioDevice> device;
          ^~~~~~~~
In file included from C:/PROGRA~1/MinGW/mingw64/lib/gcc/x86_64-w64-mingw32/6.2.0/include/c++/memory:81:0,
                 from C:\Users\Duc Nguyen\Downloads\SFML-2.4.1\src\SFML\Audio\AudioDevice.cpp:32:
C:/PROGRA~1/MinGW/mingw64/lib/gcc/x86_64-w64-mingw32/6.2.0/include/c++/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[ 67%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/Listener.cpp.obj
[ 68%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/Music.cpp.obj
[ 69%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/Sound.cpp.obj
[ 70%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundBuffer.cpp.obj
[ 71%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundBufferRecorder.cpp.obj
[ 71%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/InputSoundFile.cpp.obj
[ 72%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/OutputSoundFile.cpp.obj
[ 73%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundRecorder.cpp.obj
[ 74%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundSource.cpp.obj
[ 74%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundStream.cpp.obj
[ 75%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileFactory.cpp.obj
[ 76%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileReaderFlac.cpp.obj
[ 77%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileReaderOgg.cpp.obj
[ 78%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileReaderWav.cpp.obj
[ 78%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileWriterFlac.cpp.obj
[ 79%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileWriterOgg.cpp.obj
[ 80%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileWriterWav.cpp.obj
[ 81%] Linking CXX shared library ..\..\..\lib\sfml-audio-2.dll
[ 81%] Built target sfml-audio
Scanning dependencies of target ftp
[ 81%] Building CXX object examples/ftp/CMakeFiles/ftp.dir/Ftp.cpp.obj
[ 82%] Linking CXX executable ftp.exe
[ 82%] Built target ftp
Scanning dependencies of target opengl
[ 83%] Building CXX object examples/opengl/CMakeFiles/opengl.dir/OpenGL.cpp.obj
[ 84%] Linking CXX executable opengl.exe
[ 84%] Built target opengl
Scanning dependencies of target pong
[ 84%] Building CXX object examples/pong/CMakeFiles/pong.dir/Pong.cpp.obj
[ 85%] Linking CXX executable pong.exe
[ 85%] Built target pong
Scanning dependencies of target shader
[ 86%] Building CXX object examples/shader/CMakeFiles/shader.dir/Shader.cpp.obj
[ 87%] Linking CXX executable shader.exe
[ 87%] Built target shader
Scanning dependencies of target sockets
[ 88%] Building CXX object examples/sockets/CMakeFiles/sockets.dir/Sockets.cpp.obj
[ 88%] Building CXX object examples/sockets/CMakeFiles/sockets.dir/TCP.cpp.obj
[ 89%] Building CXX object examples/sockets/CMakeFiles/sockets.dir/UDP.cpp.obj
[ 90%] Linking CXX executable sockets.exe
[ 90%] Built target sockets
Scanning dependencies of target sound
[ 91%] Building CXX object examples/sound/CMakeFiles/sound.dir/Sound.cpp.obj
[ 92%] Linking CXX executable sound.exe
[ 92%] Built target sound
Scanning dependencies of target sound-capture
[ 92%] Building CXX object examples/sound_capture/CMakeFiles/sound-capture.dir/SoundCapture.cpp.obj
[ 93%] Linking CXX executable sound-capture.exe
[ 93%] Built target sound-capture
Scanning dependencies of target voip
[ 94%] Building CXX object examples/voip/CMakeFiles/voip.dir/VoIP.cpp.obj
[ 95%] Building CXX object examples/voip/CMakeFiles/voip.dir/Client.cpp.obj
[ 96%] Building CXX object examples/voip/CMakeFiles/voip.dir/Server.cpp.obj
[ 96%] Linking CXX executable voip.exe
[ 96%] Built target voip
Scanning dependencies of target window
[ 97%] Building CXX object examples/window/CMakeFiles/window.dir/Window.cpp.obj
[ 98%] Linking CXX executable window.exe
[ 98%] Built target window
Scanning dependencies of target win32
[ 99%] Building CXX object examples/win32/CMakeFiles/win32.dir/Win32.cpp.obj
[100%] Linking CXX executable win32.exe
[100%] Built target win32
Install the project...
-- Install configuration: "Release"
-- Installing: C:/Program Files (x86)/SFML/./include
CMake Error at cmake_install.cmake:31 (file):
  file INSTALL cannot make directory "C:/Program Files (x86)/SFML/./include":
  No such file or directory


Makefile:71: recipe for target 'install' failed
mingw32-make: *** [install] Error 1

3
General / Re: Help with linking sfml
« on: November 11, 2016, 05:50:02 am »
Ok even without the doxygen I still get this error when I try to run the makefile
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
[  3%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Mutex.cpp.obj
[  4%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Sleep.cpp.obj
[  5%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/String.cpp.obj
[  6%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Thread.cpp.obj
[  6%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/ThreadLocal.cpp.obj
[  7%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Time.cpp.obj
[  8%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/FileInputStream.cpp.obj
[  9%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/MemoryInputStream.cpp.obj
[ 10%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ClockImpl.cpp.obj
[ 10%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/MutexImpl.cpp.obj
[ 11%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/SleepImpl.cpp.obj
[ 12%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadImpl.cpp.obj
[ 13%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Win32/ThreadLocalImpl.cpp.obj
[ 13%] Linking CXX shared library ..\..\..\lib\sfml-system-2.dll
[ 13%] Built target sfml-system
Scanning dependencies of target sfml-main
[ 14%] Building CXX object src/SFML/Main/CMakeFiles/sfml-main.dir/MainWin32.cpp.obj
[ 15%] Linking CXX static library ..\..\..\lib\libsfml-main.a
[ 15%] Built target sfml-main
Scanning dependencies of target sfml-window
[ 16%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Context.cpp.obj
[ 17%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.obj
In file included from C:/Users/DUCNGU~1/DOWNLO~1/SFML-2~1.1/src/SFML/Window/EglContext.hpp:33:0,
                 from C:\Users\Duc Nguyen\Downloads\SFML-2.4.1\src\SFML\Window\GlContext.cpp:70:
C:/Users/DUCNGU~1/DOWNLO~1/SFML-2~1.1/src/SFML/Window/EGLCheck.hpp:32:21: fatal error: EGL/egl.h: No such file or directory
 #include <EGL/egl.h>

4
General / Re: Help with linking sfml
« on: November 11, 2016, 12:54:53 am »
I'm sorry that I bother you again but when I configure cmake it gets this error message
CMake Error at C:/Program Files/CMake/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files/CMake/share/cmake-3.7/Modules/FindDoxygen.cmake:97 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  doc/CMakeLists.txt:16 (find_package)

5
General / Re: Help with linking sfml
« on: November 11, 2016, 12:11:14 am »
Can you show me where I can find the sfml source code. I'm a newbie here and I went to their github page but there are so many files that I'm confused.

6
General / Help with linking sfml
« on: November 10, 2016, 11:40:34 pm »
I downloaded GCC 6.1.0 MinGW (SEH) - 64-bit sfml library
I'm using the latest Codeblocks 16.01.
My compiler is gcc (x86_64-posix-seh-rev1, Built by MinGW-W64 project) 6.2.0
and g++ (x86_64-posix-seh-rev1, Built by MinGW-W64 project) 6.2.0

I follow the instructions on the main page over 10 times, trying both static and dynamic linking and it doesn't work. Am I using the wrong sfml version?

Pages: [1]