Skip to main content

All Questions

2 votes
0 answers
108 views

Incremental compilation using Makefile

I was compiling all my sources each time for each build which is a waste of time. So I tried to implement incremental compilation which means only those .obj files will be generated which are changed ...
AstralHex's user avatar
  • 101
1 vote
1 answer
40 views

`pragma solidity` is giving error, even though I added the latest version

// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract BankAccount { uint private balance; // Deposit function: adds an amount to the balance function deposit(uint amount) ...
JabirPapa's user avatar
0 votes
0 answers
112 views

When building Qt 5.15 from source, single quotes in commands cause compilation errors

I'm trying to build Qt 5.15.5 on Windows 7 with MinGW-64. There were some small bugs during compiling but they were fixed without problems. Then at some moment the compilation started to fail with ...
Michael's user avatar
  • 5,345
0 votes
0 answers
44 views

Trigger compile errors in constexpr functions [duplicate]

Considering codes below: #include <cstddef> #include <stdexcept> template<size_t N> class StaticBST { private: struct Node { int value; Node * left; Node ...
NYA's user avatar
  • 9
-4 votes
1 answer
78 views

Would removing Java type erasure help to catch more errors at compile time? [closed]

List<String> stringList = new ArrayList<>(); List rawList = stringList; rawList.add(10); So the above code compiles with a warning, but breaks at runtime. This was presented as one of ...
Seb Salveson's user avatar
0 votes
0 answers
269 views

Typescript/Node.js file extensions - 'module not found' when trying to run the app

I'm facing a problem with the configuration of my node.js/typescript project. The imports need extensions otherwise I got an error - 'ERR_MODULE_NOT_FOUND'. But if include .ts to them then i will need ...
Christian's user avatar
1 vote
0 answers
351 views

"package crypto/ecdh is not in std" when using gccgo

I'm trying to compile a program written in Go. With Go standard compiler everything work and the program is generated normally. But when I switch to gccgo compiler, errors like this appears: $ go ...
przemyslawo's user avatar
0 votes
0 answers
106 views

Compiling with AJC in IntelliJ giving error

I'm trying to compile a program using AspectJ in IntelliJ, but I'm getting the error message ajc: unrecognized single argument: "-proc:none". I'm also getting an error message that says ...
William Rave's user avatar
0 votes
1 answer
85 views

How to resolve javax.script.ScriptException in my Kotlin project

I am working on a Kotlin project and need to use javax.script.ScriptException. However, I'm encountering an error stating that javax.script.ScriptException is unresolved, which means there is no built-...
TDKMS's user avatar
  • 11
-1 votes
1 answer
110 views

Why does the linker not work correctly when definitions are implemented in cpp file

I do not understand how to compile c++ code correctly. I have a test file using an example class and I continue to get the error: user@MacBook-Pro Online-Order-OOP-Project % clang++ -std=c++11 -o test....
jim's user avatar
  • 73
0 votes
0 answers
16 views

cannot compile ssmart contract solidity in my react component

this is the Import.jsx code: import React, { useEffect, useState, useContext } from 'react'; import { toChecksumAddress } from 'ethereum-checksum-address'; import fetch from 'node-fetch'; import { ...
chaima daas's user avatar
0 votes
1 answer
2k views

make: cc: No such file or directory

I use ubuntu 24.04 lts. I am trying to compile Makefile of my DEXP ZH-UTC2 usb-ethernet adapter with make command. That is how Makefile of the driver looks like: TARGET = ax_usb_nic KDIR = /lib/...
chipichippichappachapppa's user avatar
0 votes
1 answer
2k views

error[E0658]: use of unstable library feature 'restricted_std'

It seems I can fix this by adding one by one of main.rs or lib.rs of ALL DEPENDENCIES with this magic line #![feature(restricted_std)]. For example, if the errors said: error[E0658]: use of unstable ...
Muhammad Ikhwan Perwira's user avatar
1 vote
1 answer
60 views

Preprocessor #if equality directive not working as expected

Could someone here please help me understand why I am seeing the following error rather than the GATEWAY error? Thank you. root@GATEWAY-0x0000001E:~/gateway/experiments# cat compile_define.cpp #define ...
nabelekt's user avatar
  • 159
0 votes
0 answers
65 views

getting error when making CDE gui for fedora 40

I had run ./autogen.sh and ./configure like the README.md file said and I have all the dependencies (I assume), but when i run make the end output is this: ` ibtool: compile: c++ -DHAVE_CONFIG_H -I. ...
Rioboyva2554's user avatar

15 30 50 per page
1
2 3 4 5
54