I'm getting an error when trying to make ffmpeg on my intel mac, iPhone SDK 3.1, using the same command lines that were used here, and using the latest checkout of ffmpeg from svn. Here's the error that I'm getting:
CC libavcodec/apedec.o
AS libavcodec/arm/dsputil_arm.o
/bin/sh: /usr/local/bin/gas-preprocessor.pl: Permission denied
make: *** [libavcodec/arm/dsputil_arm.o] Error 126
My gas-preprocessor.pl file is in /usr/local/bin..
Any ideas? I feel like I might be missing something really trivial here. Why is gas-preprocessor throwing a permission denied?
I had something like that before.
I copied the gas-preprocessor.pl to /usr/bin and it worked like a charm.
Good Luck!
Related
So I am trying to learn C++ and I am using VS Code as my editor, and when I write my code and attempt to compile in the terminal, I get an error message saying "xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun"
What does this mean, and how would I go about fixing this?
Thanks
Did you allready ran xcode-select --install in Terminal ? This will download and install the Command Line Tools package .
I am currently ubuntu 18.04 (lts) asop build in.But an unexpected problem is occurring and over and over again.This is something wrong?
It's my development environment.
Python - 2.7.17
openjdk - 8
$user#ubuntu:~/android_build$ source ./imx-p9.0.0_2.2.0-ga/imx_android_setup.sh
$user#ubuntu:~/android_build$ lunch aosp_arm-eng
$user#ubuntu:~/android_build$ make -j 9 2>&1 | tee build-log.txt
build-log.txt -->
https://drive.google.com/file/d/1LsM_H1moCVVzyZ21Gm3SOV-x3OUlGYQm/view?usp=sharing
If you have any additional requirements, please write them down.
After reviewing your log, it looks like some file is missing in the vendor/nxp directory
vendor/nxp/fsl_imx_omx/OpenMAXIL/src/component/common/UniaDecoder.h:21:10: fatal error: 'fsl_unia.h' file not found
#include "fsl_unia.h"
^~~~~~~~~~~~
1 error generated.
Please check the codebase whether fsl_unia.h is added properly.
After updating from Xcode 8.1 to 8.2, I am facing a Swift Compiler Error in my project. I am using the latest Swift version and Carthage for dependency management. It worked perfectly fine with Xcode 8.1, and now I have tried for hours to fix it by cleaning DerivedData and Simulator data, cleaning in Xcode and deleting the Build folder but nothing seems to help. I only have one Xcode version installed.
I get the following compile error:
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
cd <ProjectSource>
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk
export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
-- all files to compile --
unknown>:0: error: unexpected input file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code
The folder that it is referring to looks like this:
It is actually there so I have no clue about what is going on...
Help is much appreciated! :)
I had the same kind of issue and the comments helped me figure out my problem.
Indeed, this error occurs when there is a typo or an error with the "Other Swift Flag" option. In my case, this option was passed empty by my CI engine causing an error to the generated command line leading to the error :
"error: unexpected input file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk"
As suggested in the comment, remove all Other Swift Tag except "$(inherited)" and check it works back as expected
Answering the question instead of commenting may help people straight forward :)
In my case it was simply because I had a file called .Swift (mind the capital S!). I renamed it correctly to .swift and all went fine.
When I try to compile TOSSIM in tiny OS v-2.0.2 , this is the error that it is giving me:
# make micaz sim
Makefile:2: /opt/tinyos-2.1.0/support/make/Makerules: No such file or directory
make: *** No rule to make target `/opt/tinyos-2.1.0/support/make/Makerules'. Stop.
How to remove this error?
Did you run a ./configure ? This is usually the config script used by make files, but sometimes people use strange build systems so I'd look around in the project's root directory for something else relating to configuring or installing. There should also be a text file called 'INSTALL' which helps.
The usual build commands are:
./configure
make
make install clean
I followed many tutorial to set up a unit testing project for Iphone but i always get the same "permission denied" error when i build the project.
Here is what i do :
Get the latest source for Iphone Unit Testing
Follow the instruction to set up the unit testing framework (Create a new project, add a new target, copy the necessary toolbox files into my project, add the script to my target, etc)
Build the project (Emulator closed)
I expected :
Executed 0 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
But i have the following error :
/vdaTest/Calculation/build/Calculation.build/Debug-iphonesimulator/unitTest.build/Script-7BDF2E1A10172C2000279979.sh: line 2: /vdaTest/googleToolBox/RuniPhoneUnitTest.sh: Permission denied
I'm using this version of the toolBox:
Revision 158: /trunk
On :
Mac OS X version 10.5.7
I'm using Xcode 3.1.3 with Iphone simulator 3.0
I've search here and on google for that error but i didn't find anything... Any help would be greatly appreciated !
Thanks,
Vincent.
Big thanks to the xcode-users mailing list! This solution works on my mac:
chmod +x RunIPhoneUnitTest.sh
This might do the trick. "Permission denied" is the error you get when you try to tun a shell script that is not executable.