Hey
Habe mal so bisschen was in c++ rumprobiert und habe es auch hinbekommen. Allerdings kommt beim debuggen immer der Fehlercode:
//
'"SFML.exe": "C:\Users\Moritz\Desktop\SFML\Debug\SFML.exe" geladen, Symbole wurden geladen.
"SFML.exe": "C:\Windows\SysWOW64\ntdll.dll" geladen, Cannot find or open the PDB file
"SFML.exe": "C:\Windows\SysWOW64\kernel32.dll" geladen, Cannot find or open the PDB file
"SFML.exe": "C:\Windows\SysWOW64\KernelBase.dll" geladen, Cannot find or open the PDB file
"SFML.exe": "C:\Users\Moritz\Desktop\SFML\Debug\sfml-graphics-d-2.dll" geladen, Cannot find or open the PDB file
"SFML.exe": "C:\Windows\system\sfml-window-d-2.dll" geladen, Cannot find or open the PDB file
"SFML.exe": "C:\Windows\system\sfml-system-d-2.dll" geladen, Cannot find or open the PDB file
Das Programm "[3496] SFML.exe: Systemeigen" wurde mit Code -1073741701 (0xc000007b) beendet.
//
Ich habe keine Ahnung wo genau der Fehler liegt.
Quellcode:
/////////////////////////////
#include <SFML/Graphics.hpp>
using namespace sf;
int main()
{
RenderWindow window(VideoMode(800, 600), "Unser erstes SFML Projekt");
CircleShape shape(100.f);
shape.setFillColor(Color::Green);
while(window.isOpen())
{
Event event;
while(window.pollEvent(event))
{
if(event.type == Event::Closed)
window.close();
}
window.clear();
window.draw(shape);
window.display();
}
return 0;
}
/////////////////////////////////
Danke für die Hilfe