Can't get premake working - gltut demos

2019-06-27 16:33发布

问题:

https://bitbucket.org/alfonse/gltut/downloads

this is the repository for the several tutorials in this online-book

http://www.arcsynthesis.org/gltut

the author uses premake as alternative to cmake, and i have tried every possible command line options but nothing works.

I don't get why the author wants to use the latest tool on earth but i need to solve this and i don't even have a clue about Lua and this tool.

For who wants to help me with this you have to download this to actually build the demos and put it in the root folder of your gltut project.

The URL for the mercurial repository is

hg clone https://bitbucket.org/alfonse/gltut

My OS is Ubuntu 12.04 64 bit.

回答1:

I just noticed that the premake version that comes with Ubuntu 12.04 is the 3.7, just download a newer version from the 4.x branch and the problem is solved.