dlfcn.h cannot be imported
-
- Posts: 4
- Joined: Fri May 03, 2019 4:11 pm
dlfcn.h cannot be imported
Right now libnx doesn't support importing libdl yet (I encountered this problem when trying to port a game). Anyone know what I can do about this?
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: dlfcn.h cannot be imported
We don't support dynamic libraries and have no plans to add support so you should patch out use of libdl where possible. There are numerous difficulties involved in attempting this on a console we're not supposed to run code on using an OS we don't control.
-
- Posts: 4
- Joined: Fri May 03, 2019 4:11 pm
Re: dlfcn.h cannot be imported
What about the OIS library?WinterMute wrote: ↑Sun May 05, 2019 2:01 am We don't support dynamic libraries and have no plans to add support so you should patch out use of libdl where possible. There are numerous difficulties involved in attempting this on a console we're not supposed to run code on using an OS we don't control.
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: dlfcn.h cannot be imported
You'll need to elaborate on your question a bit. What precisely are you asking? What's the OIS library and what about it?
-
- Posts: 4
- Joined: Fri May 03, 2019 4:11 pm
Re: dlfcn.h cannot be imported
Sorry, IIRC OIS is with SDL, so I'm guessing I'll have to use SDL for it. Anyway, right now I'm stuck on being able to import <GL/glew.h> as that isn't provided in the OpenGL packages for libnx. How would I work around it?WinterMute wrote: ↑Wed May 08, 2019 11:02 am You'll need to elaborate on your question a bit. What precisely are you asking? What's the OIS library and what about it?
Re: dlfcn.h cannot be imported
glew is not part of OpenGL, it's an independent library. And no sorry, we currently don't provide it either. We do provide glad and glfw though.
Donate to devkitPro - help us stay alive!
Who is online
Users browsing this forum: No registered users and 0 guests