undefined-reference Questions
6
Nearly the final step but still some strange erros....
bash-3.2$ make
g++ -Wall -c -g Myworld.cc
g++ -Wall -g solvePlanningProblem.o Position.o AStarNode.o PRM.o PRMNode.o World.o SingleCircleWorl...
Gauger asked 7/11, 2009 at 16:43
8
Solved
Here's the complete log:
/tmp/ccCvErNZ.o: In function `YAML::detail::node& YAML::detail::node_data::get<std::string>(std::string const&, std::shared_ptr<YAML::detail::memory_holde...
Ralston asked 4/4, 2016 at 12:54
19
Solved
Quote from The C++ standard library: a tutorial and handbook:
The only portable way of using templates at the moment is to implement them in header files by using inline functions.
Why is this...
Enforce asked 30/1, 2009 at 10:6
7
I am trying to port an application to drive a device that uses an ftdi2332h chip from windows to linux. I installed the libftd2xx library on an ubuntu 10.04 system per these instructions.
When I ...
Platysma asked 5/9, 2012 at 17:8
2
Solved
I've downloaded the latest release of libzip and am currently trying to build it on OSX and failing:
Linking C shared library libzip.dylib
Undefined symbols for architecture x86_64:
"_crc32", ref...
Obviate asked 6/12, 2013 at 12:37
39
Solved
What are undefined reference/unresolved external symbol errors? What are common causes, and how do I fix and prevent these errors?
Scrabble asked 24/9, 2012 at 22:27
2
Solved
I am trying to compile a project with experimental::filesystem in visual studio code using code runner, however I can't get it to compile even in the terminal.
The code is as follows, a very simpl...
Lammond asked 13/3, 2018 at 6:8
5
I am implementing a OpenSSL code and have already included required header files but still I am getting errors like *
undefined reference to SSL_library_init
I guess it's a linking error rath...
Earleneearley asked 8/4, 2011 at 9:42
4
I'm trying to use flex and bison to create a simple scripting language. Right now, I'm just trying to get a calculator working.
I can't get it to compile, though. When I run this makefile:
OBJECT...
Crow asked 26/9, 2009 at 1:2
8
Solved
I have three files, main.c, hello_world.c, and hello_world.h. For whatever reason they don't seem to compile nicely, and I really just can't figure out why...
Here are my source files. First hello_...
Hierophant asked 27/4, 2012 at 20:4
3
Solved
I'm testing the how to use extern in C ,so I create three files for main.c, test.c, headfile.h . I want to declare variable and function in headfile.h,define in the test.c ,then print out the varia...
Harbaugh asked 30/6, 2018 at 17:43
5
Solved
Just a simple program, but I keep getting this compiler error. I'm using MinGW for the compiler.
Here's the header file, point.h:
//type for a Cartesian point
typedef struct {
double x;
double ...
Alishiaalisia asked 5/4, 2011 at 22:18
7
I now work on C code coverage study and encountered following issue, GCC version 4.4.6:
Added compiler flag CFLAGS = --coverage and linker option LDFLAGS := --coverage or LOCAL_LDLIBS := --covera...
Spada asked 22/5, 2013 at 2:38
16
Solved
When I'm compiling openvswitch-1.5.0, I've encountered the following compile error:
gcc -Wstrict-prototypes -Wall -Wno-sign-compare -Wpointer-arith
-Wdeclaration-after-statement -Wformat-securit...
Mccarthyism asked 11/11, 2013 at 8:33
5
I'm using a cross compiler. My code is:
class WindowsTimer{
public:
WindowsTimer(){
_frequency.QuadPart = 0ull;
}
private:
static LARGE_INTEGER _frequency;
};
I get the following erro...
Grallatorial asked 2/2, 2012 at 10:12
4
Solved
The first couple are too long to reference. I get this error when I try to compile clang++ -stdlib=libc++ ../main.cc ... with clang and libc++ from the SVN.
error: undefined reference to 'typeinfo...
Gibber asked 10/8, 2011 at 19:38
3
I am doing FRVT 1:1 verification. So I need to use the program provided by FRVT. I have connected to the program I wrote, and completed implementation.
But I want to transplant what I wrote in cyth...
Saval asked 27/11, 2019 at 2:12
4
Solved
This is my thread sub routine...
Here, I am creating 4 threads and passing structure as a argument to thread sub routine.
I am trying to print thread id with getid() function,
I am getting error...
Crutchfield asked 22/1, 2014 at 10:1
5
I am trying to build a Fortran program, but I get errors about an undefined reference or an unresolved external symbol. I've seen another question about these errors, but the answers there are most...
Auspicate asked 29/3, 2021 at 13:38
6
Solved
When I compile my code for a linked list, I get a bunch of undefined reference errors. The code is below. I have been compiling with both of these statements:
g++ test.cpp
as well as
g+...
Paternoster asked 13/3, 2011 at 22:51
2
Solved
Trying to get getch() working to capture key press.
#include <curses.h>
...
...
WINDOW *w;
char f;
w = initscr();
timeout(3000);
f = getch();
endwin();
is giving me following err...
Hartsell asked 3/10, 2009 at 10:26
4
Solved
Getting this error while compiling C++ code:
undefined reference to `__stack_chk_fail'
Options already tried:
added -fno-stack-protector while compiling - did not work, error persists
added a ...
Outstanding asked 20/12, 2010 at 18:49
6
Solved
I cannot figure out why this is not working. I will put up all three of my files and possibly someone can tell me why it is throwing this error. I am using g++ to compile the program.
Program:
#i...
Tackling asked 9/11, 2010 at 4:8
5
With gcc 4.6 when trying to execute this code:
#include <iostream>
using namespace std;
#include <bitset>
int main()
{
//Int<> a;
long long min = std::numeric_limits<in...
Galloping asked 13/10, 2011 at 8:54
1
I'm testing my project using Catch2 as library. I followed every step in the Catch doc, but when I run the tests I get the following error:
CMakeFiles/tests.dir/tests/IntegerIntervalTest.cpp.o: in...
Elgar asked 29/5, 2018 at 9:2
1 Next >
© 2022 - 2024 — McMap. All rights reserved.