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

Pages: [1]
1
General / Re: Sf commands won't work
« on: June 27, 2015, 04:53:00 pm »
@eXpl0it3r & shadowmouse
I am using those two, which is why it's confusing me. I changed the compiler settings to the new 64 and even 32 bit, then rebuilt, compiled, built, then while seeing there were no errors, it's still giving me the .exe error.

@Jesper Juhl
Thanks, I'll be sure to try that and see if it works. I didn't even know you could build it yourself  :D

2
General / Re: Sf commands won't work
« on: June 27, 2015, 04:31:21 pm »
I updated it to 4.9.2 just now on the 64 bit version, then the 32 bit version, and it's still giving me the .exe error. I am really confused on how this works.

3
General / Re: Sf commands won't work
« on: June 27, 2015, 02:44:10 pm »
it's MinGW version 4.8.1. Does it not work with SFML 2.3, or did I install the wrong thing?

4
General / Re: Sf commands won't work
« on: June 27, 2015, 04:38:40 am »
it worked! no errors! thank you guys!

however there is a problem when i run the EXE.

it says
"The procedure entry point _ZSt24_throw_out_of_range_fmtPKcz could not be located in the dynamic link library C:\SFML\SFML-2.3\bin\sfml-graphics-2.dll."

5
General / Re: Sf commands won't work
« on: June 27, 2015, 01:59:45 am »
I'm following the tutorial for version 2.1 because I downloaded it after realizing I had 2.3 to try and help the problems suppress, but I'm still getting errors.

I have linked the .lib files, and I even tried changing the path a couple of times, such as putting .lib at the end of it which causes more problems, so I stopped doing that. Then I did the tedious thing which was start from C:\ then go through C:\SFML\SFML-2.0\lib\[library hpp example], and even then, it's coming up with this.

I do however don't know what you mean by DLLs. What DLLs and where are they?

6
General / Re: Sf commands won't work
« on: June 27, 2015, 01:40:05 am »

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

mingw32-g++.exe -LC:\SFML\SFML-2.0\lib -o bin\Release\DrawingAnObject2.exe obj\Release\DrawingAnObject2.o  -s  -lsfml-graphics -lsfml-window -lsfml-system
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x73): undefined reference to `sf::String::String(char const*, std::locale const&)'
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x9a): undefined reference to `sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int)'

obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x4b): undefined reference to `sf::RenderWindow::RenderWindow(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&)'
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x7d): undefined reference to `sf::CircleShape::CircleShape(float, unsigned int)'

obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x89): undefined reference to `sf::Color::Green'
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x8e): undefined reference to `sf::Shape::setFillColor(sf::Color const&)'

obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x9c): undefined reference to `sf::Window::isOpen() const'
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0xc4): undefined reference to `sf::Window::pollEvent(sf::Event&)'

obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0xf1): undefined reference to `sf::Color::Color(unsigned char, unsigned char, unsigned char, unsigned char)'
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x102): undefined reference to `sf::RenderTarget::clear(sf::Color const&)'

obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x10d): undefined reference to `sf::RenderStates::Default'
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x11b): undefined reference to `sf::RenderTarget::draw(sf::Drawable const&, sf::RenderStates const&)'

obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x129): undefined reference to `sf::Window::display()'
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x139): undefined reference to `sf::Window::close()'

obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x14a): undefined reference to `vtable for sf::CircleShape'
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x154): undefined reference to `vtable for sf::CircleShape'

obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x159): undefined reference to `sf::Shape::~Shape()'
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x164): undefined reference to `sf::RenderWindow::~RenderWindow()'

obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x1a6): undefined reference to `sf::RenderWindow::~RenderWindow()'
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x1bc): undefined reference to `vtable for sf::CircleShape'

obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x1c6): undefined reference to `vtable for sf::CircleShape'
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x1cb): undefined reference to `sf::Shape::~Shape()'

c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: obj\Release\DrawingAnObject2.o: bad reloc address 0x20 in section `.eh_frame'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
22 error(s), 0 warning(s) (0 minute(s), 0 second(s))

Is this what you mean?
Again, I'm sorry if I am messing up horribly. I am so new to this, I don't understand how you guys can do this lol.

7
General / Sf commands won't work
« on: June 27, 2015, 01:18:14 am »
Hello, I'm new to the forums, so I don't know if I am doing this right; creating a new thread. Sorry if I messed up, but anyways, I am following this tutorial (http://www.sfml-dev.org/tutorials/2.1/start-cb.php) and it keeps telling me this

||=== Build: Release in DrawingAnObject2 (compiler: GNU GCC Compiler) ===|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x73)||undefined reference to `sf::String::String(char const*, std::locale const&)'|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x9a)||undefined reference to `sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int)'
|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x4b)||undefined reference to `sf::RenderWindow::RenderWindow(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&)'|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x7d)||undefined reference to `sf::CircleShape::CircleShape(float, unsigned int)'
|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x89)||undefined reference to `sf::Color::Green'|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x8e)||undefined reference to `sf::Shape::setFillColor(sf::Color const&)'
|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x9c)||undefined reference to `sf::Window::isOpen() const'|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0xc4)||undefined reference to `sf::Window::pollEvent(sf::Event&)'
|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0xf1)||undefined reference to `sf::Color::Color(unsigned char, unsigned char, unsigned char, unsigned char)'|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x102)||undefined reference to `sf::RenderTarget::clear(sf::Color const&)'
|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x10d)||undefined reference to `sf::RenderStates::Default'|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x11b)||undefined reference to `sf::RenderTarget::draw(sf::Drawable const&, sf::RenderStates const&)'
|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x129)||undefined reference to `sf::Window::display()'|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x139)||undefined reference to `sf::Window::close()'
|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x14a)||undefined reference to `vtable for sf::CircleShape'|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x154)||undefined reference to `vtable for sf::CircleShape'
|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x159)||undefined reference to `sf::Shape::~Shape()'|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x164)||undefined reference to `sf::RenderWindow::~RenderWindow()'
|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x1a6)||undefined reference to `sf::RenderWindow::~RenderWindow()'|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x1bc)||undefined reference to `vtable for sf::CircleShape'
|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x1c6)||undefined reference to `vtable for sf::CircleShape'|
obj\Release\DrawingAnObject2.o:DrawingAnObject2.cpp:(.text.startup+0x1cb)||undefined reference to `sf::Shape::~Shape()'
|
||=== Build failed: 22 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

So I keep trying to change the build properties, I even uninstalled SFML three times, the first being version 2.3, then two times on version 2.0 . I  uninstalled and reinstalled my compiler which I thought was messed up, since it kept telling me there were no errors, but the build would come up with many errors, and it's still saying the same things. I really tried to figure this out on my own and by even trying to look through these tutorials, but nothing I am doing is seeming to work. I don't know how to make the SF commands process.

I also want to say I am VERY amateur in C++ and in Code::Blocks, so I'll try my best to see what you guys are saying if there is any fancy words or advanced techniques or stuff. I just really want to try and program and I feel terrible I can't even pass the FIRST tutorial to something that should be really simple.

Pages: [1]
anything