static-linking
static linking breaks debug executable on windows (mingw)
Our C++ project uses mixed dynamic (Qt) and static (ffmpeg, portaudio) libraries. At the moment I\'m trying to port it to windows and the debug executable produced by mingw (via QtCreator) refuses to[详细]
2023-03-30 20:49 分类:问答I can't link static library with cmake
I try to link X11, giblib as static library with cmake. So I append this code in CMakeLists.txt set(BUILD_SHARED_LIBS FALSE)[详细]
2023-03-29 22:11 分类:问答C++ Visual Studio 2010 not linking native static library
I am converting a C++ Visual Studio 2005 project to Visual Studio 2010, and I have used this guide in the process.[详细]
2023-03-29 11:58 分类:问答Linking static libraries with c++/cmake
I try to link libraries in my program using firebreath framework. So I add this code in projectDef.cmake.[详细]
2023-03-29 02:31 分类:问答How to compile c program so that it doesn't depend on any library?
It seems even a开发者_StackOverflow社区 hello world program depends on several libraries: libc.so.6 => /lib64/libc.so.6 (0x00000034f4000000)[详细]
2023-03-28 17:20 分类:问答How to statically link libcurl with dev c++?
Recently I am trying to link libcurl with dev c++ statically.I linked all the .a files except libcurldll.a file which came from libcurl and I defined CURL_STATICLIB . But I received some linker errors[详细]
2023-03-28 11:15 分类:问答Using functions from a C++ .DLL within Delphi
I am trying to access various functions from the \'Approximate nearest neighbor\' (ANN) library from within Delphi (actually, it is Lazarus/FreePascal, but that shouldn\'t matter much).[详细]
2023-03-28 00:20 分类:问答How can I figure out what "target" an object file/module is compiled for on Mac OS Lion (e.g. "x86_64-apple-darwin11.0")?
I\'m trying to compile some code for OS X Lion and I\'m running into problems with linking the object files and l开发者_运维百科ibraries.I get this error:[详细]
2023-03-26 11:00 分类:问答Linking to boost::python using Visual C++ Express 10
I\'ve built Python (3.2.1) and boost::python (1_47_0) under Windows with Visual C++ Express 2010.While boost::filesystem works fine, boost::python doesn\'t (these both require linking to libraries as[详细]
2023-03-25 09:55 分类:问答How to statically link libstdc++
I am trying to get my program working in another machine where libstdc++ versions is different. I am developing and compiling it on netbeans. I have specified the option -static-libstdc++ but the prog[详细]
2023-03-25 07:34 分类:问答