Category "compilation"

How to access the files in the res folder in the imgui conan package?

I am using conan to handle dependencies, for those of you familiar with imgui, it provides a series of backends you can include. When you look at the conan pack

Contracts do not compile with zksync-solc. Their ABI and bytecode seem to be printed as an error

I am pretty new to development and asking questions on stackoverflow, so if there is something else I could provide, please tell me in comments! I have installe

visual studio 2019 cant exclude folder from build in .csproj

I am trying to exclude an entire folder from being build in my vscode project, I have edited my project file to look like this: <Project Sdk="Microsoft.NET.S

failed to synchronize cache for repo AppStream

My centos machine has no connection to internet. I need to install make utility to compile some modules from source code. I am getting this error while i run yu

'error Command "webpack" not found.' in Heroku deployment of Rails application

I'm having difficulty getting my Rails application deployed on Heroku. I've seen numerous similar posts but none of the suggested solutions has worked for me. E

"undefined reference" error when trying to compile a fortran program with external dependencies using ifort

I am using the following command to compile my fortran program, which is the last line of the result of the hdf5 h5fc command on my Ubuntu 20.04.4 LTS x86_64 ma

apex image failed to build android rom compiling

I'm trying to build crdroid 10 for my z5p I followed the guide given on GitHub and set my environment synced the files and after hours of building, I'm facing e

Java program runs yet compilation fails

I wrote a Java program whose filename was (intentionally) different from the class I wrote inside the file. The javac command failed as expected on both CMD and

BTF: .tmp_vmlinux.btf: pahole (pahole) is not available

Getting this error while compiling the kernel version :5.7-rc4 BTF: .tmp_vmlinux.btf: pahole (pahole) is not available Failed to generate BTF for vmlinux Try t

openGauss installation issue

i am hitting an issue when installing openGauss: File "/xxx/script/gspylib/os/gsfile.py", line 25, in <module> raise Exception("[GAUSS-52200] : Unable to

Why does CMake set -no-fat-lto-objects when I enable LTO/IPO?

I'm enabling IPO (inter-procedural optimization) for a C compilation of mine, using CMake: set_property(TARGET foo PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)

Improving Rust binary build times

I’m just starting a Rust project and already it takes ~7.6s to build what I’d consider a simple binary. I’m using async/await a lot and comme

How can I make sure `iostream` is available to the linker?

I have the following C++ code in a file called helloworld.cpp: #include<iostream> int main() { std::cout << "Hello, World!\n"; } I would like

How do I compile Typescript at Heroku postinstall?

Instead of uploading the precompiled dist directory, I want to compile src at server side instead. Here are my scripts inside package.json: "scripts": { "

Android Studio: An exception has occurred in the compiler (1.8.0_152-release)

While running app, unable to complete compilation. Keep throwing error. I am using dagger2 library for annotation. Error:15:04:36.466 [ERROR] [system.err

Additional component is not compiled

I have Component Views and everything works fine in development but when I published I get the exception "InvalidOperationException: The view 'Components/SomeC

What is the difference within the compiler between debugging and running the code? (STM32)

somehow when i am running my code, it seems like one GPIO Port isn't being initialized, meanwhile if i am debugging, it is. I am initializing two sensors: struc

CMake - how to build Boost after downloading it with FetchContent?

My goal is to download the Boost repository if it isn't found and then build it the default way, i.e. using boostrap and b2 tools. I know, I can download it l

Recompile the java files which is decompiled by JD-GUI from a jar

I have a MyFile.jar file. I use JD-GUI to decompile it and used its "Save All Sources" options to save the files to a .zip file. Now extracted the .zip file and

Forth, interpreted or compiled?

Supposedly Forth programs can be "compiled" but I don't see how that is true if they have words that are only evaluated at runtime. For example, there is the wo