Skip to main content

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.).

0 votes
0 answers
4 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
41 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
20 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
62 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
67 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
54 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
0 votes
0 answers
8 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
  • 1
-1 votes
0 answers
56 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
13 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
0 answers
49 views

DBT - Forcing dependencies dynamically when referencing a large number of tables

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
0 votes
0 answers
23 views

Gromacs with PTX

I want to generate the final gromacs library to contain ptx files. I have found that there are some options to (probably) achieve that, but I am not sure how I can use them. For instance, the file ...
MANOS's user avatar
  • 31
0 votes
1 answer
29 views

Kotlin slow compilation

I have a kotlin project and when i do mvn compile the project takes 30s+ to build. When using the -X flag it stops on this step for kapt and for the compiler for ~15s What should I do to make this ...
Prog's user avatar
  • 103
1 vote
0 answers
14 views

`_.template` lodash feature is not compiling when moving from offline to online in mobile app development

I am using _.template from lodash to create a compiled template for Emails subject in my app development. Its working good in online..When I do something in offline app(which is offline enable app) ...
Info Zip's user avatar
0 votes
1 answer
33 views

Nextjs module not found only when importing a simple sum function from my own npm library

I've been stuck on this issue for a couple of days. I hope there's a NextJS (14) compiler expert out there who could help me understand what I'm doing wrong. I have built a simple npm package ...
Maurizio Manca's user avatar

15 30 50 per page
1
2 3 4 5
1161