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

Pages: 1 [2] 3
16
General / Re: Can't seem to install SFML
« on: March 21, 2014, 12:48:07 pm »
And use forward slashes for paths, they're portable.
#include <SFML/Graphics.hpp>

I don't even know why people came to the idea of using \ for #include. Not even the bad books teach that...

? \ are for computer paths, what are portable paths?

17
General / Re: Can't seem to install SFML
« on: March 21, 2014, 12:57:43 am »
Oh yea, I forgot to change that back to #include <SFML\Graphics.hpp>

It was originally that ^ but then it still didn't work, so then I changed it to #include "..."

18
General / Re: Can't seem to install SFML
« on: March 20, 2014, 11:54:13 pm »
Oh, it asked me to save .-. that's so weird, why can't I do that when inside the compiler, I think it added a .layout


19
General / Re: Can't seem to install SFML
« on: March 20, 2014, 10:06:03 pm »
Ok, I've clicked 'save all files'

20
General / Re: Can't seem to install SFML
« on: March 20, 2014, 09:19:27 pm »
wait, what do you mean by save all? I checked the .zip that contained everything, and everything is there

I just tried to download my own file, it works .-.

21
General / Re: Can't seem to install SFML
« on: March 20, 2014, 02:25:52 am »
That's really strange, I just checked my .zip, everything was there .-.
well, in my linker debug, yes, I'm in build options, I have

sfml-graphics-d
sfml-window-d
sfml-system-d

in link libraries for release, I have

sfml-graphics
sfml-window
sfml-system

I assume that I need .dlls? but I tried putting even all of them in my debug folder?

22
General / Re: Can't seem to install SFML
« on: March 19, 2014, 09:49:33 pm »
bump

23
General / Re: Can't seem to install SFML
« on: March 19, 2014, 03:41:41 am »
still doesn't work for me, attached is project

24
General / Re: Can't seem to install SFML
« on: March 19, 2014, 01:46:40 am »
should I try to re-install code::blocks then? or can I easily solve it?

25
General / Re: Can't seem to install SFML
« on: March 17, 2014, 09:53:46 pm »
bump

26
General / Re: Can't seem to install SFML
« on: March 17, 2014, 02:49:50 am »
-------------- Build: Debug in SFML Tests (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -L..\..\SFML-2.1\lib  -o "bin\Debug\SFML Tests.exe" obj\Debug\main.o    -lsfml-graphics-d -lsfml-window-d -lsfml-system-d
obj\Debug\main.o: In function `main':
C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:5: undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'

C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:5: undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'
C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:5: undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'

C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:6: undefined reference to `_imp___ZN2sf11CircleShapeC1Efj'
C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:7: undefined reference to `_imp___ZN2sf5Color5GreenE'

C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:7: undefined reference to `_imp___ZN2sf5Shape12setFillColorERKNS_5ColorE'
C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:15: undefined reference to `_imp___ZN2sf6Window5closeEv'

C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:12: undefined reference to `_imp___ZN2sf6Window9pollEventERNS_5EventE'
C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:18: undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'

C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:18: undefined reference to `_imp___ZN2sf12RenderTarget5clearERKNS_5ColorE'
C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:19: undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'

C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:19: undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'
C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:20: undefined reference to `_imp___ZN2sf6Window7displayEv'

C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:9: undefined reference to `_imp___ZNK2sf6Window6isOpenEv'
C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:23: undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'

C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:5: undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
C:/Users/cocon_000/Desktop/SFML Projects/SFML Tests/main.cpp:23: undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'

obj\Debug\main.o: In function `ZN2sf11CircleShapeD1Ev':
C:\Users\cocon_000\Desktop\SFML Projects\SFML Tests/../../SFML-2.1/include/SFML/Graphics/CircleShape.hpp:41: undefined reference to `_imp___ZTVN2sf11CircleShapeE'

C:\Users\cocon_000\Desktop\SFML Projects\SFML Tests/../../SFML-2.1/include/SFML/Graphics/CircleShape.hpp:41: undefined reference to `_imp___ZTVN2sf11CircleShapeE'
C:\Users\cocon_000\Desktop\SFML Projects\SFML Tests/../../SFML-2.1/include/SFML/Graphics/CircleShape.hpp:41: undefined reference to `_imp___ZN2sf5ShapeD2Ev'

collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
20 errors, 0 warnings (0 minutes, 0 seconds)
 
 

27
General / Re: Can't seem to install SFML
« on: March 17, 2014, 02:09:21 am »
What is a build command? Is it the build log? if so, there's only
-lsfml-graphics-d    -lsfml-window-d    -lsfml-system-d

28
General / Re: Can't seem to install SFML
« on: March 16, 2014, 08:47:21 pm »
If I click rebuild, I still get the same errors

29
General / Re: Can't seem to install SFML
« on: March 16, 2014, 07:01:17 pm »
What is the command line?

30
General / Re: Can't seem to install SFML
« on: March 16, 2014, 02:54:28 pm »
I'm sure, there's no SFML_STATIC anywhere

Pages: 1 [2] 3