[ODE] Problems linking test_trilist.cpp
kernts
kernts at samba.informatik.uni-stuttgart.de
Tue Aug 6 02:22:02 2002
Hi,
> Make sure you have defined OPCODEDISTRIB_EXPORTS so that all required Opcode
> functions get exported to the library. According to the WIKI page you should
> also make sure that you have Opcode 1.0 installed, though I did not notice
> any problems when compiling it with Opcode 1.2.
I had defined OPCODEDISTRIB_EXPORTS and got correct compiler messages
"Compiling Opcode". I have now set OPCODE_API to nothing and all works
fine:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Preprocessor
//#ifdef OPCODEDISTRIB_EXPORTS
// #define OPCODE_API __declspec(dllexport)
//#else
// #define OPCODE_API __declspec(dllimport)
//#endif
#define OPCODE_API
Greetings,
Thomas Kern