Irij Posted July 16, 2016 Share 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. Link to comment Share on other sites More sharing options...
Irij Posted July 21, 2016 Author Share Posted July 21, 2016 No one? Link to comment Share on other sites More sharing options...
jcsnider Posted July 21, 2016 Share Posted July 21, 2016 Try reading this guide through step 4. Basic initialization and rendering of 2d graphics. Nothing special but a start.   Link to comment Share on other sites More sharing options...
Irij Posted July 21, 2016 Author Share 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? Link to comment Share on other sites More sharing options...
jcsnider Posted July 22, 2016 Share 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. Link to comment Share on other sites More sharing options...
Irij Posted July 22, 2016 Author Share Posted July 22, 2016 I figured it out. Apparently you can't run the application using [STAThread]. Thank you. Link to comment Share on other sites More sharing options...
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