7 questions from the last 30 days
1
vote
6
answers
189
views
How can I tell my compiler or linker, that some symbol reference is only necessary for some function?
Suppose I'm working a library; say it's in C for simplicity. This library exposes and defines two functions:
f(), which calls an auxiliary function aux(), declared but not defined by my library.
g() ...
0
votes
1
answer
86
views
Linking fails with: in function `main.cold': undefined reference to `__cxa_call_terminate'
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....
0
votes
0
answers
75
views
Where is wgpu::EmscriptenSurfaceSourceCanvasHTMLSelector located?
I'm following this C++ WebGPU tutorial (with associated Git repo here) in another language, and so must rewrite the build script accordingly.
The tutorial calls wgpu::glfw::CreateSurfaceForWindow ...
0
votes
0
answers
38
views
React Native 0.82 iOS linker error: Undefined symbols for architecture arm64 (unsafeExecuteOnMainThreadSync )
I’m migrating an existing React Native app to React Native 0.82.x.
Android builds and runs fine, but iOS fails at the link step with the following error:
Undefined symbols for architecture arm64:
&...