undefined-reference
"undefined reference to" using 'g++' to compile a C++ program
I can\'t seem to get the errors to go away. The errors are below. I have looked on Google Search and still I can\'t figure it out. It is not like I am new to C++, but I have not fooled around with it[详细]
2023-03-26 07:56 分类:问答D2 gdc link error - undefined reference to `_D3std6stdint12__ModuleInfoZ`
I\'m using https://bitbucket.org/goshawk/gdc/downloads/gcc-4.5.2-tdm-1-gdc-r575-20110723.zip with TDM GCC 4.5.2 in -v2 mode to build a DLL. In one of the modules I do import std.stdint. So I thought I[详细]
2023-03-25 16:56 分类:问答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 分类:问答C-callback to function template: explicitly instantiate template
Premise I’m using a C library (from C++) which provides the following interface: void register_callback(void* f, void* data);[详细]
2023-03-21 06:01 分类:问答Ocaml code which compiles, but does not go with toplevel
I am doing an exercise of a free course. The following ocaml code compiles when I \"make\", but it complains once I am trying to put it into toplevel. Why?[详细]
2023-03-15 20:34 分类:问答Multiple definition [...] first define here
I\'m writing a H264 parser (no OO), but I\'m trying to use some modules to organize better the things.[详细]
2023-03-14 11:59 分类:问答Undefined Reference to a function
I\'m using Linux and I have the following files: main.c, main.h fileA.c, fileA.h fileB.cpp, fileB.h The function F1() is declared in fileB.h and defined in fileB.cpp. I need to use the function in[详细]
2023-03-14 03:55 分类:问答Undefined reference C++
I\'m trying to compile my first legit program that I\'m converting from Java (I ran a test hello world type program to check my compiler and it works).[详细]
2023-03-11 04:06 分类:问答undefined reference,gmp lib
I installed the gmp libraries in cygwin via its installer. I tried to compile a simple program with gcc.[详细]
2023-03-11 01:38 分类:问答help with pointers and passing linked list as parameter, undefined reference c++
I am getting an error message that says undefined reference to encrypt(int, std::list<int, std::allocator<int> >*)[详细]
2023-03-07 18:15 分类:问答