Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Thanks for reporting. I will release an update soon. Hopefully it also resolves your issue.

Thank you! I really like this work (of art).

New update is out now. Please let me know if the error persists.

I'll try right away!

well, the error persists. Could be my OS and my GLFW version? I'm on debian10, GLFW v3.2.1-1

Native symbol not found (Symbol: glfwGetError)
   at Silk.NET.Core.Loader.LibraryLoader.ThrowSymbolLoading(String functionName)
   at Silk.NET.Core.Loader.LibraryLoader.LoadFunctionPointer(IntPtr handle, String functionName)
   at Silk.NET.Core.Loader.UnmanagedLibrary.LoadFunction(String name)
   at Silk.NET.Core.Contexts.DefaultNativeContext.GetProcAddress(String proc, Nullable`1 slot)
   at Silk.NET.GLFW.Glfw._B.get__GB()
   at Silk.NET.GLFW.Glfw.GetError(Byte*& description)
   at Silk.NET.GLFW.GlfwProvider.GetGlfw()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at Silk.NET.Windowing.Glfw.GlfwWindow..ctor(WindowOptions optionsCache, GlfwWindow parent, GlfwMonitor monitor)
   at Silk.NET.Windowing.Glfw.GlfwPlatform.CreateWindow(WindowOptions options)
   at Silk.NET.Windowing.Glfw.GlfwPlatform.GetView(Nullable`1 opts)
   at Silk.NET.Windowing.Window.GetView(Nullable`1 options)
   at Ambermoon.GameWindow.Run(Configuration configuration)
   at Ambermoon.Program.Main()

I saw that you updated again. Still with the same error. Thank you for looking into it.

Hm can you try to update to a more recent glfw version like 3.4? I guess 3.4 is required for the current game version.

(1 edit)

I did it. Then the error reduced to this:

Couldn't find a suitable window platform. (GlfwPlatform - not applicable) <a href="https://dotnet.github.io/Silk.NET/docs/hlu/troubleshooting.html
  ">https://dotnet.github.io/Silk.NET/docs/hlu/troubleshooting.html
  </a> at Silk.NET.Windowing.Window.GetView(Nullable`1 options)
   at Ambermoon.GameWindow.Run(Configuration configuration)
   at Ambermoon.Program.Main()
Press return to exit

I also noticed that the game creates a .net folder on my /home dir with lots of DLLs with libglfw3 included.

(1 edit)

I was intrigued about why 1.9.10 version worked and 1.10.[4] don't.

Then I ran the 1.9.10 and closed, got to the generated folder on /home/.net and copied the libglfw.so.3 file.

Then I ran the 1.10.4 just to the game make the new /home/.net folder and I threw the file libglfw.so.3 there... and it worked...

[edit] and, I'm sorry. I'm not an expert. When I installed glfw 3.4 first, I did it wrong. I build a file called "glfw3.a" only. i saw some instructions now and I had to set "cmake -DBUILD_SHARED_LIBS=ON" then "make all" first. Now the game works

(+1)

I am glad it finally worked.

If I understand you correctly the 1.9.10 works because it generates the .so file but 1.10.4 is not? Or is it now working with all versions after your fix?

The 1.10.4 generates the file too. But for some reason, the game doesn't run and shows that error. It worked when I took the file from the 1.9.10 and put on 1.10.4 folder. When I built the .so file from source also worked.