compilation Questions

2

Originally, when trying to compile the maven project in IntelliJ, I got the following error: Error:java: invalid source release: 11 I then began by following some of the solutions here: Error:java...
Stenographer asked 28/8, 2020 at 20:1

3

Solved

I am developing proprietary software that would be distributed in a form of .exe file. In order to use it, users will have to authenticate with their whitelist credentials (username + password). T...
Olsen asked 30/11, 2019 at 16:5

4

Solved

If I declare static const variable in header file like this: static const int my_variable = 1; and then include this header in more than one .c files, will compilator make new instance per each ...
Boffa asked 12/8, 2016 at 7:18

4

Solved

I'm interested in moving away from Xcode and manually compiling Metal shaders in a project for a mixed-language application. I have no idea how to do this, though. Xcode hides the details of shade...
Congdon asked 30/8, 2015 at 16:25

5

Solved

In Visual Studio 2003, I am trying to set an environment variable in the pre-build event that will then be used in the compilation step, but the value doesn't seem to be propagated. For example, if...

2

Solved

So, I created a new gradle project, choosing Java as "additional libraries and frameworks". Gradle will compile to .\build\classes and maintain package structure, but the "module compile output p...
Bascule asked 26/9, 2017 at 7:44

14

I’m trying to compile openssl-1.1.0e on Centos 7 (7.3.1611) but after i successfully compiled everything without any warning, i get an error when i’m trying any openssl command [mdm@dev openssl-1....
Chamade asked 16/3, 2017 at 7:46

7

Solved

I am writing some unit tests in which I need a fake xml file. I can create that file and require it to be deployed with the unit tests, but experience shows that at my office it's a lot of headache...
Spermatozoon asked 7/7, 2011 at 15:44

4

Solved

I'm trying to compile ffmpeg as a standalone binary (because I want to use it in AWS lambda) I can get things to work fine on the server where I'm compiling, but if I copy the binary and run it fr...
Pleat asked 11/10, 2016 at 16:49

3

Solved

I don't understand, why do we need cmake to build libraries ? I am sorry if my question is stupid, but i need to use some libraries on Widnows, and what ever library i choose i need to build it and...
Sarisarid asked 17/10, 2016 at 10:10

1

I would like to fix this warning that give me each build this output: Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.sun.jna.Native$1) that doesn't come wit...
Hypogeous asked 22/6, 2016 at 9:30

6

Solved

In old .NET we used to be able to run the csc compiler to compile a single .cs file or several files. With .NET Core we have dotnet build that insists on having a proper project file. Is there a s...
Arathorn asked 6/9, 2017 at 2:13

4

Solved

I have multi-module maven project. The acceptance-tests module has dependency from api module in pom.xml (Replacing real company name by xxx to keep confidentiality). I am trying to import some cla...
Shah asked 21/4, 2020 at 10:16

4

Solved

I'm following this tutorial on how to extend Python with C\C++ code. The section named "Building the extension module with GCC for Microsoft Windows" fails for me with the following error: fatal ...
Pedant asked 4/11, 2010 at 13:53

5

Solved

When I try a task that involves a compileKotlin (or compileTestKotlin), then I receive this warning and the result is unpleasant long duration of the build process: Could not perform incremental...
Hydrosol asked 31/12, 2018 at 12:10

1

Solved

I have a very large Java project with lots of classes and methods. I read on Wikipedia that "Languages like Java require a multi-pass compiler since the definition of x would not be required to co...
Kinghood asked 3/5, 2018 at 4:10

4

I'm developing a project that supports iOS 11 and newer and faced up with next issue: Compiling for iOS 11.0, but module 'AWSPredictionsPlugin' has a minimum deployment target of iOS 13.0: /U...
Juratory asked 2/3, 2021 at 8:7

3

Solved

Problem I'm trying to install Python 3 with the --enable-shared option. Installation "succeeds" but the resulting Python is not runnable. Trying to run Python after installation gives the followin...
Triolein asked 10/6, 2016 at 21:19

10

Solved

I can't think of a good title, but my question is not as naive as it appears. Consider this: public static void ExitApp(string message) { // Do stuff throw new Exception(...); } OR public st...
Hakodate asked 7/5, 2009 at 18:32

11

I'm trying to compile a mixed java-scala code using intelliJ 14.1.4 but it keeps giving me this error: Error Compiling SBT component 'compiler-interface-2.9.2-52.0' I have tried to downgrade my sc...
Yeah asked 6/8, 2015 at 9:19

18

I can't compile my Android Kotlin project. I have no idea what is this... Gradle log: error: supertypes of the following classes cannot be resolved. Please make sure you have the required depend...
Friulian asked 16/6, 2017 at 22:34

2

Solved

I'm trying to create a simple make file, the commands I'm using now are: $ nasm -f elf64 main.asm $ ld -s -o test1 main.o That's it. How can I create a Makefile from them? I've read the manuals ...
Kerato asked 11/1, 2017 at 4:0

4

Solved

From time to time I have to add a new value to a enum type in my project. public enum Day { SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, FILENOTFOUND //this one is new one } ...
Sain asked 22/10, 2010 at 18:47

18

You can structure a C++ program so that (almost) all the code resides in Header files. It essentially looks like a C# or Java program. However, you do need at least one .cpp file to pull in all the...

2

We came across a JaxB class loading issue as highlighted by Jaxb classCastException. To fix that I added com.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true and that actually FIXED the issue....
Assertive asked 23/1, 2018 at 1:58

© 2022 - 2025 — McMap. All rights reserved.