FeedBackDevs / feedback

FeedBack - Music & Rhythm Game Engine
GNU General Public License v2.0
35 stars 2 forks source link

create_project.sh fails #12

Closed John-Colvin closed 10 years ago

John-Colvin commented 10 years ago

Building configurations... Running action 'gmake'... Generating Makefile... Generating Fuji.make... Generating FeedBack.make... [string "premake.make = {}..."]:47: attempt to call method 'gsub' (a nil value)

which then leaves FeedBack.make incomplete.

TurkeyMan commented 10 years ago

Yeah I spotted that the other day >_< It's a problem with the D extension for Premake (it's out of date against premake head). I've gotta take a few moments to track it down. The problem is almost certainly in feedback/bin/modules/d/actions/gmake.lua if you feel like having a peek :)

The workaround is to build fuji separately, using its own create_project.sh in the fuji root, and then make, make install that (requires a few dev packages to be present). After that, you can just build FeedBack on its own using whatever method you like, and use -lFuji when linking.

I wondered about trying to set it up to use dub since most people are familiar with that... but perhaps someone familiar with that would be better to set it up?

I'll try and make some time to install linux and get to this bug soon.

TurkeyMan commented 10 years ago

Fixed. Makefiles are properly generated (although that doesn't mean they work!) ;)

TurkeyMan commented 10 years ago

@John-Colvin Does it manage to link for you? If you don't mind, would you have a look at why it doesn't find any of the libs it's told to link? It's like it's not trying to link any libs, and I get unresolved externals for everything...