Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Sfml.Net cannot find csfml libraries  (Read 2975 times)

0 Members and 1 Guest are viewing this topic.

SpectralMemories

  • Newbie
  • *
  • Posts: 3
    • View Profile
Sfml.Net cannot find csfml libraries
« on: March 22, 2018, 12:17:32 am »
Hello friends!
I am trying to create a multi-platform game using sfml in c#, and so far everything works except one thing: the sfmlnet assembly cannot find the csfml ones, and throws a DllNotFoundException. I am using ubuntu linux and mono / monodevelop to create the program, so of course I use the linux csfml libraries.

I mapped the name to the dll withing mono successfuly, so the sfmlnet dll searches for the right file, without finding it.

I tried mapping the entire path, putting the dlls (absolutely all of them) in the same folder as the executable, with no avail.

If anyone know why the csfml dlls are not found (cause it it cranking me up :p ), I would be very grateful

Many thanks,
Alex

Garym

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: Sfml.Net cannot find csfml libraries
« Reply #1 on: April 04, 2018, 03:04:28 pm »
Hello,

I had the same problem last month.
From what I remember, you have to put the CSFML DLLs in the root folder of the project and then put them in "Copy if newer" mode as said in the tutorial.
Putting the CSFML DLLs in any other place than the root folder of the project caused me some compilation errors, but it was under Windows :/

I hope I helped you!