linker-errors
Function already defined error in C++
I have a file called \"SimpleFunctions.h\" defined as follow: #ifndef SIMPLEFUNCTIONS_H #define SIMPLEFUNCTIONS_H[详细]
2023-03-26 02:40 分类:问答Visual Studio 2005 + MFC: Linker error, cannot link with constructor even if exported
I have two MFC projects, an exe and a dll. The exe references the dll. I created the dll by extracting some classes from the exe project, which was my starting point.[详细]
2023-03-26 01:37 分类:问答Linking error when upgrading from lua 4.0.1 to 5.1.4
I\'m working on a really old source code (compiled in Red Hat). Before it had lua-4.0.1 so I just compiled the latest lua (lua-5.1.4) and installed it in the same directory as the old one. The impleme[详细]
2023-03-25 17:45 分类:问答unresolved symbols in static library compiled with gcc
I am trying to compile some legacy C/C++ code on Mac OS X with gcc 4.2. that was originally written on Windows using Visual Studio.I am compiling a static library that is being linked against by other[详细]
2023-03-25 00:22 分类:问答GDC D2 Compile: undefined reference to `_Unwind_SjLj_XYZ'
Ijust downloaded GDC (gcc-4.5.2-tdm-1-gdc-r575-20110723.zip) to use with MinGW-w32, and upon trying to compile/link a file, I got these errors:[详细]
2023-03-24 13:35 分类:问答ERROR: "undefined reference to `agg::platform_support::platform_support(agg::pix_format_e, bool)" in Code::Blocks IDE
i\'m building a project which use freetype and agg libs, i\'m sure i have added the libfreetype.so and libagg.a to the linker.[详细]
2023-03-24 13:08 分类:问答"Apple Mach-O (id) linker" error when adding external libraries to project
I added FMDB to my project then added the frameworks libsqlite3.dylib and libsqlite3.0.dylib, but I still get the build error. If I remove the FMDB classes from my project then it builds just fine. Wh[详细]
2023-03-24 01:14 分类:问答Getting undefined reference error at adding simple class to library
I am working with a rather sizeable library which uses CMake for compilation/linking. I need to add some functionality, thus I need to add some classes to the library. The problem is that when I add e[详细]
2023-03-23 07:29 分类:问答Linking error - same symbol in different shared libraries
I am using the function regcomp() in my code. My code links with libonig.so as well as libc.so.6. Both these libraries have their own implementations of regcomp(), however I want to use the implement[详细]
2023-03-23 04:35 分类:问答Android android.database.CursorIndexOutOfBoundsException: Index 2 requested, with a size of 2
I have this log 07-27 21:42:05.635: ERROR/AndroidRuntime(26094): FATAL EXCEPTION: main 07-27 21:42:05.635: ERROR/AndroidRuntime(26094): android.database.CursorIndexOutOfBoundsException: Index 2 reque[详细]
2023-03-23 03:41 分类:问答