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
-
1
votes0
answers26
viewsError:Execution failed for task ':app:preDexDebug'. > finished with non-zero Exit value 1
I’m trying to run the compiler of Android Studio, but it returns me this error. Error:Execution failed for task ':app:preDexDebug'. > finished with non-zero exit value 1 build.Gradle app: android…
-
1
votes2
answers1066
viewsJava - Could not find main class
The code below does not compile: package app1; public class main{ public static void main(String args[]){ System.out.println("Hello World!"); } } The following message appears in the terminal:…
-
1
votes1
answer99
viewsProgram with problem to compile
I created this program to calculate the BMI, but it doesn’t run completely. He asks to enter with weight and height, but returns no result. Could someone tell me what’s wrong? PROGRAM Calc IMPLICIT…
-
1
votes0
answers174
viewsMake file and build on the terminal
I need my Makefile to run on the terminal so that it is not necessary to insert on the terminal $ time make run, and yes only make run, and let it show execution time in the same way. Can someone…
-
1
votes2
answers192
viewsCompile a. NET application into a self-contained executable
I wondered if it is possible to compile an application . NET Framework in just one executable file. No files .dll outsiders. I did some research but was unsuccessful.
-
1
votes1
answer2070
viewsProgram closing immediately after opening(Post-compiled)
I’m starting to study Tkinter and compilation, and I have a basic Python notion, and I’m having some problems. Here’s an example of a basic program that, after compiling, the executable just quickly…
-
1
votes1
answer183
viewsJavascript compiled in the browser
Is there a way to compile Javascript code and distribute it together with the other files of the site instead of distributing the source code itself? As in Java that compiles to bytecodes, so you…
-
1
votes0
answers41
viewsLinkage problem "Undefined Reference"
I’m trying to compile a dynamic library that uses a static library. I’m using cmake and the problem I’m having are linkage errors, where static library methods are giving error "Undefined…
-
1
votes1
answer38
viewsOpencv build does not find include
I’m trying to compile a simple code just to test but when I compile with both g++ and Clang++ they say that the reference to the method was not found. I followed the steps of this official Opencv…
-
1
votes0
answers12
viewsCompilation error, Exception in thread "main" java.lang.Arrayindexoutofboundsexception: 0
Compiler points out the following error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 Just after points to the if line public class Pilha extends Lista { public Pilha(int…
-
1
votes0
answers53
viewsDoubt about building and linking libraries (C++)
I am using the Codeblocks IDE and would like to use the functions of an external library called Chilkat in my code. I can make the IDE read the header, but when I try to use some function or object…
-
0
votes2
answers2443
viewsWhat do I need to program in C#?
I use Delphi and I need something similar to program a code like that. What I have to get to start pro lawn in C#?…
-
0
votes1
answer56
viewsArgument when initializing Weka
In the Download page of Weka there is a recommendation to initialize the. weka jar file with the following argument -Xmx1000M. But I don’t understand what the argument will change the moment Weka is…
-
0
votes1
answer78
viewsBuild error with structs
The following error is happening in the compilation of the code below: ..\src struct.cpp:19:19: error: Elements of array 'main():ficaha v [3]' have incomplete type .. src struct.cpp:19:19: error:…
-
0
votes4
answers1258
viewsHow to create an executable . jar?
Build a java project on eclipse, if yes, how? Otherwise, as I compile a project in Java? I was able to turn the code into . jar by eclipse. Only when I click to run it, it just doesn’t open. I…
-
0
votes0
answers120
viewsHow to compile ffmpeg and rtmpdump for vitamio (vitamio with rtmpdump)
Android lib ffmpeg.so with support for rtmpdump librtmp.so/rtmpdump.so for the vitamio. I saw some examples but they didn’t help me much, I need to compile the rtmpdump(librtmp) with the ffmpeg for…
-
0
votes1
answer69
viewsHow to take values from a JSON and pass as SASS variables with Grunt
I need to compile templates using Grunt and I want to put the color settings inside a JSON file that will be inside each layout folder, that is, I need to use Grunt to read JSON and pass the values…
-
0
votes1
answer199
viewsHiding AES decryption key in android app
How can I not only hide AES keys but also encrypt and decrypt using predefined keys/commands in a native library(Encounter.), so that I can compile and include it in my android app. That is, calling…
-
0
votes1
answer68
viewsError when compiling a zlib Static library for Android
I have the Android.Mk configuration file for the compilation of zlib for Android, but it contains the compilation options, Shared, Static and host, I only need to compile a Static library,…
-
0
votes1
answer290
viewsPublish Asp.NET MVC website?
I developed a site in ASP.NET MVC and now I want to publish it on my provider using FTP. I’ve done all the FTP configuration on Publish of the 2013 VS I’m using. When do I publish the Controllers,…
-
0
votes2
answers5430
viewsa Function-Definition is not allowed here before '{' what does this error mean?
I am trying to compile my code, but the compilation returns the following error: a Function-Definition is not allowed here before '{' token| I am beginner and I have looked several times the code to…
-
0
votes1
answer117
viewsHow do I compile this project in C#?
I’m having trouble compiling with the CSC command on prompt And there’s a "namespace" error I can’t fix. I don’t know if I’m doing it right. Project link.…
-
0
votes1
answer16
viewsHow to compile GNU Diffutils3 for use with Mediawiki on Windows?
I’m installing the Mediawiki on Windows but need to install the Diffutils3. I could only find the installer for the version 2.8.7, I think three has to compile. Could someone help me with this? Or…
-
0
votes1
answer205
viewscompile dll in c with winsock2.h
I am using Dev-C++ and trying to compile a dll, however I always get this error in Compiler: Compiling project changes... -------- - Project Filename:…
-
0
votes1
answer191
viewsError when compiling C++ source code along with header file and member function file
Hello I would like a help with this exercise code. This is my first time trying to ask a question here. When I try to compile the file with the member functions Gradebook.cpp or the file containing…
-
0
votes1
answer177
viewsError to run program in Fortran
I need to calculate the Minimum common splitter in Fortran, I did the code, but when it compiles and runs, it closes after the user enters the value and I do not know what is wrong. PROGRAM Calc…
-
0
votes1
answer548
viewsI cannot run an application in x86 debug mode
I’m having problems in my application, because when I compile in anycpu debug, it runs perfectly, but when I compile in x86 debug it presents the following error: System.Badimageformatexception: 'An…
-
0
votes0
answers60
viewsDelphi: Internal Error: AV004C8D4A-R00000020-0
I got the following error when compiling a project in Delphi 10.2.2: [dcc32 Fatal Error] Internal Error: AV004C8D4A-R00000020-0. I found nothing regarding this error code. Would anyone know what…
-
0
votes1
answer53
viewsProblem with ruby on Rails
I have a build error in Rails but can not put all the errors that appears in the command prompt screen, but in the final lines appear this information [NOTE] You may have encountered a bug in the…
-
0
votes1
answer219
viewsLogic error with MOD (%)
Good evening guys, I’m with a code that shows me wrong values, in my view, my logic is correct but when I request result what is shown has nothing to do with the final objective of the code. I have…
-
0
votes2
answers743
viewsMicrosoft Visual Studio 2013 - There were compilation errors. Do you want to continue and run the last successful compilation?
Guys, here’s the deal: I’m developing a program Windows Form for desktop in the C# using the Visual Studio 2013. However, sometimes when I click on iniciar/ start some project compilation errors…
-
0
votes1
answer912
viewsSegmentation fault (core dumped) when accessing String
I built the code below to separate only the last characters of a link (the last 11 to be exact). Until then everything works well, calculations are done normally, values also match. The problem is…
-
0
votes1
answer2968
viewsError: unable to locate or load main class
I’m looking for the solution to the following problem, I do an "Olámundo" in Netbeans and it’s compiling, doing or other in Notepad++, I can create the class with javac Hi.java, but when I put java…
-
0
votes1
answer122
viewsReference not set for "crypt" error in linkage
I am used the "crypt" function in that following code: #define _XOPEN_SOURCE #include <unistd.h> #include <stdio.h> int main(void) { char *key = "rdf"; char *salt = "50"; char *hash =…
-
0
votes1
answer166
viewsProblem in issue 1046 of the URI site
I am getting a compilation error (Compilation error) in the URI site judgment on issue 1046, although it is working perfectly in my Code Blocks. Question: My code #include <stdio.h> #include…
-
0
votes1
answer60
viewsWhen a C program is compiled, does it include all the dependencies necessary for its operation?
When I compile a program in C, will all dependencies be compiled together? If not, it is possible to compile them? For example, if I include a certain library in my program, when I compile it, I…
-
0
votes1
answer130
viewsMsbuild doubt about compilation C#
Hello, I have a project in C# windows Forms and I need to compile and generate the .exe with Msbuild. However, when I update the sources and run to compile, it gives error saying that the structure…
-
0
votes1
answer28
viewserror: Linker`cc` not found when trying to compile file . rs
I am trying to compile a file. Rust via vscode terminal, and I get this error: causticroot@install:~/learning-rust/Book exercises/Hello world> rustc hello_world.rs error: linker `cc` not found |…
-
0
votes1
answer141
viewsError when compiling a solution in c++ in visual studio 2017
I’m trying to compile a c++ solution, but it’s not working. Can someone help me? I opened a visual studio 2008 solution in visual studio 2017. When I give the build the error happens. I did not find…
-
0
votes3
answers51
viewsAverage age in a family - Core dump error
the code below is intended to read a Qtd amount of people in a family, receive the sum of ages and present the average at the end: #include <stdio.h> int main() { int qtd, idade, i; float…
-
0
votes1
answer454
viewsNetbeans does not generate lib folder
Hello, well I’m having a problem compiling a project with Netbeans 11 and jdk 13 for some strange reason when compiling the folder dist will only the jar and the folder lib is not compiled together.…
-
0
votes0
answers82
viewsThere are strings in my executable that I didn’t put in the source
I compile a very simple program, which has no string literals. It only deals with mathematics. Then, when examining the contents of the executable I see things like this, even if I have not typed…
-
0
votes1
answer92
viewsWhy does an error code not execute the parts without error?
console.log(a); console.log('still going...'); The above code is an example of MDN Web Docs, the above example tries to show the variable value a, but the variable a was not defined, thus an error…
-
0
votes1
answer362
viewsProblems with c++ function template (Reference not defined for class methods)
Hello! I’m trying to compile the following code: main: #include "lista.h" using namespace std; int main(){ no<int> *n; n = new no<int>(4); n->setProx(new no<int>(5)); cout…
-
0
votes0
answers55
viewsExcept System.Platformnotsupportedexception when trying to compile code with Codedom
I’m using a code, which I saw in a reply of this page: var csc = new CSharpCodeProvider(); var parameters = new CompilerParameters( new[] { "mscorlib.dll", "System.Core.dll" }, "teste.exe", true) {…
-
0
votes0
answers27
viewsBuild error with header file
I cannot create classes with header file. When I create the file . h and create the implementation of member functions in the file . cpp gives error when compiling. I thought it was me, so I went to…
-
0
votes1
answer42
viewsHow to know the language of the code and compile it?
I would like to know how to compile this code (and in what language it was written)? I found him in a Tibia Forum (Game) where the goal is to make an Automatic Login whenever you open the game. I…
compilationasked 3 years, 10 months ago Roger Windberg 71 -
0
votes0
answers36
viewsIs it possible to see the "optimized" version of Javascript running from the browser?
I recently started to study compilers and learned that, in an intermediate phase of the whole process, there may be a number of parsing passages aimed at improving the performance of the code (in…
-
0
votes1
answer79
viewscompiles code but does not work, just successfully finishes
Well I am new to the C language and I decided to venture into the world of multithreads, I thought of making a program that would find primes in a range from 1 to N, and for that I would divide the…
-
-1
votes2
answers177
viewsIssue with JAVAC version for dynamic build
I’m trying to compile a Helloworld class for testing, and it’s giving an error that I don’t know how to solve. Does anyone know a solution? From the looks of it, it’s some version-related problem.…