Most voted "compilation" questions
Compilation is the process of producing information, typically a program to be run by a computer, from a source (or sources) being typically text in a computer programming language. DO NOT USE this tag for build errors. It should be used for the process.
Learn more…168 questions
Sort by count of
-
3
votes2
answers384
viewsCode Review at compilation time
I need to do an automatic Code Review on my codes. We used the Jenkins that triggers the compilation with some other validations every day, but at non-commercial times. As the project is very…
-
3
votes1
answer133
viewsError when building project with bilbioteca Commons-Email-1.4
In my project I needed to add the option of sending emails I added the library commons-email-1.4 I wrote all the code and tested it. So far everything perfect but when cleaning and building the file…
-
3
votes0
answers92
viewsOptimization of poorly compiled
I set up Visual Studio to compile VC++ with /Ox and compiled this code (with more others that were omitted to simplify). union { unsigned long long u64 ; unsigned short u16[4] ; } x ; union {…
-
3
votes1
answer1970
viewsProblem with Pow() function
Would someone tell me why the following code does not compile? #include <math.h> double f(double x){ return (x - (pow(2,x))); }
-
3
votes1
answer718
viewsDifference between Ahead-Of-Time and Just-in-Time compilation
While you were reading about templates for ASP.NET I saw that one had support for AOT (Ahead of Time) and the other said nothing. I have been researching on the subject and I could not understand…
-
3
votes1
answer463
viewsWhat is object code?
What is object code? What is object code for? What is the process of translating object code into machine code called? I’ve seen talk until the language C uses Assembly as object code, is that…
-
3
votes3
answers81
viewsIs it possible to use functions in an arbitrary order in C++?
Apparently, the order in which functions are written matters in C++. Example, this code compiles: #include <iostream> using namespace std; int add_number(int x, int y){ return x+y; } int…
-
2
votes1
answer277
viewsError in runtime VB6
I have a DLL that was created in . NET and I need it to run as COM+. code in . NET: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace thiago.dll.NET {…
-
2
votes1
answer325
viewsMSBUILD - How to Publish Multiple Single Solution Projects (OSGI)
I’m in need of some help publishing my projects. I am using OSGI to modulate my application, with consequence in my Solution there are several WEB applications. Ex: Solution A 1. Aplicação 1 2.…
-
2
votes3
answers237
viewsDifferent outputs on different compilers
I have this code: #include <iostream> int main(int x=1) { while (x <= 1000 && std::cout << x++ << std::endl) {} } I wrote it on Gedit, using Debian, and compiled it with…
-
2
votes1
answer271
viewsJDK 1.8 Genexus X Ev. 2
I wonder if the Genexus X Ev.2 or higher already allows compiling programs generated in Java with JDK 1.8. I have to do something different?
-
2
votes1
answer426
viewsHow to debug in Code::Blocks using the VS 2010 Express compiler
I am using the Visual Studio 2010 Express. The problem is that Syntax Highlighting is very weak and the intellisense (feature that shows the attributes of objects in how much "you" type) also leaves…
-
2
votes1
answer105
viewsHow do you implement a "Preprocessor" Annotation?
I learned that Annotations in Java are just a way to inject metainformation into the code. However, I have seen that frameworks and some libraries have Annotations that "magically" generate code or…
-
2
votes1
answer183
viewsLearn ABC in C language?
As I do in this code, when he type a letter read by the keyboard with the type scanf (char) it repeats until the Z? #include <stdio.h> #include <stdlib.h> int main() { char c; /*for (c=…
-
2
votes2
answers358
viewsDoubt about compilation in C/C++
I started studying the compilation of multiple files and I had a question. When we create a new header, we have to create another file with the implementation of the prototypes contained in the…
-
2
votes1
answer1145
viewsCompiling with g++
I am compiling an example code provided on the GLFW bookstore website as follows: g++ main.cpp -o main.exe glfw3dll.a <- this way it is possible to compile, but what if I want to change the files…
-
2
votes1
answer525
viewsBuild Output: Consider app.config remapping of Assembly
I am receiving the message below regarding several Assemblies, the project compiles and runs normally, however, wanted to know how to solve and whether it can cause future problems. Consider…
-
2
votes0
answers462
viewsCompile Apk Android Cordova
When I try to compile, the following message is returned: But it turns out it’s all installed, Github, Android SDK, Java, Node.js I configured the environment variables in the PATH, created the…
-
2
votes1
answer334
viewsCreate python executables (portability)
I have python code developed on macos system. It is possible to generate executables to run on other systems (windows, linux)? Example: the file file.py was written and tested on macOS system, but I…
-
2
votes1
answer66
viewsWhat are the differences between BUILD_STATIC_LIBRARY and BUILD_SHARED_LIBRARY?
In trying to compile, I came across these two options, in my case only one worked, which led me to the questions: What one could have, that the other doesn’t have? What advantage, and disadvantage…
-
2
votes0
answers14
viewsEclipse - How to deny build/build access to specific users
Good afternoon! We are using here in the company the Eclipse with Integration to TFS (Team Foundation Server) to do versioning of files. However, we also need to control which users will have access…
eclipse compilation team-foundation-server active-directory buildasked 8 years, 6 months ago Murilo lima alves 21 -
2
votes2
answers145
viewsError compiling code with import java.util.Random; Random.nextInt()
I’m studying the Java programming language and I found an obstacle, by some chance I can not compile this code import java.util.Random; public class Random { public static void main(String[] args){…
-
2
votes0
answers1018
viewsDelphi compiled program does not open
Good afternoon, I have software written in Delphi and noticed that the following problem occurs: If I use the option to compile in debug mode, the executable is 32MB and works correctly. If I use…
-
2
votes2
answers98
viewsEvaluation of conditional expressions in Java
I’ve been observing that conditional expressions in Java that are formed only by literals or constants (or operations between them) are evaluated in different ways. Therefore, the code below…
-
2
votes2
answers3980
views"Undefined Reference" error when compiling in C
I have a simple program where when compiling an error Undefined Reference to `increment'| main.c: #include <stdio.h> #include "incrementar.h" int main() { printf("Numero incrementado%d!",…
-
2
votes1
answer1397
viewsHow do I correct "indefinite reference to 'function' in C?
Here is a simple example of TAD, which shows the error. file. h #include <stdio.h> #include <stdlib.h> int teste(); file. c #include "arquivo.h" int teste() { int a=5, b=10; return a+b;…
-
2
votes0
answers153
viewsHow to run a Java application with Play framework at the prompt?
I have a large system developed in Java using the Play, but this system was developed in the Linux, and now I need to spin it in Windows. There is a script to compile on Linux (run.sh.template). I…
-
2
votes1
answer376
viewsHow to make a "compilation" of the code in Python?
Knowing that Python is an interpreted language, is there any way to compile the program in Python? By this I mean, how to check syntax errors without having to wait for such part of the program to…
-
2
votes2
answers1181
viewsCompilation error: The literal ... of type int is out of range
CadastroDePessoasFisicas c2 = new CadastroDePessoasFisicas("636.363.635"); System.out.println(c2.getNumero()); System.out.println(c2.getNumeroValidador());…
-
2
votes1
answer180
viewsOn the inclusion of headers (.h) and due compilation
Assuming I create a file .h for the specification of a function func. h #ifndef FUNC_H #define FUNC_H int xPy(int x, int y); #endif //FUNC_H and then created the implementation of this function in a…
-
2
votes1
answer35
viewsWhat is the difference between build and link?
I’ve seen some representations where the build is in the same place as when linkage, both are the same thing?
-
2
votes1
answer15
viewsProblem compiling Math. h
Good evening, when I try to use some function of Math. h and put as argument a variable and try to compile I get an error. Can you explain to me why this is happening? Follow an example code:…
-
1
votes1
answer6165
viewsHow to create a . jar file appropriately?
I, who am totally new to Java, am trying to compile a "Hello, World!" project. I followed a few steps of this topic Stack Overflow in English. I followed all the steps, but when I open my jar, it’s…
-
1
votes1
answer809
viewsIs there a way to generate release releases in the old Delphis directly from the IDE?
In the latest versions of Delphi we can easily generate a version of the executable for distribution by simply running the compilation by the option Release. This removes several useful points for…
-
1
votes2
answers84
viewsHow does the compiler work in the case of a casting like this?
Having the code to follow: 0 #include<stdio.h> 1 2 int 3 main(void) 4 { 5 int x; 6 x = -3; 7 8 for (int i = 0; i < 5; i++) 9 { 10 printf("%d\n", (unsigned int) (x - i)); //necessita mesmo…
-
1
votes2
answers155
viewsUndefined Ference to MIN
When compiling my media program with discard, the following error occurs. Remembering that I used the MIN to rule out the lowest value between a, b, c and d. My program. c:(.text+0x8b): Undefined…
-
1
votes1
answer51
viewsCmake 3.11 failed to compile REGEX
I’m trying to set up a library with Cmake 3.11 and I’m getting a build error from a REGEX string, the project asks for FLEX 2.5 with the function find_package: find_package(FLEX 2.5 REQUIRED) This…
compilationasked 9 years, 12 months ago ProgramandoMil 357 -
1
votes1
answer31
viewsHow to parallelize the compilation with make?
The compilation process is parallelizable, but by default the program make runs one recipe at a time. How to parse the build with make?
-
1
votes2
answers61
viewsHow to print build and link commands in Cmake?
I have a project that uses the Cmake and would like to print the build commands generated by it. How to do this?
-
1
votes3
answers4033
viewsUndefined reference compiling with g++
I usually use g++ to compile my code, but now that I’ve started learning template I cannot compile for anything, the following error appears: g++ -c pilha.cpp pilha-infinita.cpp g++ pilha.o…
-
1
votes1
answer82
viewsUnexpected result in C program
In that code: #include <stdio.h> #include <stdlib.h> int main() { int x, y = 10; //incrementa depois atribui y = ++x; printf("x = %d\n", x); printf("y = %d\n", y); system("pause");…
-
1
votes2
answers92
viewsWhy the result of this code in C of the 55?
I wanted to know why the result of this code of 55, I am reading in the book and did not understand, I compiled in codeblocks. #include <stdio.h> #include <stdlib.h> int main() { int i,…
-
1
votes2
answers181
viewsCompiling C for raw binary
How to compile a C code for low level? (.bin, example). I’m using IDE Code::Blocks, and the mingw compiler (I’m on Windows, but if you know for Linux the commands are almost identical).…
-
1
votes1
answer346
viewsError: Undefined reference to 'sqlite3_open'
I am creating a software in C that uses Sqlite 3 as database, however, when compiling the project Codeblocks returns me the following error message: createdata. c|| undefined reference to…
-
1
votes1
answer43
viewsPrograms and/or extensions that "decompile" Dlls from an ASP site
Does anyone know of a program or extension that can do a sort of "decompiling" of DLL files (which contains classes of a website) in CS and ASPX.CS files? For now, I only know of the . NET…
-
1
votes1
answer60
viewsError compiling Class Library + Microsoft.DNX.Packagemanager
I created a Class Library project in Visual Studio 2013 Express using framework 4.5, but when giving a Build in Class Library the following error occurs : ------ Build Started: Project:…
-
1
votes2
answers82
viewsProcess of connection to libraries (DLL’s) during the C++ source compilation process
During the compilation process, I think, there is some sort of link between my code and the library I’m using code from. How can my application be able to call the code from a DLL? That is, what…
-
1
votes1
answer28
viewsMy executable is still in an old version
I compile the VB project and when I open the folder to get the generated exe, it is still with old date, which in this case is 18/03/2017 and not 20/04/2017. Is there anything I should do? I compile…
-
1
votes0
answers72
viewsHow to compile gettext on MSYS2 using x86_64-W64-mingw32-gcc
I am doing a series of recompilations to build a custom QEMU for my microcontroller studies, I have succeeded in compiling some packages up to gettext, after reading all the instruction files in…
-
1
votes1
answer240
viewsDoubt with the Lexical and Syntactic Analyzer Generator (GALS) switch
GALS generates the code in Java. I want to put it in the eclipse to make a screen and such. I was told that in the method nextState class lexico, have to put a switch with some numbers. But where do…