Hello,
I have just installed nim-csfml using nimble and compiled the simple example:
import csfml
var window = newWindow(videoMode(800, 600), "SFML works!")
while window.open:
var event: Event
while window.pollEvent event:
if event.kind == EventType.Closed:
window.close()
window.display()
It compiled without any issue, I then placed the CSFML .dll's within the project folder and attempted to run the application, to receive the follow message;
This application has failed to start because libstdc++-6.dll was not found. Re-installing the application may fix this problem.
I believe the issue might have something to do with how I compiled the program but I am not 100% sure. I am running Windows and used;
nim c -d:release [filename]
Can anyone help me here?
Kirk
Hello rku,
I am using mingw compiler and ran a search within the directory and it did not return and results for libstdc++-6.dll. I then thought I would download the missing file and add it to the directory of my application.
I now get the follow error;
The prodcedure entry point _ZSt24 throw_out_of_range_fmtPkcz could not be located in the dynamic link library libstdc++-6.dll.
I have just tried moving the libstdc++-6.dll to my mingw bin directory and recompiling the application, it appears to link the .dll but again the same error. Would I need to build the .dll on my machine, if so can someone assist me with this?
Kirk