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

Pages: [1]
1
General / Re: AW: "SFML works!" tutorial not working
« on: December 14, 2013, 09:12:56 pm »
Where exactly does it show that error code?

When run through the debugger it should jump to the part where the error originates from?

I'm sorry, I'm not sure what you mean by "error code"; there is no error message that pops up, the CodeBlocks build log shows the "Process terminated with status -1073741819 (0 minutes, 19 seconds)", and the debugger says that there is a "Segmentation Fault" but I'm not sure what that means.

2
General / Re: "SFML works!" tutorial not working
« on: December 14, 2013, 07:19:17 pm »
It does show up in task manager, but it dies quickly.
Ive run it through the debugger, as I said, and it reports a "segmentation fault"

I have rebuilt it several times, every time i make a change

3
General / Re: "SFML works!" tutorial not working
« on: December 14, 2013, 06:45:51 pm »
Bump. Still need help

4
General / Re: "SFML works!" tutorial not working
« on: December 11, 2013, 04:58:49 am »
Sorry it took so long, I've been busy.

Quote
-------------- Clean: Debug in Test ---------------

Cleaned "Test - Debug"

-------------- Build: Debug in Test ---------------

mingw32-g++.exe -Wextra -Wall  -g    -I"C:\[edit]\SFML-2.1\include" -I"C:\[edit]\SFML-2.1\include"  -c "C:\Program Files (x86)\CodeBlocks\Developement Space\Test\Main.cpp" -o obj\Debug\Main.o
mingw32-g++.exe -L"C:\[edit]\SFML-2.1\lib" -L"C:\[edit]\SFML-2.1\lib"  -o "bin\Debug\Test.exe" obj\Debug\Main.o    -lsfml-graphics-d -lsfml-window-d -lsfml-system-d  -mwindows
Output size is 748.38 KB
Process terminated with status 0 (0 minutes, 2 seconds)
0 errors, 0 warnings

What error are you referring to? The program doesn't open at all, there is no error message. Trying to run it from CodeBlocks gives this
Quote
Process terminated with status -1073741819 (0 minutes, 19 seconds)
and the debugger still shows the same "segmentation fault"

5
General / Re: "SFML works!" tutorial not working
« on: December 09, 2013, 01:26:05 am »
Crap, it didn't work. I removed the global linking settings and recompiled it but it still wont execute

6
General / Re: "SFML works!" tutorial not working
« on: December 08, 2013, 10:42:43 pm »
Oh that's it! Thanks

7
General / Re: "SFML works!" tutorial not working
« on: December 08, 2013, 09:29:51 pm »
And we're back to my first statement:
If you're running in debug mode, make sure you link against the debug libraries, that is the ones with the -d suffix (e.g. sfml-system-d). :)

You're linking against the release libraries (without -d suffix) instead of the debug libraries in debug mode.

Quote
-------------- Clean: Debug in Test ---------------

Cleaned "Test - Debug"

-------------- Build: Debug in Test ---------------

mingw32-g++.exe -Wextra -Wall  -g    -I"C:\Users\[edit]\SFML-2.1\include" -I"C:\Users\[edit]\SFML-2.1\include"  -c "C:\Program Files (x86)\CodeBlocks\Projects\Test\Main.cpp" -o obj\Debug\Main.o
mingw32-g++.exe -L"C:\Users\[edit]\SFML-2.1\lib"  -o "bin\Debug\Test.exe" obj\Debug\Main.o    -lsfml-graphics -lsfml-window -lsfml-system -lsfml-graphics-d -lsfml-window-d -lsfml-system-d  -mwindows
Output size is 748.37 KB
Process terminated with status 0 (0 minutes, 1 seconds)
0 errors, 0 warnings
 

Is there anything wrong here?

I can see the -d

8
General / Re: "SFML works!" tutorial not working
« on: December 08, 2013, 06:36:33 pm »
Quote
-------------- Clean: Debug in Test ---------------

Cleaned "Test - Debug"

-------------- Build: Debug in Test ---------------

mingw32-g++.exe -Wextra -Wall  -g    -I"C:\Users\[edit]\SFML-2.1\include" -I"C:\Users\[edit]\SFML-2.1\include"  -c "C:\Program Files (x86)\CodeBlocks\Projects\Test\Main.cpp" -o obj\Debug\Main.o
mingw32-g++.exe -L"C:\Users\[edit]\SFML-2.1\lib"  -o "bin\Debug\Test.exe" obj\Debug\Main.o    -lsfml-graphics -lsfml-window -lsfml-system -lsfml-graphics-d -lsfml-window-d -lsfml-system-d  -mwindows
Output size is 748.37 KB
Process terminated with status 0 (0 minutes, 1 seconds)
0 errors, 0 warnings
 

Is there anything wrong here?

9
General / Re: "SFML works!" tutorial not working
« on: December 07, 2013, 05:43:48 pm »
My package is SFML-2.1-windows-gcc-4.7-tdm-32bits.zip and my compiler is the default GCC sjlj compiler that comes with CodeBlocks

10
General / Re: "SFML works!" tutorial not working
« on: December 05, 2013, 02:55:26 am »
Bump. Please help

11
General / Re: "SFML works!" tutorial not working
« on: December 04, 2013, 10:16:07 pm »
Just double checked that, debug has the -d

12
General / "SFML works!" tutorial not working
« on: December 04, 2013, 10:07:07 pm »
NOOB DISCLAIMER: I apologize if I missed something obvious or left important info out of my description, I am new to all of this.

I am trying to use SFML with CodeBlocks. I followed all the instructions on the SFML tutorial: http://www.sfml-dev.org/tutorials/2.1/start-cb.php and then copy and pasted the example code. It compiled with no errors or warnings, but it won't execute. The debugger says that

Quote
"Program received signal SIGSEGV, Segmentation fault.
In sf::String::String () (C:\[directory]\bin\Release\sfml-system-2.dll)"

I am not sure what that means or how to fix it.

Pages: [1]
anything