easysoft / phpsciter

The php extension of sciter. You can use it to build cross platform GUI app by php.
Apache License 2.0
58 stars 6 forks source link

M1 macOs 编译报错 #6

Open teg1c opened 3 years ago

teg1c commented 3 years ago
/bin/sh /Users/tegic/Documents/www/phpsciter/libtool --mode=link cc -DPHP_ATOM_INC -I/Users/tegic/Documents/www/phpsciter/include -I/Users/tegic/Documents/www/phpsciter/main -I/Users/tegic/Documents/www/phpsciter -I/opt/homebrew/Cellar/php@7.4/7.4.19_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.19_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.19_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.19_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.19_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.19_1/include/php/ext/date/lib -I/Users/tegic/Documents/www/phpsciter/include  -DHAVE_CONFIG_H  -g -O2    -o phpsciter.la -export-dynamic -avoid-version -prefer-pic -module -rpath /Users/tegic/Documents/www/phpsciter/modules  lib/window/mac/php-window.lo src/sciter-callback.lo src/sciter-value.lo phpsciter.lo phpsciter_application.lo src/sciter-zend-request.lo src/sciter-op_array-life.lo src/sciter-zend-api.lo lib/sciter-util.lo -Wl,-rpath,/Users/tegic/Documents/www/phpsciter/lib/sciter/mac -L/Users/tegic/Documents/www/phpsciter/lib/sciter/mac -lsciter-osx-64 -lstdc++
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/phpsciter.so -bundle  lib/window/mac/../../../.libs/php-window.o src/.libs/sciter-callback.o src/.libs/sciter-value.o .libs/phpsciter.o .libs/phpsciter_application.o src/.libs/sciter-zend-request.o src/.libs/sciter-op_array-life.o src/.libs/sciter-zend-api.o lib/.libs/sciter-util.o  -L/Users/tegic/Documents/www/phpsciter/lib/sciter/mac -lsciter-osx-64 -lstdc++  -Wl,-rpath -Wl,/Users/tegic/Documents/www/phpsciter/lib/sciter/mac
clang: error: no such file or directory: 'lib/window/mac/../../../.libs/php-window.o'
make: *** [phpsciter.la] Error 1
LeiZhang-Hunter commented 3 years ago

尝试过make clean,然后重新编译了吗

teg1c commented 3 years ago

尝试过make clean,然后重新编译了吗

试了 还是不行