Skip to content
Advertisement

Tag: makefile

How to use FANN in C++

Here I have read good references about FANN for Artificial Neural Networks in C/C++. Actually I am using C++ (on Ubuntu with g++ v4.6.1). The library written in C, has a wrapper for C++. But I don’t get it to work. Even the example included xor_sample.cpp works. I have a Makefile with a line like this: Being FANNINCLUDE the path

Linux configure/make, –prefix?

Bear with me, this one’s not very easy to explain… I’m trying to configure, make and make install Xfce into my buildroot build directory. When configuring I’m using so that it builds to the right folder, however when it’s compressed and run I get errors from various config files where it’s looking for files in (which of course doesn’t exist.)

Undefined references in makefile

Ok, ive read about 10 tutorials, but i keep getting errors all the time, i have 5 files, main.cpp class.cpp, class.h and functions.cpp and functions.h. All of those use functions from different objects meaning that functions in functions.cpp uses objects from classes.cpp. My makefile looks as follows I keeps telling me that it has undefined references. What am i missing?

Advertisement