Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [compilation]

Compilation is the transformation of source text into some other form or representation. The most common usage of this tag is for questions concerning transformation of a programming language into machine code. This tag is normally used with another tag indicating the type of the source text such as a programming language tag (C, C++, Go, etc.) and a tag indicating the tool or compiler being used for the transformation (gcc, Visual Studio, etc.).

compilation
0 votes
0 answers
11 views

how to have image file and mp4 file in 1 exe file [closed]

does anyone know how I can have an a batch file which opens an image file and an mp4 file, which will then be compiled into an exe. I want to know if there is a way I can make the exe where it doesent ...
bobby's user avatar
  • 11
0 votes
0 answers
15 views

Unable to Compile Modified _criterion.pyx in scikit-learn with Cython

I made some small changes to _criterion.pyx in the scikit-learn project and I'm struggling to recompile it. Here's a summary of the problem and the steps I have taken so far: Failed Approaches: 1. ...
Gojih's user avatar
  • 11
0 votes
1 answer
82 views

using std::mutex without including it

I am trying to build openrave on the production branch and I can't understand what I am seeing. The code looks like it isn't including #include <mutex> but it is making use of std::mutex ...
Pinknoise's user avatar
0 votes
1 answer
50 views

How can I add a "std=c99" flag to cc when compiling using cargo?

I'm trying to install ripgrep (link to repo) with the pcre2 feature from source. To do so I run the command cargo build --release --feature 'pcre2' to build the exec. When doing so, cargo tries to ...
m.raynal's user avatar
  • 3,055
0 votes
0 answers
12 views

Can't build pkgconfig on macOS: incompatible integer to pointer conversion

I am trying to build pkgconfig 0.29 on macOS, using clang. I get these errors: gatomic.c:392:10: error: incompatible integer to pointer conversion passing 'gssize' (aka 'long') to parameter of type '...
Arno's user avatar
  • 301
-5 votes
0 answers
51 views

How do i interact with an image in C [closed]

Ok so i wanted to write a program that could take an image check each individual pixel's color in a frame and assign it a greyscale number just by dividing the RGB value by 3. the problem is that i ...
typhrenn's user avatar
0 votes
0 answers
22 views

g++ print source-mapped file path in error

I have a C++ file that I'm compiling with g++ with the -ffile-prefix-map option. Is there a way to tell g++ to print the remapped file name when there are build errors? That way, clickable file names ...
The Bic Pen's user avatar
  • 1,078
0 votes
1 answer
66 views

How do C++ 20 modules resolve same function name problems in different modules?

I'm trying to apply C++ 20 modules to my new project, but currently met with a big problem. Say I have 3 modules, mod1.ixx with mod1.cpp mod2.ixx with mod2.cpp mod3.ixx with mod3.cpp and here's ...
Nekomiya Kasane's user avatar
1 vote
2 answers
71 views

Does including a header obviate the need for extern declarations?

On page 33 of K&R (The C Programming Language, 2e), they remark that If the program is in several source files, and a variable is defined in file1 and used in file2 and file3, then extern ...
EE18's user avatar
  • 147
0 votes
0 answers
58 views

How to compile for Linux when on Windows using Code::Blocks?

I have a console app which I want to compile for Linux. I don't have access to a Linux operating system at the moment, but I really do need to compile this program for as many operating systems as ...
hosain's user avatar
  • 1
1 vote
1 answer
23 views

Understanding GCC Compilation: Preprocessing vs Linking with Libraries

I have a question regarding compilation with GCC. I have a slight confusion that I believe I've figured out but would like confirmation on. In the first compilation step, preprocessing (cpp) organizes ...
DLR's user avatar
  • 11
-1 votes
0 answers
62 views

Segmentation fault in Debug mode with boost::system::error_code

I had a task to investigate bug (segmentation fault) in our component that happened when it was compiled in Debug mode (component worked when compiled in Release mode). I found the problem in ...
Ivan Stimac's user avatar
0 votes
0 answers
23 views

Compiling threaded FFTW3 for Windows via WSL/MinGW

I've been trying to use the multithreaded version of FFTW with fftw_init_threads() etc. After downloading the zip from the windows FFTW page, I tried using these functions but VS2022 said the symbols ...
AnthonyML's user avatar
1 vote
0 answers
16 views

Compile Kotlin desktop application into single exe

I've got a Kotlin desktop application that I compile with Gradle into a self-containing distributable folder. However, that output folder contains 372 files making it difficult to publish so I zip it ...
t3chb0t's user avatar
  • 18k
0 votes
1 answer
65 views

DBT - Forcing dependencies dynamically using dbt_utils.get_column_values()

I have a set of 35 models corresponding to objects of different types in my staging layer which I union in my intermediate layer. For the sake of this post I have replaced the data source that I am ...
MattSt's user avatar
  • 1,163

15 30 50 per page
1
2 3 4 5
1161