nmeum / android-tools

Unoffical CMake-based build system for android command line utilities
Apache License 2.0
177 stars 51 forks source link

Error: vendor/CMakeFiles/libadb.dir/build.make:73: *** target pattern contains no '%'. Stop. #110

Closed Jacky323 closed 11 months ago

Jacky323 commented 1 year ago

like title said. I try to compile android-tools 30.0.5 in Debain.bulleye docker container. command(cmake ..) executed well, but I got an error when I execute the command(make adb), error message followed: image

anyhelp can you give? thanks.

Biswa96 commented 1 year ago

Could you try the latest version 34.0.0? Is it possible to reproduce the issue in Linux distribution other than any Debian family?

Jacky323 commented 1 year ago

@Biswa96 hi, I can compile android-tools 29.0.6, but doesn't work well with android-tools 30.0.5. can you tell me what version of cmake and gcc on your os?

Biswa96 commented 1 year ago

can you tell me what version of cmake and gcc on your os?

gcc 12.2.1 clang 15.0.7 cmake 3.26.3

Biswa96 commented 1 year ago

I can compile android-tools 29.0.6, but doesn't work well with android-tools 30.0.5.

May I ask why you are compiling old releases? The old releases can not be compiled with the latest toolchain in my system due to many compiler error. But your issue seems to be in the generated make files.

Biswa96 commented 11 months ago

Issue can not be reproduced.