Hi @ All !
I am working with SWIG and generated a C++ file to use it under python.
I work with windows2000 and the VC++ 6.0 Compiler, but now there are
linking problems, VC++ says:
Temporäre Dateien und Ausgabedateien für "AG TEM - Win32 Debug" werden
gelöscht.
--------------------Konfiguration: AG TEM - Win32
Debug--------------------
SWIG !!!
Kompilierung läuft...
simanneal.cpp
simanneal_wrap.cpp
Linker-Vorgang läuft...
Bibliothek Debug/AG TEM.lib und Objekt Debug/AG TEM.exp wird erstellt
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: void __thiscall variablelist::clean(void)"
(?clean@variablelist@@QAEXXZ)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall variablelist::pt2xn(int)"
(?pt2xn@variablelist@@QAEHH@Z)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::copy(struct variable *)"
(?copy@string@@QAEHPAUvariable@@@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::copy(struct variable *)"
(?copy@string@@QAEHPAUvariable@@@Z)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct variable & __thiscall variable::operator=(struct
variable &)"
(??4variable@@QAEAAU0@AAU0@@Z)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol "int
__cdecl calculate(struct variable &,struct variablelist *,struct
basisfile *,struct string *)"
(?calculate@@YAHAAUvariable@@PAUvariablelist@@PAUbasisfile@@PAUstring@@@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"int __cdecl calculate(struct variable &,struct variablelist *,struct
basisfile *,struct string *)"
(?calculate@@YAHAAUvariable@@PAUvariablelist@@PAUbasisfile@@PAUstring@@@Z)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall evaluate::abort(struct variable &)"
(?abort@evaluate@@QAEHAAUvariable@@@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall evaluate::abort(struct variable &)"
(?abort@evaluate@@QAEHAAUvariable@@@Z)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: __thiscall variable::~variable(void)" (??1variable@@QAE@XZ)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol "void
__cdecl strprint(struct string &,char *,char *)"
(?strprint@@YAXAAUstring@@PAD1@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"void __cdecl strprint(struct string &,char *,char *)"
(?strprint@@YAXAAUstring@@PAD1@Z)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol "int
__cdecl calculate(struct variable &,struct basisfile *,struct string *)"
(?calculate@@YAHAAUvariable@@PAUbasisfile@@PAUstring@@@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"int __cdecl calculate(struct variable &,struct basisfile *,struct
string *)"
(?calculate@@YAHAAUvariable@@PAUbasisfile@@PAUstring@@@Z)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: void __thiscall variable::init(double,int)"
(?init@variable@@QAEXNH@Z)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: __thiscall variable::variable(void)" (??0variable@@QAE@XZ)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol "int
__cdecl read_double(double &,struct variable *)"
(?read_double@@YAHAANPAUvariable@@@Z)
simanneal.obj : error LNK2001: Nichtaufgeloestes externes Symbol "int
__cdecl random_step(struct variable *,struct variable *)"
(?random_step@@YAHPAUvariable@@0@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: __thiscall evaluate::evaluate(void)" (??0evaluate@@QAE@XZ)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: __thiscall evaluate::~evaluate(void)" (??1evaluate@@QAE@XZ)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: __thiscall string::string(void)" (??0string@@QAE@XZ)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: __thiscall string::string(int,char *)" (??0string@@QAE@HPAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: __thiscall string::string(char *,char *)"
(??0string@@QAE@PAD0@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: __thiscall string::string(struct string &,char *)"
(??0string@@QAE@AAU0@PAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: __thiscall string::~string(void)" (??1string@@QAE@XZ)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: void __thiscall string::clean(void)" (?clean@string@@QAEXXZ)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct string & __thiscall string::cat(struct string &)"
(?cat@string@@QAEAAU1@AAU1@@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct string & __thiscall string::cat(char *)"
(?cat@string@@QAEAAU1@PAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct string & __thiscall string::copy(struct string &)"
(?copy@string@@QAEAAU1@AAU1@@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct string & __thiscall string::copy(char *)"
(?copy@string@@QAEAAU1@PAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::copy(double,long)"
(?copy@string@@QAEHNJ@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::copy(int)" (?copy@string@@QAEHH@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: void __thiscall string::out(char * *)"
(?out@string@@QAEXPAPAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct string & __thiscall string::ncopy(struct string &,int)"
(?ncopy@string@@QAEAAU1@AAU1@H@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct string & __thiscall string::ncopy(struct string
&,int,int)"
(?ncopy@string@@QAEAAU1@AAU1@HH@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct string & __thiscall string::compose(struct string
&,struct string &,char *)"
(?compose@string@@QAEAAU1@AAU1@0PAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct string & __thiscall string::compose(struct string &,char
*,char *)"
(?compose@string@@QAEAAU1@AAU1@PAD1@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct string & __thiscall string::compose(struct string
&,double,char *)"
(?compose@string@@QAEAAU1@AAU1@NPAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct string & __thiscall string::compose(struct string
&,int,char *)"
(?compose@string@@QAEAAU1@AAU1@HPAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::element(int)" (?element@string@@QAEHH@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::compare(struct string &)"
(?compare@string@@QAEHAAU1@@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::compare(char *)"
(?compare@string@@QAEHPAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::string_complement_span(char *,int)"
(?string_complement_span@string@@QAEHPADH@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::string_complement_span(struct string
&,int)"
(?string_complement_span@string@@QAEHAAU1@H@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::string_complement_span(char *)"
(?string_complement_span@string@@QAEHPAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::string_span(struct string &,int)"
(?string_span@string@@QAEHAAU1@H@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::string_span(char *,int)"
(?string_span@string@@QAEHPADH@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::string_string(struct string &,char *)"
(?string_string@string@@QAEHAAU1@PAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::string_string(struct string &,struct
string &)"
(?string_string@string@@QAEHAAU1@0@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::string_string(struct string &,struct
string &,int)"
(?string_string@string@@QAEHAAU1@0H@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::string_character(char)"
(?string_character@string@@QAEHD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: void __thiscall string::string_pointer_break(struct string
&,char *)"
(?string_pointer_break@string@@QAEXAAU1@PAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: struct _iobuf * __thiscall string::fileopen(char *)"
(?fileopen@string@@QAEPAU_iobuf@@PAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::fileread(struct string &)"
(?fileread@string@@QAEHAAU1@@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::filereadc(struct string &,char)"
(?filereadc@string@@QAEHAAU1@D@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::filewrite(struct string &,char *)"
(?filewrite@string@@QAEHAAU1@PAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::filewrite(struct _iobuf *)"
(?filewrite@string@@QAEHPAU_iobuf@@@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: int __thiscall string::system_call(void)"
(?system_call@string@@QAEHXZ)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"public: void __thiscall string::init(int,char *)"
(?init@string@@QAEXHPAD@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"void __cdecl print(struct string &)" (?print@@YAXAAUstring@@@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"void __cdecl strprint(struct string &,int,char *,char *)"
(?strprint@@YAXAAUstring@@HPAD1@Z)
simanneal_wrap.obj : error LNK2001: Nichtaufgeloestes externes Symbol
"void __cdecl strprint(struct string &,int,char,char *,char *)"
(?strprint@@YAXAAUstring@@HDPAD1@Z)
Debug/AG TEM.dll : fatal error LNK1120: 57 unaufgeloeste externe
Verweise
Fehler beim Ausführen von link.exe.
AG TEM.dll - 63 Fehler, 0 Warnung(en)
Have you got an idea ?
Greetings
Marcus