Hi,
I am having trouble using your library and I was
wondering if you could help.
I have both the binaries and source (different directories)
When I try to use the binaries:
I #include "FFLLAPI.h" but I get the following error, I
am sure that I am missing something, but just can't
figure it out.
gcc fuzzy-test.cc -I. -L.
/tmp/ccHPvhsP.o: In function main':
/tmp/ccHPvhsP.o(.text+0x7): undefined reference to
ffll_new_model'
/tmp/ccHPvhsP.o(.text+0x1d): undefined reference to
ffll_load_fcl_file'
/tmp/ccHPvhsP.o(.text+0x33): undefined reference to
ffll_get_output_value'
/tmp/ccHPvhsP.o(.text+0x45): undefined reference to
`ffll_close_model'
collect2: ld returned 1 exit status
When I try to compile your source I get these errors:
make
g++ -c ../RuleArray.cpp -o ../RuleArray.o
-I/usr/include -I/usr/include/g++-3 -fexceptions -s
g++ -c ../COGDefuzzSetObj.cpp -o ../COGDefuzzSetObj.o
-I/usr/include -I/usr/include/g++-3 -fexceptions -s
g++ -c ../COGDefuzzVarObj.cpp -o ../COGDefuzzVarObj.o
-I/usr/include -I/usr/include/g++-3 -fexceptions -s
g++ -c ../DefuzzSetObj.cpp -o ../DefuzzSetObj.o
-I/usr/include -I/usr/include/g++-3 -fexceptions -s
g++ -c ../DefuzzVarObj.cpp -o ../DefuzzVarObj.o
-I/usr/include -I/usr/include/g++-3 -fexceptions -s
g++ -c ../FFLLAPI.cpp -o ../FFLLAPI.o -I/usr/include
-I/usr/include/g++-3 -fexceptions -s
g++ -c ../FFLLBase.cpp -o ../FFLLBase.o -I/usr/include
-I/usr/include/g++-3 -fexceptions -s
/usr/include/g++-3/std/bastring.h: In method const
__wchar_t *
basic_string<__wchar_t,string_char_traits<__wchar_t>,__default_alloc_template<true,0>
>::c_str() const':
../FFLLBase.cpp:254: instantiated from here
/usr/include/g++-3/std/bastring.h:338: return to
const
__wchar_t ' from `const char '
make: *** [../FFLLBase.o] Error 1
I am on a linux system using gcc/g++ 2.95.3
Any help would be apreciated.
Logged In: YES
user_id=140371
I'll look into it... please email me at
MichaelZ@LouderThanABomb.com with any more information...
there aint much I can tell from what you sent - most of them are
warnings. Send me YOUR source and I may be able to help.
Michael Z
Logged In: YES
user_id=140371
I'll look into it... please email me at
MichaelZ@LouderThanABomb.com with any more information...
there aint much I can tell from what you sent - most of them are
warnings. Send me YOUR source and I may be able to help.
Michael Z