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

Pages: [1]
1
General / Re: Setting Up SFML
« on: July 15, 2015, 12:43:03 am »
Wow I feel dumb. I didn't even think to check that since most compilers are 32bits -_- Thanks so much for pointing that out for me

2
General / Re: Setting Up SFML
« on: July 14, 2015, 11:09:17 pm »
Yeah I did. If it helps at all, the following is what the build log says:



-------------- Build: Release in CPP_2D_Basics (compiler: GNU GCC Compiler)---------------

x86_64-w64-mingw32-g++.exe -L"SFML-2.3.1 x86\lib" -o bin\Release\CPP_2D_Basics.exe obj\Release\main.o  -s  -lsfml-graphics -lsfml-window -lsfml-system
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1 x86\lib/libsfml-graphics.a when searching for -lsfml-graphics
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1 x86\lib\libsfml-graphics.a when searching for -lsfml-graphics
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1 x86\lib/libsfml-graphics.a when searching for -lsfml-graphics
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-graphics
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1 x86\lib/libsfml-window.a when searching for -lsfml-window
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1 x86\lib\libsfml-window.a when searching for -lsfml-window
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1 x86\lib/libsfml-window.a when searching for -lsfml-window
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-window
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1 x86\lib/libsfml-system.a when searching for -lsfml-system
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1 x86\lib\libsfml-system.a when searching for -lsfml-system
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1 x86\lib/libsfml-system.a when searching for -lsfml-system
C:/Program Files/mingw-w64/x86_64-4.9.0-posix-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-system
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
3 error(s), 0 warning(s) (0 minute(s), 0 second(s))

3
General / Re: Setting Up SFML
« on: July 14, 2015, 06:37:25 pm »
Okay, so when my compiler errors and says that it cannot find the -lsmfl-graphics, it's referring to the -l switch your talking about. So then as far as specifying that, should I be looking in my project build options or in the actual compiler settings? I assume the latter, and if I assume correctly, should I just specify the same paths that I was told to specify in the tutorial within the global compiler linker settings?

4
General / Re: Setting Up SFML
« on: July 14, 2015, 05:51:37 pm »
I probably should have said this earlier, but I'm on windows 8.1, and that -rpath description might have just confused me more, especially if that technique on linux is still relevant for windows....

5
General / Re: Setting Up SFML
« on: July 14, 2015, 04:57:57 pm »
So are you saying that under the second step of the tutorial that I should have a full path like "SFML-2.3.1\lib\libsfml-graphics.a" as opposed to just "sfml-graphics"? Because the tutorial itself says "the "lib" prefix and the ".a" extension must be omitted".

6
General / Setting Up SFML
« on: July 14, 2015, 01:57:09 am »
So earlier today I tried setting up SFML using the latest version of Code::Blocks. I used the start up guide provided on the page and at this point have tried both the GCC 4.9.2 MinGW (DW2) - 32-bit version and the GCC 4.8.1 TDM (SJLJ) - 32-bit version of SFML. When ever I try to build the simple test file (the drawing of a green circle) I get the following error:

||=== Build: Release in CPP_2D_Basics (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lsfml-graphics|
ld.exe||cannot find -lsfml-window|
ld.exe||cannot find -lsfml-system|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

Does anyone have any idea why this is happening?

Pages: [1]