Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

I get the following error when compiling my C++17 project that uses the Eigen 5.0.1 library; I didn't see this error when using Eigen 3.4.0 on the same machine: <path>/eigen-5.0.1/Eigen/src/Core/...
josh_eime's user avatar
  • 196
16 votes
2 answers
855 views

I'm wondering why std::string can't be constexpr if it's a stack variable: #include <string> #include <iostream> #include <cstring> constexpr std::string str15 {"...
Zebrafish's user avatar
  • 16.5k
-7 votes
0 answers
123 views

I'm trying to build a three piece Streaming Project in which I need to build an API that is already working, a Java App for Android that I haven't even started and this .NET MAUI using C# that is ...
Pedro's user avatar
  • 1
0 votes
0 answers
43 views

I’m trying to compile a Lazarus project that uses UniDAC, but Lazarus keeps failing with: unidac10.pas(11,3) Error: Cannot find UniProvider used by unidac10. Check the search path of package unidac10,...
AlbLivX's user avatar
0 votes
1 answer
78 views

I have never used JavaFX before and I am trying to get it running in VS Code using the basic Maven project build tools and it creates the project just fine. I then go in and update all the version in ...
Mike Allen's user avatar
4 votes
1 answer
114 views

I am trying to declare an extension property for the int type in C# 14: extension(int) { public int MyProperty => 13; } I am getting this compilation error: 'MyProperty': cannot declare ...
Theodor Zoulias's user avatar
Best practices
2 votes
1 replies
24 views

I want to create an object of type whole by merging objects types Omit<whole,keyof A> and A. Is there a way to do this without using a type assertion(as)? function merge<Whole extends object, ...
Sean Forrest's user avatar
-3 votes
1 answer
35 views

In my Unity Project when my game runs my world item prefab initiates sprites that don't show on my inventory display only the canvas that can't be seen on screen and it doesn't spawn any collectable ...
Duane Cooper's user avatar
3 votes
1 answer
119 views

I am currently attempting to use the thrust::remove function on a thrust::device_vector of structs in my main function as shown bellow: #include <iostream> #include <thrust/device_vector.h>...
AowynB's user avatar
  • 33
0 votes
1 answer
107 views

I'm trying to compile my app using vs code and g++ on windows 11 without having to type all the files manually in the task.json file, but everytime I try to compile I get a fatal error : cc1plus.exe: ...
HugeElmo's user avatar
0 votes
1 answer
182 views

Here's the code: struct S{}; int main() { S::S{}; return 0; } When using GCC and Clang, it will fail with a clear error output: qualified reference to 'S' is a constructor name rather than a ...
miyan's user avatar
  • 137
1 vote
0 answers
50 views

The TypeScript handbook recommends using the in operator for narrowing. Yet this doesn't work when the attribute name is variable. type MyObj = { a?: string; b?: boolean; c?: number; }; ...
WBT's user avatar
  • 2,562
2 votes
1 answer
64 views

I'm using Angular 19, and my project is non-standalone. I catch an error about pipe's name not found. I've created a pipe: @Pipe({ name: "translate", standalone: false }) export class ...
Gustavo Pilar's user avatar
1 vote
1 answer
165 views

I’ve installed GCC (MinGW-w64) and the necessary VS Code extensions for C/C++ development. However, when I try to run even a simple C program, I get the following error: The "gcc" command is ...
Haitham Qabban's user avatar
2 votes
0 answers
164 views

I was trying to learn about how to use timespec_get in c++ (for fun) I tried to compile the following code using g++ 14.1.0 //main.cpp #include <ctime> int main(){ std::timespec CurrentTime;...
timmy george's user avatar
3 votes
5 answers
267 views

I'm trying to reimplement the standard strlen function in C, and I'm closely replicating its behavior. I defined my function based on standard C declaration for strlen: size_t ft_strlen(const char *s);...
user31651582's user avatar
0 votes
0 answers
256 views

I'm having a problem that I can't solve because I'm just to rookie for it, and I spent the last day trying to find a solution that it didn't work, I tried to rename it, it didn't work, I tried ...
Tex's user avatar
  • 1
-3 votes
1 answer
107 views

I apparently hit a Rust bug. The minimal example: use std::cell::RefCell; thread_local! { static REQUESTS_CHECKER: RefCell<()> = RefCell::new(()); } async fn a() {} async fn b() { ...
porton's user avatar
  • 5,909
0 votes
1 answer
65 views

I have created a modelica package with dymola with opensource libraries. the models in the package are compiled and simulated in Dymola perfectly but when I try to simulate them in openmodelica, the ...
bbz's user avatar
  • 3
0 votes
0 answers
72 views

My Qt isn't able to detect MSVC 2022 compiler only showing MINGW compiler in installation. I have Visual Studio with MSVC 2022 Latest and have all the necessary configuration like software ...
Abril's user avatar
  • 1
1 vote
0 answers
155 views

My code has suddenly stopped working. I am getting compile error when I run this macro Image 1. the combobox1 object definitely exists Image 2 I really cannot think what has changed for it to fail ...
Dasal Kalubowila's user avatar
2 votes
1 answer
537 views

NOTE: Scroll to the bottom for the exact reproduction steps. When I add the dependency com.squareup.okhttp3:okhttp:5.1.0 to build.gradle.kts (app module), apply the "Replace with new library ...
Bxx's user avatar
  • 88
2 votes
1 answer
169 views

Consider the following code: public class Example { static { System.out.println(Example.value); } static final int value = 7; public static void main(final String[] args) { } } ...
user14335260's user avatar
0 votes
1 answer
61 views

When I try to compile FFmpeg to WebAssebly I got wasm-ld-13: error: unknown file type: demux.o, I configure and install FFmpeg (ffmpeg-8.0) using: emconfigure ./configure \ --prefix=$(pwd)/installed ...
ali's user avatar
  • 19
0 votes
1 answer
427 views

I am trying to use the C++ 23 stacktrace header in my project but I can't get it to compile. I've reproduced this with a minimal case to demonstrate the error I am getting. Any input would be greatly ...
Keegan's user avatar
  • 19
0 votes
1 answer
100 views

I'm new to OMNeT++ 6.1 with INET 4.5. I wanted to create a .msg file where I import the TagBase from inet.common.TagBase. I referenced inet4.5 in Properties -> Project References but it can't ...
Henzer's user avatar
  • 1
1 vote
2 answers
140 views

I am messing around with c#, and i noticed something. If i were to instantiate an sbyte with 8 bits, such as 0b_1111_1111 (-1), it throws an error, but if i were to first make a byte with it, and then ...
infinitychances's user avatar
0 votes
0 answers
71 views

I am running some old ruby code and it misbehaves with the latest versions of some dependencies. I can change the dependency version in the Gemfile and then ask bundle to install the dependencies. The ...
Sparr's user avatar
  • 7,830
1 vote
1 answer
67 views

For some reason whenever I try to even start my Spring REST API after adding the second datasource it says it can't find the repository classes. I use custom DB Config classes for each one and even ...
Xavier Olivares TheLuigi573's user avatar
2 votes
1 answer
74 views

For example, if I create file jopa.erl with this code inside ... -module(jopa). ...everything compiles without errors However, if I put this code inside jopa.erl ... -module(lol). and try to compile....
Kitaram's user avatar
  • 31
0 votes
0 answers
51 views

I have embedded Groovy 4.0.9 in my application as a scripting language, and I want to be able to provide helpful feedback to my users when their scripts don't compile. This works ok with a basic ...
user3760601's user avatar
2 votes
1 answer
56 views

I have been making a Haskell project that I want to continue on in C at some point through the FFI. I wanted to create a makefile to compile all the source with Clang for C and GHC for Haskell. The ...
Jacob Bauer's user avatar
0 votes
1 answer
157 views

I encountered an error while attempting to compile a larger project. I didn't have any problems with this before when I was using the Code Blocks IDE. To diagnose the issue I attempted to recreate the ...
Levi's user avatar
  • 123
0 votes
1 answer
70 views

I made no changes in any but once i ran the app as usual it started giving me this error : file:///C:/src/flutter/packages/flutter_tools/gradle/src/main/kotlin/DependencyVersionChecker.kt:97:99 ...
Mian Faseeh's user avatar
1 vote
1 answer
100 views

I am trying to build my Unity mobile game to Android. And when building the gameI got this error: Execution failed for task ':launcher:mapReleaseSourceSetPaths'. Could not resolve all files for ...
Matias Scribe's user avatar
0 votes
0 answers
41 views

I am unable to use PyCuba, a Python interface for the multidimensional-integration library Cuba, on macOS 15.5. PyMultiNest, which requires PyCuba, is common for Bayesian analysis in the scientific ...
user29650973's user avatar
2 votes
1 answer
87 views

I have made a boost multiindex of my GameObject, and I am trying to loop through and call non const functions on it. And I cannot for the life of me to get boost to stop giving long nasty compiler ...
user904542's user avatar
  • 7,087
1 vote
1 answer
67 views

Context I'm trying to learn Rust by just reading the book and working through the problems in Advent of Code (the 2024 edition). Just to make it harder, I decided to practice TDD while I do it. To ...
Juan F. Meleiro's user avatar
0 votes
0 answers
99 views

I was following this documentation to create a ZegoCloud Video Call UIKit on Flutter using Dart (https://www.zegocloud.com/docs/uikit/callkit-flutter/quick-start-(with-call-invitation)). However, I ...
Minh Long's user avatar
3 votes
2 answers
111 views

This is my test code: #include<vector> #include<iostream> #include<type_traits> using std::vector; using std::is_same_v; using std::cout; using std::endl; int func() { struct ...
Vinod's user avatar
  • 1,215
2 votes
0 answers
289 views

When I run my react native project it give the above error Here I shared the details description of the error Task :react-native-gesture-handler:compileDebugKotlin FAILED e: file:///Users/apple/...
Dhvani Chavada's user avatar
0 votes
1 answer
112 views

It affects any struct. I've cleaned chars, renamed, tried new scripts – still fails. Any solutions? So frustrating. //@version=6 indicator("TestStruct", overlay=true) struct MyData float ...
Carlos Wittman's user avatar
1 vote
1 answer
145 views

I'm trying to build MPC-BE, an open-source media player for Windows, using the instructions provided in Compilation.txt and the GitHub README, because I want to add some features to allow external ...
Kariyan's user avatar
  • 61
1 vote
2 answers
181 views

The test code is as shown below: #include<vector> #include<algorithm> #include<iostream> using std::vector; using std::min; using std::cout; using std::endl; int func() { vector&...
Vinod's user avatar
  • 1,215
1 vote
0 answers
75 views

Consider the following program: struct RNG { numbers: Vec<u32>, } impl RNG { pub fn new() -> RNG { RNG { numbers: vec![] } } pub fn generate_random_numbers(&mut ...
mchl12's user avatar
  • 361
0 votes
0 answers
89 views

I am currently developing with Expo (React Native) and am getting errors as shown in the attached image. I would like to debug it. How do developers who usually use React Native debug it? I would like ...
clifford's user avatar
1 vote
1 answer
841 views

I'm working on a TypeScript project where I'm using the jsonwebtoken library to generate and verify JWT tokens. However, I'm encountering a type error when trying to use the jwt.sign function. import ...
xF6's user avatar
  • 13
0 votes
0 answers
47 views

I'm working on an Android project and encountering a strange error during the build process. The app fails while executing the :app:mergeDebugResources task with the following error: I have tried with ...
Salunkhe Rushikesh's user avatar
0 votes
1 answer
35 views

I have set the compile option requireReturnValues="Error". I tried to compile the following example code but it doesn't pass the option: METHOD PUBLIC LOGICAL checkValue(i_cValue AS CHAR): ...
W0lfw00ds's user avatar
  • 2,138
1 vote
1 answer
139 views

Every time I try to compile and/or run my app I get this error: [dcc64 Error] E2042 Write error on '.\Win64\Debug\MyApp.exe' According to the Embarcadero docwiki the issue is: The compiler ...
JakesF's user avatar
  • 353

1
2 3 4 5
413