Error on windows: undefined reference to `PL_initialise'
kiw <[email protected]> Fri, 19 Sep 2014 00:24:06 -0700 (PDT)
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm working on a windows 7 system and I try to produce an exe-File as first step (later a dll) based on the calc.c/calc.pl example of the swi prolog manual but it doesn't work. I get the errors: calc.obj:calc.c:(.text+0xc8): undefined reference to `PL_initialise' calc.obj:calc.c:(.text+0xd8): undefined reference to `PL_halt' calc.obj:calc.c:(.text+0xf4): undefined reference to `PL_predicate' calc.obj:calc.c:(.text+0x107): undefined reference to `PL_new_term_refs' calc.obj:calc.c:(.text+0x125): undefined reference to `PL_put_atom_chars' calc.obj:calc.c:(.text+0x14f): undefined reference to `PL_call_predicate' calc.obj:calc.c:(.text+0x16c): undefined reference to `PL_halt' I used this call of swipl: swipl-ld -o calc calc.c calc.pl -v SWI-Prolog.h is well included and found. What else can be wrong? I would be happy if someone could give me an advice. Cheers, kiw -- View this message in context: http://swi-prolog.996271.n3.nabble.com/Error-on-windows-undefined-reference-to-PL-initialise-tp15035.html Sent from the SWI Prolog mailing list archive at Nabble.com.