Irij Posted July 16, 2016 Posted July 16, 2016 Does anyone have a link or anything to help me with the basic initialization for 2D rendering in SFML? Would greatly be appreciated.
jcsnider Posted July 21, 2016 Posted July 21, 2016 Try reading this guide through step 4. Basic initialization and rendering of 2d graphics. Nothing special but a start.  Â
Irij Posted July 21, 2016 Author Posted July 21, 2016 Now every time I try to run it, I get an error  Quote An unhandled exception of type 'System.IO.FileNotFoundException' occurred in CityStates.Client.exe Additional information: Could not load file or assembly 'sfmlnet-window-2, Version=2.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.  I've added the sfmlnet-window-2.dll and all the other ones to the references, even added the csfml extlibs to the output and I get this error. Any reason as to why?
jcsnider Posted July 22, 2016 Posted July 22, 2016 Best guess would be that you forgot to add the csfml-window .dll to the correct folder or you are using different csfml and sfmlnet dll versions.
Irij Posted July 22, 2016 Author Posted July 22, 2016 I figured it out. Apparently you can't run the application using [STAThread]. Thank you.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now