Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
12 views

I have a pre-built image of a shared library, and that library implements main() with something like: int main(...) { bootstrap(...); return 0; } bootstrap(...) { /*...*/ sc_main(...);...
sh1's user avatar
  • 5,010
-4 votes
0 answers
97 views

I have multiple .cpp files and .h files in VS2022, there are no red squiggly things under text (yeah I have no idea what to call them), and the code has forward decl. and no circular includes or ...
NotAnOwl's user avatar
0 votes
1 answer
86 views

I'm trying to build, using CMake, a program involving C++ and CUDA-C++ code. It used to build file, several months ago, but - now am getting a linker error I'm not familiar with: in function `main....
einpoklum's user avatar
  • 137k
4 votes
2 answers
131 views

I have a weird problem when doing inline asm and compiling/linking with avr-g++ (version 16, fresh from the Git). I think this might be a bug of the tool chain, but I wanted second opinions in case I ...
krab5's user avatar
  • 105
0 votes
0 answers
121 views

I am writing a hobby OS kernel in Rust for the riscv64gc-unknown-none-elf target. I have defined my trap_entry, as a #[unsafe(naked)] function within a Rust module. When I compile in release mode (...
陈嘉澪's user avatar
5 votes
1 answer
202 views

I'm trying to link a zig static library with golang. here is my build.zig const std = @import("std"); pub fn build(b: *std.Build) void { const windows = b.option(bool, "windows&...
vuzzie's user avatar
  • 133
0 votes
1 answer
88 views

I am using Debian Unstable/Experimental. When I use -fsanitize=address with clang-22, it fails with: /usr/bin/ld: cannot find /usr/lib/llvm-22/lib/clang/22/lib/x86_64-pc-linux-gnu/libclang_rt....
horsey_guy's user avatar
0 votes
0 answers
39 views

My colleague can build our project, while I get the following linker errors: 26>gtest.lib(gtest-all.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match ...
Pietro's user avatar
  • 13.5k
1 vote
1 answer
73 views

I am adding a linker section in the TI arm clang linker and I have added by following MEMORY { TEST_SECTION ( RWIX ) : ORIGIN = 0x41C00000 , LENGTH = 0x00007800 } --retain="*(....
user2986042's user avatar
  • 1,300
0 votes
0 answers
76 views

How can I resolve the "undefined reference to 'yylval'" error in the simplest program ever? This is my lexer.l file %{ #include "parser.tab.h" %} %% [0-9]+ { ...
Enis Licina's user avatar
0 votes
0 answers
66 views

I have a main project with some local packages. These packages are imported in the main project as features. I want to have an Analytics package that is a simple wrapper around Firebase Analytics that ...
Bob Voorneveld's user avatar
0 votes
1 answer
67 views

Im writing a kernel in Rust, but are having some problems with the panicking module. I have written a build script that should build the boot image of the OS, but i seem to get an error while trying ...
Bjørn Pollen's user avatar
1 vote
0 answers
93 views

I’m porting my small C++ project from MinGW + GCC to MSVC 2022 with the Ninja generator. On MinGW everything links fine, but with MSVC I keep getting this: engine.lib(windows_window.cpp.obj) : error ...
Trey Bertram's user avatar
0 votes
0 answers
566 views

Created own custom pod lib. Podspecs as below, s.ios.deployment_target = '10.0' s.source_files = 'Classes/**/*.swift' s.swift_version = '5.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => ...
Ahmad's user avatar
  • 11
1 vote
1 answer
69 views

I'm currently build the Drogon framework on a Windows platform with MinGW. Drogon integrated the hiredis library. While building the project, I encountered the following linker errors: D:/dev/mingw/...
HanWang's user avatar
  • 31
-6 votes
1 answer
143 views

So basically I want to have my TLS callbacks in a lib where ppl who use my library will automatically have the callbacks implemented into their executable. This is my code: // .cpp file void ...
Aspis's user avatar
  • 7
1 vote
1 answer
70 views

I'm facing an issue while building my iOS project in Xcode. The error message is: Library 'FirebaseCore' not found. Linker command failed with exit code 1 (use -v to see invocation). I have already ...
Ashitha Vinod's user avatar
5 votes
0 answers
140 views

We have a legacy C/C++ library in which we are trying to integrate some Rust code as a C style library. However, this C/C++ library should also be usable in Rust through a wrapper written in Rust. The ...
user29811117's user avatar
0 votes
1 answer
187 views

I want to learn programming with Vulkan. My first step was to enumerate the Vulkan extensions count available on my system. So I wrote this simple code: #include <iostream> #include <vulkan/...
Johannes Krottmayer's user avatar
0 votes
0 answers
86 views

I am upgrading crosstools from gcc-7.5.0 to gcc 11.4.0. Using gcc 7.5.0, below source files can be built successfully. But using gcc 11.4.0, linking errors occur: PATH-TO-CROSSTOOLS/ld: test_beta/...
Ryan's user avatar
  • 51
1 vote
0 answers
153 views

"make" gave me this error message: g++ -I src/include -L src/lib -o main main.cpp -lmingw64 -lSDL2main -lSDL2 /usr/bin/ld: cannot find -lmingw64: No such file or directory collect2: error: ...
Dec_Ves's user avatar
  • 11
1 vote
1 answer
90 views

I'm getting a linker error because of a conflict between liburctd.lib and libmmt.lib. Why I'm getting that is a whole other question. In trying to figure that out, I wanted to see if just setting /...
T. J. Evers's user avatar
1 vote
1 answer
79 views

I'm trying to follow the GObject Tutorial to implement my first GObject class. So far, I've come up with this code: train.h: #pragma once #include <glib-object.h> G_BEGIN_DECLS #define ...
Newbyte's user avatar
  • 3,957
1 vote
1 answer
159 views

I attempted to compile PyTorch from source but ran into a very strange linking error. After investigating, I discovered that a templated function defined in a C++ file and its declaration in a CUDA ...
mibu's user avatar
  • 1,627
2 votes
0 answers
110 views

this is a follow up to my previous question I asked, I made some progress with things but hit another roadblock. I downloaded the libjpeg-turbo library from the main github repo, then I built it using ...
Jack Dawson's user avatar

1
2 3 4 5
82