static-linking
How do I tell cmake I want my project to link libraries statically?
I\'m trying to build an OpenCV-based project using CMake, running on Linux. So far my CMakeLists.txt files looks something like[详细]
2023-01-16 18:25 分类:问答Linking against boost barfs with 'undefined reference to `boost::system::get_system_category()'
I\'m having trouble statically linking an app which uses the boost 1.35 libraries. I\'m using a linux debian Lenny box, with G++ 4.3.2. Linking without -static works without a hitch.[详细]
2023-01-16 11:44 分类:问答IMPLEMENT_DYNCREATE, "Use MFC in a Static Library" and inheritance
If I switch my project from using MFC in a shared DLL to use MFC in a static library, the following code won\'t compile:[详细]
2023-01-15 16:21 分类:问答question about link and include of different vers of a lib
Is it a problem if I have an executable and a library use different versions of another library. Example:开发者_高级运维[详细]
2023-01-12 23:16 分类:问答Can you static link satellite assemblies?
I don\'t know enough about satelite assemblies to understand their construction, I\'m curious if it\'s possible to statically link them all into a single dll and get the same functionality as if they[详细]
2023-01-12 16:00 分类:问答Upgrade of BOOST 1.35 to 1.43 causes linker error with __pRawDllMain (mfc related)
At work we have an MFC Extension DLL that built fine with 1.35 but when built with 1.43 causes the following error:[详细]
2023-01-11 19:47 分类:问答Convert a dll to a lib for static linking?
Is there a free way to statically link a dll? I\'ve tried dll to lib but $999 is too expensive. What are alternatives since I want to have 1 nice exe in开发者_如何学Cstead of 1 exe + 1 DLL.[详细]
2023-01-10 11:27 分类:问答Static linking GLU?
I\'m using GLUTess to tesselate polygons. After several tests, I realized glu32.lib which links to glu32.dll, crashes every once in a while. Whereas GLU which I got from the opengl sdk, is solid as a[详细]
2023-01-09 15:04 分类:问答Why is my static library so huge?
I have a C++ compiled static library of about 15 classes and their member functions and stuff, and compiled, it\'s almost 14 megabytes. It links to Google\'s dense hash table library and MPIR, which i[详细]
2023-01-09 07:48 分类:问答How to force use of static library over shared?
In my SConscript I have the following line: Program(\"xtest\", Split(\"main.cpp\"), LIBS=\"mylib fltk Xft Xinerama Xext X11 m开发者_StackOverflow社区\")[详细]
2023-01-02 17:56 分类:问答