R/sfml: A subreddit focusing on gamedev using SFML, a free multimedia C API that provides you low and high level access to graphics, input, audio Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts. Nov 12, 2008 You do a mistake on point 3. You need to copy the SFML directory from include (in the SDK) to C: Programs Dev-Cpp include, not extract all the SDK archive.
![]()
Yes...you might be right. I've tried to use that library a few months ago and I was upset because I wanted to make a music player. I made some pictures and I wrote on them 'Play', 'Pause' and 'Stop'. Now I had to make an sensitive area so that if press on that area, the program should make something: to play that music, to pause and to stop the music. So that area must be exactely calibrated on those 3 pictures. I spend 3 or 4 hours to make that area (I had to set the MouseX and Y function or something like this) because on the site wasn't specified any of that function. It was very nasty. What I am trying to say is that if I want to do a bigger project, I have to learn some undescribed functions.
It was better organized if they would make a table with every namespace/class/function (just the names) and if I would press on that namespace/class/function, to show me the complete description like is in cplusplus.com. Have you seen how is described a function on that site? It's very clear everything. Please excuse my english. How To Add Sfml To Dev C++How To Use Sfml With Dev C Free
-------------- Build: Debug in ddd ---------------
Compiling: ..Untitled1.c In file included from C:/SFML-1.6/include/SFML/SYSTEM.hpp:32, from C:Documents and SettingsEzra (big E)My DocumentsC++ ProjectsUntitled1.c:1: C:/SFML-1.6/include/SFML/Config.hpp:122:19: climits: No such file or directory In file included from C:/SFML-1.6/include/SFML/SYSTEM.hpp:32, from C:Documents and SettingsEzra (big E)My DocumentsC++ ProjectsUntitled1.c:1: C:/SFML-1.6/include/SFML/Config.hpp:124: error: syntax error before 'sf' C:/SFML-1.6/include/SFML/Config.hpp:125: error: syntax error before '{' token C:/SFML-1.6/include/SFML/Config.hpp:131:10: #error No 8 bits integer type for this platform C:/SFML-1.6/include/SFML/Config.hpp:145:10: #error No 16 bits integer type for this platform C:/SFML-1.6/include/SFML/Config.hpp:159:10: #error No 32 bits integer type for this platform In file included from C:/SFML-1.6/include/SFML/SYSTEM.hpp:33, from C:Documents and SettingsEzra (big E)My DocumentsC++ ProjectsUntitled1.c:1: C:/SFML-1.6/include/SFML/System/Clock.hpp:35: error: syntax error before '{' token C:/SFML-1.6/include/SFML/System/Clock.hpp: In function `GetElapsedTime': C:/SFML-1.6/include/SFML/System/Clock.hpp:55: warning: empty declaration C:/SFML-1.6/include/SFML/System/Clock.hpp:63: error: syntax error before 'private' In file included from C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdarg.h:6, from C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windows.h:47, from C:/SFML-1.6/include/SFML/System/Win32/Mutex.hpp:32, from C:/SFML-1.6/include/SFML/System/Mutex.hpp:36, from C:/SFML-1.6/include/SFML/SYSTEM.hpp:35, from C:Documents and SettingsEzra (big E)My DocumentsC++ ProjectsUntitled1.c:1: C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/include/stdarg.h:106: error: storage class specified for parameter `__gnuc_va_list' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/include/stdarg.h:106: error: syntax error before 'va_list' In file included from C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windows.h:48, from C:/SFML-1.6/include/SFML/System/Win32/Mutex.hpp:32, from C:/SFML-1.6/include/SFML/System/Mutex.hpp:36, from C:/SFML-1.6/include/SFML/SYSTEM.hpp:35, from C:Documents and SettingsEzra (big E)My DocumentsC++ ProjectsUntitled1.c:1: C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:222: error: storage class specified for parameter `DWORD' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:223: error: storage class specified for parameter `WINBOOL' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:223: error: storage class specified for parameter `PWINBOOL' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:223: error: storage class specified for parameter `LPWINBOOL' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:227: error: storage class specified for parameter `WINBOOL' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:227: error: redefinition of parameter 'WINBOOL' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:223: error: previous definition of 'WINBOOL' was here C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:227: error: syntax error before 'BOOL' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:231: error: storage class specified for parameter `BYTE' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:233: error: storage class specified for parameter `BOOL' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:233: error: syntax error before '*' token C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:234: error: storage class specified for parameter `WORD' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:235: error: storage class specified for parameter `FLOAT' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:236: error: storage class specified for parameter `FLOAT' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:236: error: conflicting types for 'FLOAT' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:235: error: previous definition of 'FLOAT' was here C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:236: error: syntax error before '*' token C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:237: error: storage class specified for parameter `BYTE' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:237: error: conflicting types for 'BYTE' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:231: error: previous definition of 'BYTE' was here C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:237: error: syntax error before '*' token C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:238: error: storage class specified for parameter `PINT' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:238: error: storage class specified for parameter `LPINT' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:239: error: storage class specified for parameter `WORD' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:239: error: conflicting types for 'WORD' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:234: error: previous definition of 'WORD' was here C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:239: error: syntax error before '*' token C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:240: error: storage class specified for parameter `LPLONG' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:241: error: storage class specified for parameter `DWORD' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:241: error: conflicting types for 'DWORD' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:222: error: previous definition of 'DWORD' was here C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:241: error: syntax error before '*' token C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:242: error: storage class specified for parameter `PCVOID' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:242: error: storage class specified for parameter `LPCVOID' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:243: error: storage class specified for parameter `INT' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:244: error: storage class specified for parameter `UINT' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:244: error: storage class specified for parameter `PUINT' C:/Dev-Cpp/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:244: error: storage class specified for parameter `LPUINT' Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |