After some weeks of tinkering, and finding out why QT was refusing to compile Gideros (answer: MacPorts for some completely fucked-up and random reason installed QT4 without me ever asking, and QT4 and QT5 cannot be installed at the same time or stuff breaks), I compiled it.
But now my game does not run because it relies on the internal JSON that some recent versions of Gideros had, and seemly the source-compiled version does not (I get errors saying json cannot be found).
So... how I fix THAT problem? (ie: where is JSON?)
Comments
https://github.com/gideros/gideros/tree/master/plugins/JSON/source
And build it in QT (it has qt project file json.pro)
But most probably you can try linking it in .pro file something like:
LIBS += -L"c:/gideros/plugins/JSON/release" -ljson
There are noone that use OSX?
This is getting extremely frustating, and scary.
On OSX Plugins folder is two level up, because of .app file structure.
So create Plugins directory, in the same place where you have your .app on OSX and put created .dylib files there, so it should look like
/player/release/Gideros.app
/player/release/Plugins/json.dylib
(I suspected I needed a dylib and for a while I was trying to figure how to compile one... currently the output of compiling json is json.a not json.dylib I was HOPING I did not needed a dylib...)
But thanks!
That helps more already...
Also I copied said files EVERYWHERE and still cannot make it work.
Can you call Atilim here (that worked with OSX directly) to explain how the hell I make this work? This game should have been released MONTHS ago, there are now lots of very, very angry people on my neck.
EDIT: by brute force (ie: looking at ALL folders) I finally found where the builds are going....
I still want to know how to put them where I want (the place right now is very wrong)
https://github.com/ar2rsawseen/Json
instead of json.decode(contents) is has
Json.Decode(contents)
and instead of json.encode(data) it has
Json.Encode(data)
@atilim confirmed that you should create Plugins directory where your Gideros Player.app is
and put all dynamically loaded plugins there
as
/release/Gideros Player.app
/release/Plugins/plugin.dylib