<html><div style='background-color:'><DIV>
<P>are you #including the same file several times or something?<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>>From: "Daniel Anderson" <BT...@CA...>
<DIV></DIV>>To: <DEV...@LI...>
<DIV></DIV>>Subject: [Dev-C++] more problems compiling classes and libraries
<DIV></DIV>>Date: Sun, 9 Dec 2001 10:38:02 -0500
<DIV></DIV>>
<DIV></DIV>>Hello again,
<DIV></DIV>>I have managed to make some progress, only to run into larger problems.
<DIV></DIV>>After including the files in one project and compiling, the Linker returns a
<DIV></DIV>>long list of complaints:
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>c:\cpp\array1\dynarray.o: In function `_8DynArrayi':
<DIV></DIV>>file://file://c/cpp/array1/dynarray.cpp:25: multiple definition of
<DIV></DIV>>`DynArray::DynArray(int)'
<DIV></DIV>>c:\cpp\array1\main.o://C/cpp/array1/dynarray.cpp:25: first defined here
<DIV></DIV>>c:\cpp\array1\dynarray.o: In function `_8DynArrayRC8DynArray':
<DIV></DIV>>file://c/cpp/array1/dynarray.cpp:41: multiple definition of
<DIV></DIV>>`DynArray::DynArray(DynArray const &)'
<DIV></DIV>>c:\cpp\array1\main.o://C/cpp/array1/dynarray.cpp:41: first defined here
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>It seems that I get this type of complaint for each function in the
<DIV></DIV>>implementation file. What is the cause of this? Any ideas on what to do to
<DIV></DIV>>solve this problem?
<DIV></DIV>>
<DIV></DIV>>Thanks- not only for any information on this problem, but on the invaluable
<DIV></DIV>>help given on my previous questions.
<DIV></DIV>>
<DIV></DIV>>Danny
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>_______________________________________________
<DIV></DIV>>Dev-cpp-users mailing list
<DIV></DIV>>Dev...@li...
<DIV></DIV>>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
<DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>
|