stetre / moongl

Lua bindings for OpenGL
Other
124 stars 14 forks source link

Make doesnt compile? #12

Open sehf-dev opened 1 year ago

sehf-dev commented 1 year ago

Hey, I'm trying to set this up but keep having some problems with running make. I'm on windows using the normal cmd (Just case that might be a problem being most people with this are using mingw).

When I run "make" (Inside of the moongl folder of course) I get the error ->

The filename, directory name, or volume label syntax is incorrect. make: *** [Makefile:5: build] Error 1

So i tried "make Makefile" instead but got ->

make: Nothing to be done for 'Makefile'

Apologies if this is a dumb question, I have 0 experience with make files.

stetre commented 1 year ago

There are no dumb questions ;-)

The problem is that you are trying to compile it under Windows' command line. The library is developed for Linux and (in general) POSIX systems, but it can also be compiled under Windows using the MSYS2 environment.

For more details, see the MoonLibs installation instructions that hold for MoonGL and also for other libraries that you may need (such as MoonGLFW, MoonGLMATH, etc).

sehf-dev commented 1 year ago

Aaaah ok that makes sense. I swore there was a page I was missing (From my attempt of setting it up last time). Didnt get that message in msys so thumbs :D. Though I am getting the error "No such file or directory " but I probably just messed something up with the lua setup. Thanks for the help :)