i just write a fuzzy code with a fuzzylogic library(eFLL library). I used it in a linux environment and try to compile it with g++. i unziped the library in the g++ path. but these errors come to me and i do not know what are these for. i make a Makefile and try to solve the problem but nothing well happend. does anyone know how can i solve this problem?
a part of code is like this:
include <iostream.h>
#include "../FuzzyRule.h"
#include "../FuzzyComposition.h"
#include "../Fuzzy.h"
void setup(){
Fuzzy* fuzzy = new Fuzzy();
FuzzyInput* Threat = new FuzzyInput(1);
FuzzySet* lowThreat = new FuzzySet::FuzzySet(0, 1.875, 1.875, 3.75),
a part of errors are like this:
fuzzycode2.cpp:(.text+0x23): undefined reference to `Fuzzy::Fuzzy()'
fuzzycode2.cpp:(.text+0x61): undefined reference to `FuzzyInput::FuzzyInput(int)'
fuzzycode2.cpp:(.text+0xbb): undefined reference to `FuzzySet::FuzzySet(float, float, float, float)'
fuzzycode2.cpp:(.text+0xed): undefined reference to `FuzzyIO::addFuzzySet(FuzzySet*)'
fuzzycode2.cpp:(.text+0x129): undefined reference to `FuzzySet::FuzzySet(float, float, float, float)'
<iostream.h>? You really want to ditch the books from the previous millenium! - Dietmar Kühl