[Verse-dev] Building Verse on Win32 (gcc)

Camilla Berglund elmindreda at home.se
Wed Apr 20 09:56:31 CEST 2005


TJay wrote:

> I linked it against the libverse.a file created by Cygwin. Strangely
> though, it reports an undefined reference to "_verse_send_connect"
> instead of "verse_send_connect". Notice the underscore before "verse".
> This is how I called the compiler: g++ -I"D:/verse" -L"D:/verse"
> -lverse main.cpp

The underscore is normal; it's the result of your extern "C" 
declaration.

Try putting the library after the source file.

---
Camilla



More information about the Verse-dev mailing list