While i am building a project in STM32 AC6 software, I got the message 'building finished', but i am not able to run or debug due to the missing of binaries.The error code is as follows.Please help me
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
make: * [startup/startup_stm32f334x8.o] Error 1
startup/subdir.mk:18: recipe for target 'startup/startup_stm32f334x8.o' failed
make: * Waiting for unfinished jobs....
make: *** [src/syscalls.o] Error 1
src/subdir.mk:24: recipe for target 'src/syscalls.o' failed
check that your project path does not contain any signs "-" or spaces " ", it is mostly the raison.
Related
I created my own code in veins in traci file and built it. I have makefile error how can I solve in?
2 errors generated.
Makefile:177: recipe for target '../out/gcc-debug/src/veins/modules/application/ieee80211p/BaseWaveApplLayer.o' failed
make[1]: *** [../out/gcc-debug/src/veins/modules/application/ieee80211p/BaseWaveApplLayer.o] Error 1
make[1]: Leaving directory '/c/Users/sepideh/src/omnetpp-5.0/samples/veins/src'
make: *** [all] Error 2
Makefile:16: recipe for target 'all' failed
16:41:24 Build Finished (took 1m:9s.529ms)
I experienced the same problem. The solution for me was to configurate omnet++ without certain packages.
./configure WITH_OSGEARTH=no WITH_OSG=no WITH_QTENV=no
and then make like this:
make -j3
I am new to Google's protocol buffers and I am having trouble with cross-compiling it for arm. I am not able to find any concrete solutions to my problem using google.
The steps I am following:
./autogen.sh
./configure
make -s && make install
./configure --host=arm-linux-gnueabi CC=arm-linux-gnueabi-gcc --prefix=/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/ --with-protoc=/usr/local/bin/protoc
make
I get an error when I run make.
google/protobuf/stubs/common.cc:55:2: error: #error "No suitable threading library available."
#error "No suitable threading library available."
^
Makefile:3956: recipe for target 'google/protobuf/stubs/common.lo' failed
make[2]: *** [google/protobuf/stubs/common.lo] Error 1
make[2]: Leaving directory '/home/protobuf/protobuf/src'
Makefile:1544: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/protobuf/protobuf'
Makefile:1451: recipe for target 'all' failed
make: *** [all] Error 2
Any help would be much appreciated.
Edit: Im trying to generate LLVM from a c++ project, not build the LLVM system itself.
I'm trying to build LLVM through emscripten, but I need the header 'cpuid.h'.
/home/emsdk-portable/emscripten/1.37.21/build/project/main.cpp:35:10: fatal error: 'cpuid.h' file not found
#include <cpuid.h>
^~~~~~~~~
1 error generated.
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
CMakeFiles/project.dir/build.make:86: recipe for target 'CMakeFiles/project.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/project.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/project.dir/all' failed
make[1]: *** [CMakeFiles/project.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
According to this github cpuid.h should exist (Shouldn't it?) with the included clang, but neither I nor the program itself is finding it for the include.
Fastcomp is the default backend and as such I thought cpuid.h should be locateable by whatever my program is.
Any ideas on finding/fixing the problems? Thanks
I am using CodeSynthesis XSD (XML Data Binding Tool for C++) to auto-generate .hpp and .cpp files from a .xsd file. But when running xsd over my .xsd file, I am getting this error:
Could not load a transcoding service
I am using openSUSE Leap-42.2, Xsd 4.0 and Apache Xercess 3.1.4. Here are the detailed message:
Scanning dependencies of target XSDModel
[ 2%] Generating C++/XML mapping
Could not load a transcoding service
lib/CMakeFiles/XSDModel.dir/build.make:51: recipe for target 'src/model/Model.cpp' failed
make[2]: *** [src/model/Model.cpp] Error 255
CMakeFiles/Makefile2:76: recipe for target 'lib/CMakeFiles/XSDModel.dir/all' failed
make[1]: *** [lib/CMakeFiles/XSDModel.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
[ 2%] Generating C++/XML mapping
Could not load a transcoding service
lib/CMakeFiles/XSDModel.dir/build.make:51: recipe for target 'src/model/Model.cpp' failed
make[2]: *** [src/model/Model.cpp] Error 255
CMakeFiles/Makefile2:76: recipe for target 'lib/CMakeFiles/XSDModel.dir/all' failed
make[1]: *** [lib/CMakeFiles/XSDModel.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Edit 1:
I've built Apache Xercess with --enable-transcoder-gnuiconvswitch and iconv is installed on my machine as well.
Edit 2:
After some digging, I found that the echo $LANG command on my linux prints an empty line. In addition, running localedef -i en_US -f UTF-8 en_US.UTF-8prints this error:
character map file `UTF-8' not found: No such file or directory
cannot read character map directory `/usr/share/i18n/charmaps': No such file or directory
No locale has been defined on this linux. So, simply set a locale:
$ export LANG=en_US.UTF-8
and afterwards, everything will be fine.
I am new to Clion and C++ and your help is highly appreciated!!
My goal was to download a library to solve Ordinary Differential Equations.
The zip file was downloaded from http://headmyshoulder.github.io/odeint-v2/downloads.html
and unzipped in D:\myProjects\odeint. I use Windows 7 and MinGW.
The library can't be used as shown in the following image.
Here are the error reports.
D:\myProjects\main.cpp:3:51: fatal error: odeint/include/boost/numeric/odeint.hpp: No such file or directory
compilation terminated.
CMakeFiles\myProjects.dir\build.make:61: recipe for target 'CMakeFiles/myProjects.dir/main.cpp.obj' failed
mingw32-make.exe[3]: *** [CMakeFiles/myProjects.dir/main.cpp.obj] Error 1
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/myProjects.dir/all' failed
mingw32-make.exe[2]: *** [CMakeFiles/myProjects.dir/all] Error 2
mingw32-make.exe[1]: *** [CMakeFiles/myProjects.dir/rule] Error 2
CMakeFiles\Makefile2:78: recipe for target 'CMakeFiles/myProjects.dir/rule' failed
mingw32-make.exe: *** [myProjects] Error 2
Makefile:117: recipe for target 'myProjects' failed