python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Building static lib with state multiple times
So I have this example code that I compile using VS to a static library:
int val = 0;
int f(int i) {
val += i;
return val;
}
Because of the global the library has an internal state. I now wa...
SampleTime
Votes: 0
Answers: 1
Creating static libraries and static linking with MSVC Build Tools on Windows
My present goal is compiling, say, the SQLite library (C-language), statically linked with dependencies on Windows with MSVC Build Tools. I want to get a single DLL file, which may only depend on the ...
PChemGuy
Votes: 0
Answers: 1
Problem at linking libxml2 library in my C project
I want to use the libxml2 C library in a project (I'm on Windows, and using gcc in CMD). I am trying to include it (as a static library) in a source file, so I can use its functions. But, gcc is havin...
Pedro Faria
Votes: 0
Answers: 1
How to put the .h file in modulemap file properly?
I have the native static lib that has a few .h files as API, the dir structure looks like this
3rdParties -
- MyAPIHeader.h
- my.modulemap
my modulemap file looks like this
m...

Sirop4ik
Votes: 0
Answers: 1