Since I updated to Xcode 7.2 I always get the following error when I try to compile a program using the make command:
iMac-de-Martin:~ Martin$ cd /Users/Martin/Desktop/iOS_OTA-Payload_Extractor-master
iMac-de-Martin:iOS_OTA-Payload_Extractor-master Martin$ make
make: error: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild didn't return any data
make: error: unable to find utility "make", not a developer tool or in PATH
iMac-de-Martin:iOS_OTA-Payload_Extractor-master Martin$
I tried to reinstall the Command Line Tools but it didn't help.
Related
This is my first time using Xcode Command Line Tools (13.2.1). I am following the instructions on how to build ncnn here: https://github.com/Tencent/ncnn/wiki/how-to-build#build-for-macos
Do I need to go into Xcode or can I just run the commands in the Terminal?
What is the function of Xcode Command Line Tools and how should it be applied in this case?
For further context I am converting a YOLOX.onnx model using these instructions: https://yolox.readthedocs.io/en/latest/demo/ncnn_cpp_readme.html
and I am getting the error when building ncnn: clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [tools/onnx/onnx2ncnn] Error 1 make[1]: *** [tools/onnx/CMakeFiles/onnx2ncnn.dir/all] Error 2
The directions to convert onnx to ncnn tell me to:
cd <path of ncnn>
cd build/tools/ncnn```
However I do not have a ncnn folder inside of my tools folder...
I did as the installation guide said:
"./configure", everything was fine;
"make", i got the following errors :
===== Compiling sim ====
YACC: expr.y
LEX: expr.lex
MSGC: sim_std.msg
make[2]: *** [Makefile:155:sim_std_m.cc] error 127
make[1]: *** [Makefile:118:sim] error 2
make: *** [Makefile:28:allmodes] error 2
PS:
The MD5 of "omnetpp-5.4-src-windows.zip" checks out;
Already tried with WinRAR and 7-zip to unzip, got same errors at the same stage;
Full path does not contain any space;
Even tried to install "omnetpp-5.3-src-windows.zip", got same errors at the same stage;
Also tried to install omnet++ with and without JDK(Java SE 10.0.1) + Mingw(or cygwin) installed, got same errors at the same stage;
Even tried to update the MSYS2 inside the omnet directory, then "./configure; make clean; make", got same errors at the same stage;
Already disable the Windows Defender;
I do exactly as installation guide says: run "./configure", "make (clean)" and other things in "mingwenv.cmd".
also tried to enable gcc instead of clang, same error;
I don't know what to do.
-------update-------
I reset my Win10, and then, first thing to do is try to install OMNet after the OS "come alive". Finally, it is OK.
Sorry i did not try any further. Thank you all.
I get the following error after updating to xcode 8 and I'm not sure how to fix.
Error:The C compiler "/usr/bin/cc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/username/Library/Caches/CLion2016.2/cmake/generated/CacheBack-27c25a9c/27c25a9c/__default__/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_e91e5/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_e91e5.dir/build.make CMakeFiles/cmTC_e91e5.dir/build
Building C object CMakeFiles/cmTC_e91e5.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_e91e5.dir/testCCompiler.c.o -c /Users/username/Library/Caches/CLion2016.2/cmake/generated/CacheBack-27c25a9c/27c25a9c/__default__/CMakeFiles/CMakeTmp/testCCompiler.c
cc: error: unable to find utility "clang", not a developer tool or in PATH
make[1]: *** [CMakeFiles/cmTC_e91e5.dir/testCCompiler.c.o] Error 72
make: *** [cmTC_e91e5/fast] Error 2
CMake will not be able to correctly generate this project.
Please check
xcode-select -p, make sure it points to Xcode 8 installation and run xcode-select --install after that.
I had to accept the license dialog after starting Xcode to get the updated components. After that I restarted Clion and it worked.
I am trying to install miktex on Ubuntu 14.04. I am following the instructions at http://miktex.org/howto/build-unx. But when I type the command make, the following error is shown:
make: *** No targets specified and no makefile found. Stop.
I tried the command ./configure, but it resulted in the following error:
bash: ./configure: No such file or directory
Anyone knows how to solve it??
I'm trying to build openssl 1.0.1h on linux, when I ran 'make' seems it looks for dmake and its not found on my system.
bash# make
making all in crypto...
/bin/sh: dmake: command not found
make: *** [build_crypto] Error 1
so I downloaded dmake 4.12 and tried to build it as well, but I encountered another strange issue.
I was manage to ran ./configure and it seems to be ok, but when running 'make' I'm getting:
dmake all-recursive
**make: dmake: Command not found**
make: *** [all] Error 127
I'm trying to build and install dmake but 'make' command is using dmake in my env.
What is the solution here? how can I build it?
echo $MAKE showed 'dmake'
some env script changed it from 'gmake' to 'dmake'
solution: export MAKE=gmake