Open TamaMcGlinn opened 3 years ago
Hi, while i appreciate the work and labor that went into this, there might be a misunderstanding as to how Libretro cores get built.
For most cores, we built it for each platform with a static Makefile. We only use cmake for cores where it is absolutely necessary because we are locked-in by an upstream because of it. For other cores where it's possible, we always try to make do with a static Makefile instead.
Also, for libretro cores we typically shy away from adding system level dependencies, so stuff like glfw would typically not be built in, or at least heavily edited so that there are no real runtime or compile-time dependencies.
The readme says to do 'cmake .' followed by 'make'. From your reaction I understand you will want most of the commits in this PR, but instead of removing the Makefile you will want to remove the CMakeLists and edit the readme to tell people to build some other way.
I thought it might be nice if the project could compile. The fixes on this branch are pretty obvious; don't point at files and directories that don't exist, don't assume stderr is available without including stdio.h, don't include a Makefile that gets overwritten by the build process.
After that, I'm still stuck with an error:
I'm guessing the order of the -l flags is incorrect, but I'm not sure where to look for those at the moment.