gabrielrcouto / php-gui

Extensionless PHP Graphic User Interface library
2.24k stars 175 forks source link

MacOS built only for 32bit? #180

Open samfch opened 4 years ago

samfch commented 4 years ago

Running image example didn't show the image. I'm using Mojave. Is it because of 32bit only lazarus built?

I've try to compile php-gui on Mojave and got this result: (3104) Compiling ./carbon/carbonbars.pp /opt/local/share/lazarus/lcl/interfaces/./carbon/carbonbars.pp(16,2) Error: (2023) User defined: only cpu i386 is supported (3104) Compiling ./carbon/carbonprivate.pp (3104) Compiling ./carbon/carbondef.pp /opt/local/share/lazarus/lcl/interfaces/./carbon/carbondef.pp(187,1) Fatal: (10026) There were 1 errors compiling module, stopping Fatal: (1018) Compilation aborted Error: (lazarus) Compile package LCL 2.0.8: stopped with exit code 1 Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"

here is the log when run the example: [33m=> Sent: {"id":0,"method":"setObjectProperty","params":[0,"caption","My PHP Desktop Application"],"callback":{}}=> Sent: {"id":3,"method":"callObjectMethod","params":[0,"icon.loadFromFile",["\/test\/phpgui\/php.ico"]],"callback":{}}=> Sent: {"id":4,"method":"createObject","params":[{"lazarusClass":"TImage","lazarusObjectId":1,"parent":0}],"callback":{}}=> Sent: {"id":5,"method":"callObjectMethod","params":[1,"image.setSize",[506,170]],"callback":{}}=> Sent: {"id":6,"method":"callObjectMethod","params":[1,"image.loadFromFile",["\/private\/var\/folders\/gb\/f0vylzf11r78bwlqcrz8lz_80000gn\/T\/phpuy8FgL"]],"callback":{}}<= Received: {"id": 3, "result": 0} <= Received: {"id": 4, "result": 1} <= Received: {"id": 5, "result": 1} <= Received: {"id": 6, "result": 1}