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

Pages: [1]
1
General / Re: Program crashes from Windows, not from IDE
« on: June 04, 2014, 03:52:09 pm »
Can be closed.

the graphic in the release/graphics folder had the wrong size, whereas the graphic in the IDE had the right size.

2
General / Re: Program crashes from Windows, not from IDE
« on: June 03, 2014, 11:05:34 pm »
the program works fine when started from the IDE so I just guessed it is not the code which is the problem - that's why I didn't add it in the first place.

I updated the code, it is much more minimal now.

3
General / Re: Program crashes from Windows, not from IDE
« on: June 03, 2014, 10:44:04 pm »
ah silly me, I added the code in the Start post.

It is actually the SFML-Tutorial about vertices and views mashed together just for testing

4
General / Program crashes from Windows, not from IDE
« on: June 03, 2014, 10:22:53 pm »
Hello,

so I was trying to program something in SFML 2.1 with Microsoft Visual C++ 2010 Express. I downloaded and linked the 32bit version correctly and it all works fine - from the IDE.

When I double click on the .exe in windows, the window opens (filled with white) and windows says: "The .exe has stopped working."

I don't get it, because all the .dlls are in place (I even tried both linking dynamically and statically) and it works just fine when started from the IDE

>_o many despairs, such helpless

main.cpp
(click to show/hide)

map.h
(click to show/hide)

map.cpp is copied 1:1 from the SFML Tutorial for Designing your own Entitity with Vertex Shaders, Chapter Example Tile-Map (with two minor changes for supporting hexagonal tiles)
http://www.sfml-dev.org/tutorials/2.1/graphics-vertex-array.php#example-tile-map

Pages: [1]