GarageGames / Torque3D

MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
MIT License
3.36k stars 1.2k forks source link

projectGenerator.command "PHP Fatal error: Cannot redeclare class Generator" #683

Closed jmullentech closed 10 years ago

jmullentech commented 10 years ago

http://pastebin.com/TsY6rqnL

I would try to push a commit with the modified files but I have no clue how to do so. Apologies on that note.

You can see on the PasteBin, my terminal output when trying to execute "projectGenerator.command" to create the needed make files. My PHP version is 5.5 from the Ubuntu repository.

I had to do a "Find & Replace" for the string "Generator" in every file that gave me the fatal errors and change "Generator" to "GeneratorX". This allowed projectGenerator to execute with no further errors and I was then able to build from source without a single problem.

If you'd like any further information, please fire away :)

Thanks guys.

LuisAntonRebollo commented 10 years ago

@jmullentech , Hi and thx for your report.

I assume you are using the master branch. This problem is fixed in the development branch where we prepare the new release of the engine. See this commit.

I would try to push a commit with the modified files but I have no clue how to do so. Apologies on that note.

Git can be a little difficult at first, but is an incredible tool ... worth learning.

At this time you can only build a dedicated Linux server with official repository. If you're interested in compile and use T3D on Linux, we are working on a port. See this thread..

If you have any questions, feel free to write to the thread. I try to help as I can.

crabmusket commented 10 years ago

I think it's safe to say this has been resolved.