help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linker won't find dll


From: jjones7947
Subject: Linker won't find dll
Date: Fri, 22 Aug 2008 12:09:18 -0700 (PDT)
User-agent: G2/1.0

Linking using:
g++ -shared -o ${dllbuild}/jsummaraizer.dll ${cbuild}/jsummarizer.o $
{cbuild}/jsummarizer.def -L${librarydir} -lsummarizer37.dll
with C++ code in ant but get the error that the dll listed last cannot
be found.
Have previously used gcc (C code) with following:
gcc -shared -o ${dllbuild}/JNewton.dll ${cobjfiles} ${cbuild}/
jnewton.def ${dllbuild}/Newton.dll
this worked fine. Note no -l on second one. Both of these dlls are not
built on gcc.
Any ideals?
Jim


reply via email to

[Prev in Thread] Current Thread [Next in Thread]