Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M1 macOs 编译报错 #6

Open
teg1c opened this issue Aug 26, 2021 · 2 comments
Open

M1 macOs 编译报错 #6

teg1c opened this issue Aug 26, 2021 · 2 comments

Comments

@teg1c
Copy link

teg1c commented Aug 26, 2021

/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
Copy link
Contributor

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

@teg1c
Copy link
Author

teg1c commented Sep 5, 2021

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

试了 还是不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants