Building is the process by which source code is converted into executable object code.
Questions tagged [building]
463 questions
2
votes
2 answers
What is the best way to check if I have a 32-bit or a 64-bit Linux?
I have to check in CMake script if I have a 32-bit or a 64-bit Linux in order to know how to build a C++ program. Which command is the best choice :
getconf LONG_BIT
arch
uname -m

vir2al
- 817
- 4
- 11
- 15
2
votes
1 answer
When running check on an R package, what does the "use ‘--force’ to remove the existing ‘INDEX’" message mean?
When running R CMD check on an R package I often see the following message stating that the INDEX is not up to date:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* checking whether ‘INDEX’ is up-to-date ... NO
* use ‘--force’ to…

skyebend
- 1,079
- 6
- 19
2
votes
3 answers
Building android source code error
When i try to building android source code using command make -j4 , i get error :
*** Done with the cleaning, now starting the real build.
Checking build tools versions...
build/core/base_rules.mk:130:
***…

kente
- 31
- 1
- 6
2
votes
3 answers
Problems building Drools 4 project in Eclipse
I'm having trouble compiling a drools 4 project. I'm getting errors in the rules file saying
Only a type can be imported. <> resolves to a package
The incremental compiler isn't working because of this. How do I fix the errors or get…

Tarski
- 5,360
- 4
- 38
- 47
2
votes
3 answers
Building Maven project without Maven
I have Maven project, but on one of servers I must build it without Maven.
It's possible using standard JDK commands. Where can I see what commands Maven sent to JDK while building project?

Ilya
- 29,135
- 19
- 110
- 158
1
vote
1 answer
Copy Resources while building project
How can I copy Resources subdirectory to TargetDir after Build?
I tried:
copy “$(ProjectDir)\Resources” “$(TargetDir)”
but this copy files, not directory
EDIT
xcopy /s “$(ProjectDir)\Resources” “$(TargetDir)”
gives the same result

Saint
- 5,397
- 22
- 63
- 107
1
vote
2 answers
removing *.o in makefile is not cleaning files
In makefile's clean i have written like rm -rf *.o. But its not cleaning files. If i have given rm -rf libdummy.o then its cleaning it properly. So if I use *, its not working as expected.
clean:
rm -rf *.o
rm -rf dummy.a
and the output…

rashok
- 12,790
- 16
- 88
- 100
1
vote
0 answers
build root for blackfin processor
i am trying to build a buildroot2011.08 for blackfin processor. i am facing following error in defconfig .
cp /home/santhosh/Desktop/santhosh/buildroot2011.08_bfin/buildroot-2011.08/output/build/linux-2.6.39.4/arch/blackfin/configs/myboard_defconfig…

santhosh
- 5
- 1
1
vote
1 answer
Godot 4 grid base item palcement
i want to make a open multiplayer rpg game with Godot 4. The problem is that, i have seen a video tutorial (here) and i came accross with this error:
Invalid get index '2' (on base: 'Array').
here is my code
extends Node2D
@onready var camp_fire…

nicktehboy meny
- 68
- 7
1
vote
1 answer
Cannot build Perl libgd on Mac Perlbrew environment
I was using Mac OS 12 and Perlbrew with Perl 5.36.
When I install GD using either CPAN or cpanm I get the following error:
cpanm (App::cpanminus) 1.7046 on perl 5.036000 built for darwin-2level
Work directory is…

thran
- 137
- 10
1
vote
0 answers
R-package dll not generated during installation
I am writing an example of an R-package that uses C++ to call a C-function from an external library (I used the chron.dll from the R-package chron).
The version of R is R-4.2.2. On my machine (Windows 10) rtools42 is installed in C:/Program Files…

gcc
- 120
- 8
1
vote
0 answers
android studio Native C++ template project [CXX1405] error when building with cmake using CMakeLists.txt: C++ build system [configure] failed
I have an error message when I try build grandle Native C++ template project on android studio, I've not modified anything in the files, it's just a simple template project.
Console log:
> Task :prepareKotlinBuildScriptModel UP-TO-DATE
[CXX1405]…

odeen98
- 11
- 1
1
vote
1 answer
How do I get include diretives to look like `"common/Common.h"` with CMake?
I have a C++ project using CMake I want my #include to give some idea as to were the thing they are including comes from without having ... For the example below I can use Common.h from MainWindow.h by using either #include "Common.h" or #include…

Whimax07
- 11
- 1
1
vote
0 answers
Error with react-app-rewired build when building the app : "Unexpected token"
I have been trying several times, changing with some libraries or updating others, but nothing, I don't understand why it worked fine for me a few weeks ago and now it doesn't want to build. I hope you can shed some light on this problem, because I…

JmC
- 31
- 2
1
vote
0 answers
Make pyenv build python with different sqlite version
I'm using ubuntu 22.04 and python version installed there is '3.10.4' while sqlite version is '3.37.2'. I need to use python '3.9.5' and sqlite '3.31.1' because the server that my code will live uses that.
Using pyenv fixes the problem for python…

Paulo
- 63
- 6