I am trying to write a .NET wrapper around Agar (or at least the portions that make sense for such a wrapping), and I am running into troubles.

With the 1.4.0 and 1.4.1 libraries, I am getting "EntryPoint not found" errors. I have run microsoft's `dumpbin /EXPORTS` application within Visual Studios, and it says there are no entry points in the libraries (1.4.0) and only a few entry points (1.4.1) - not including AG_Getopts and AG_InitCore in ag_core.dll. Does anyone know a good workaround? I tried building the 1.4.0 library (VS 2010 Express), but did not get any further exports. I haven't managed to build 1.4.1 yet.

So:
1.4.0 - downloaded/win32 -> no entry points
1.4.0 - built/VS 2010 -> no entry points
1.4.1 - downloaded/VS -> some entry points, but most are missing
1.4.1 - downloaded/MinGW -> no dlls
1.4.1 -> built/VS 2010 -> can't yet get it to compile

from the visual studio command prompt (not the normal windows prompt), `dumpbin /EXPORTS ag_core.dll` is an analog to `nm ag_core.so` in *NIX.

As another experiment, I tried the wrapper in FreeBSD, and it could load ag_core just fine, and call AG_Getopts, AG_InitCore, and AG_GetError.

I'll try writing a sample C app in windows using Agar via dlopen today or tomorrow. Sorry for not waiting until after it is written, but I'd like to get one or two demos of my wrapper done by next week, when I'll get busy again.


Thanks,
-Jim Stapleton

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to