I upgraded to xcode 4.5 and also updated Kobold2d to version 2.0.4 and now I am getting this error when trying to build the project.
clang: error: no such file or directory: 'Items/Kobold2D/Kobold2D-2.0.4/KTireHoops/../__Kobold2D__/libs/GoogleAdMobAdsSDK/libGoogleAdMobAds.a'
Does anyone know what is wrong and how I can fix this?
Related
I was trying to compile my code using gcc 10.2.8 and I got this error:
scons: *** [S.os] Error 1
In file included from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/cstdio:42,
from Public_Library/C.h:10,
from Public_Library/D.h:11,
from Public_Library/RS.h:10,
from Projects/S/main.cpp:1:
/usr/local/Cellar/gcc/10.2.0_2/lib/gcc/10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
I found a few questions like this but the problem is I don't have Xcode on my mac and I have already updated my CommandLine tools several times and it did not work.
I'm using OSX 10.14.6 by the way.
I'm just gonna add this in case it might help others. I updated my OSX to big sure and installed Xcode but that did not help. What solved the problem for me was getting an unshallow version of brew with this command:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
and then updating and upgrading my brew.
brew update
brew upgrade
I create a pytorch extention, followed by this link
but it throws out the error that
fatal error: torch/extension.h: No such file or directory.
ubuntu 18.04
code::blocks 17.04
gcc 7.4.0
#include <torch/extension.h>
I expect the code to run.
Is there any document to fix this problem?
is the canonical header file that create Python bindings for C++/Cuda extensions.
So Try upgrading the version of Pytorch if it's not in newest version.
I Installed protobuffer 3.3.0 form a source code instead of version 2.6.1 used "make" to make caffe, tested it, and tried to compile faster_rcnn_cplusplus
Unfortunately it gives ma an error:
/home/adzhus/Workspace/Faster-RCNN-CPP-1/faster_rcnn_cplusplus/py-faster-rcnn/caffe-fast-rcnn/include/caffe/proto/caffe.pb.h:17:2: error: #error This file was generated by an older version of protoc which is...
Path is seems to be correct.
I also checked protoc --version which gives me libprotoc 3.3.0, but for some reason apt-get upgrade libprotobuf-dev gives me ibprotobuf-dev is already the newest version (2.6.1-1.3).
Could someone,please, advice how to fix the compilation error ?
Problem is solved for me.
I just copied caffe.pb.h from ...caffe-fast-rcnn/build/src/caffe/proto to ...caffe-fast-rcnn/include/caffe/proto
Im using Cocoapods as my dependency managment, but I am getting error every time i build now.
"Module file was created by an older version of the compiler"
And I only have xcode 8 installed, did a upgrade from xcode 7.
Deleting ~/Library/Developer/Xcode/DerivedData fix this issue.
I am getting the following error in Xcode 5.1: clang: error: unknown argument: '-fstack-check' [-Wunused-command-line-argument-hard-error-in-future]
My operating system is OSx Mavericks 10.9.
Any help would be greatly appreciated since this would allow my brother to complete the work for Stanford CS106b. I am aware that this question has been asked before on SO, but I have been unsuccessful after four hours of trying suggestions including:
Adding -fstack-check to the compiler flags under Compile Sources.
Typing export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future" in Terminal
Adding 'ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future' to ~/.bash_profile
Editing Scheme in Xcode, setting ARCHFLAGS to -Wunused-command-line-argument-hard-error-in-future
Adding a .plist file with ARCHFLAGS set to -Wno-error=unused-command-line-argument-hard-error-in-future
All of these attempts have resulted in the same error popping up when I click build. Here is the full error:
clang: error: unknown argument: '-fstack-check' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
clang: error: unknown argument: '-fstack-check' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
I will REALLY appreciate a solution since this has been consuming hours of my time, and it will give my brother a productive coding environment. Thanks!!
My guess is that 'fstack-check' isn't compatible with LLVM 5.0. I've tried compiling the C++ projects on XCode 5, XCode 6 beta on both Mavericks and Yosemite to no avail.
Finally I just installed XCode 4.6.3 it compiled without errors with LLVM 4. Just download it from here and it should work fine. Hopefully Stanford does release some updates to their existing libraries so it'll be compatible with the later versions of LLVM.