-
Notifications
You must be signed in to change notification settings - Fork 15
1>clang.exe: error: linker command failed with exit code 1 (use -v to see invocation) #8
Description
I build it but it has error. i cannt understand this. please help me
Build started... 1>------ Build started: Project: adrill, Configuration: Debug x64 ------ 1>ANDROID_HOME=F:\\Microsoft\AndroidSDK\25 1>ANT_HOME=D:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Apps\apache-ant-1.9.3 1>JAVA_HOME=C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot 1>NDK_ROOT=F:\\Microsoft\AndroidNDK64\android-ndk-r16b 1>ANDROID_HOME=F:\\Microsoft\AndroidSDK\25 1>ANT_HOME=D:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Apps\apache-ant-1.9.3 1>JAVA_HOME=C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot 1>NDK_ROOT=F:\\Microsoft\AndroidNDK64\android-ndk-r16b 1>main.cc 1>selinux.cc 1>sdk_code.cc 1>elf_dlfcn.cc 1>file_utils.cc 1>ptrace_wrapper.cc 1>call_procedure.cc 1>call_procedure-x86.cc 1>clang.exe: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] 1>clang.exe: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument] 1> undefined reference to 'CallProcedure::returnValue()' 1> undefined reference to 'CallProcedure::returnValue()' 1> undefined reference to 'CallProcedure::returnValue()' 1> undefined reference to 'CallProcedure::returnValue()' 1> undefined reference to 'CallProcedure::_setupCall(unsigned long, std::__ndk1::vector<long, std::__ndk1::allocator<long> > const&)' 1> undefined reference to 'CallProcedure::_checkCall()' 1> undefined reference to 'strtof_l' 1> undefined reference to 'strtod_l' 1>clang.exe: error: linker command failed with exit code 1 (use -v to see invocation) 1>D:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Application Type\Android\3.0\Android.Common.targets(119,5): error MSB6006: "clang.exe" exited with code 1. 1>Done building project "adrill.vcxproj" -- FAILED. 2>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug x64 ------ 2>Project not selected to build for this solution configuration ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 1 skipped ==========