All Questions
797
questions
0
votes
0
answers
13
views
How to fix "Unrecognized character" error in clearmake when using file names with spaces?
I have a Makefile created with cmake version 2.8.12.
When starting the build with "make" it works as intended. But when I try the same build with "clearmake" it failes like this:
...
1
vote
1
answer
36
views
Makefile .NOTPARALLEL: target, make the whole makefile not parallel, instead of just the specified target
According to Disabling Parallel Execution adding .NOTPARALLEL: target with prerequisites, makes the prerequisites run serially.
If the .NOTPARALLEL special target with no prerequisites is specified ...
0
votes
0
answers
53
views
The multi-task parallel mechanism of ”MAKE -j“ seems not to be working in a server environment
When I compile around 1700 files using make -j, it takes 13 minutes on an 8-core PC with 100% CPU load, whereas on a 56-core server, it takes 7 minutes but with only 10% CPU load.
Use MINGW64, ...
0
votes
0
answers
55
views
make: *** No rule to make target 'src/basic.out', needed by 'build' error while using makefile extension on vs code
I'm trying to build a C project on vs code with a Makefile. I'm also using the 'Makefile Tools' extension by Microsoft to help with the build. Now, if I build the project manually using the 'make all' ...
0
votes
1
answer
75
views
no matching function for call to ‘llvm::orc::ExecutorSymbolDef::ExecutorSymbolDef(llvm::JITEvaluatedSymbol&)
I'm trying to build a tool. It has support for LLVM 15.0.7. But when I'm trying to build it using LLVM 19, I get the following error. I want to pinpoint and understand why the error occurred and on ...
0
votes
2
answers
210
views
Android 8 Build Fails with "ANDROID_DATA not set and /data does not exist" Error
I am attempting to build AOSP 8, specifically build android-8.0.0_r22 using lunch 31.
About half way through the build, I have encountered some kind of error where the ANDROID_DATA directory cannot be ...
0
votes
0
answers
132
views
How can I switch GCC and G++ versions when using CMake to build openpose?
I'm trying to build OpenPose using the latest code on github. I'm working on Ubuntu 22.04. I'm following this guide: https://amir-yazdani.github.io/post/openpose/ . So far, when I try to build ...
0
votes
1
answer
56
views
Make errors when using external commands
I have a Makefile in my python project. I am getting issues when trying to build the target lint which is configured as:
lint:
pylint -j0 --ignore=src/_playground --extension-pkg-whitelist=...
0
votes
0
answers
158
views
c++/catch2: Automatic unit testing during build with dependencies
I'd like to add a number of unit tests to several components of my project, and I'd like them to run automatically when I build the corresponding .cpp file from a Makefile to ensure that my code is ...
1
vote
0
answers
137
views
Memset warning treated as error, based on its thrd argument [duplicate]
When built without AM_CXXFLAGS += -Wno-memset-elt-size on the AutoMake Makefile, i get this error:
error: ‘memset’ used with length equal to number of elements without multiplication by element size [-...
0
votes
1
answer
112
views
Automake - How to enable compiler warnings
I was instructed that the current Automake file disables some warnings, and we want full warnings in our build...
This is the relevant Automake lines.
AM_CXXFLAGS = -std=c++14
AM_CXXFLAGS += -Wno-...
0
votes
1
answer
100
views
vxWorks-6.9 Wind River 3.3.6 error message make.exe subdirs_all Error 2
I am using Wind River Workbench Version 3.3.6.3 20180920-2158 to build a project, getting the following error message:
C:\WindRiver336\utilities-1.0\x86-win32\bin\make.exe: *** [subdirs_all] Error 2
...
1
vote
0
answers
1k
views
make modules_install fails with depmod looking in wrong path when installing from build directory
I went through the following steps to try and build the Linux kernel in a dedicated build directory and then install it in another local directory:
Copied Linux kernel source tree to ~/linux
Ran make ...
0
votes
0
answers
81
views
Makefile error for fastText on windows - make (e=2)
I'm trying to use fastText on my windows computer and I when I try to build the project using make command (I installed Make v3.81), I have this error :
c++ -pthread -std=c++11 -march=native -O3 -...
1
vote
0
answers
57
views
armeabi-v7a executable compiles but .so doesn't?
I can successfully compile an executable with the following flags:
CXX_FLAGS = -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=softfp -funwind-tables -no-canonical-prefixes \
-...