Is there a way to use the brlcad Linux libraries on Windows ? I did this with the Atlas linear algebra libraries (www.netlib.org/atlas) by creating a dll from the Atlas libraries under Cygwin. I can call the Atlas dll under Windows from my own c++ code. Can this be done with the brlcad libraries ?
B.t.w.: the script I used for creating the Windows dll from Linux Atlas libraries can be found here: http://www.kevinsheppard.com/research/matlabatlas/linkAtlasGCC65.zip
Yes, this can and has been done by several folks already to various extents. We're in the progress of providing a complete port for the 2 dozen libraries and 400 binaries, but the core ones that you'll probably want in your code have already been completed. The core libraries are generally libbu, libbn, and librt.
I'd suggest working with cygwin/mingw since that will likely get you the farthest, though there are a couple groups that have set up builds for some of the libs/apps in Studio too. The code does (mostly?) have dll export labels in the libraries so you can make static or dynamic libraries.
If you'd like to interactively work through the build and any issues you encounter or if you have more questions, you might find a helpful ear in the #brlcad IRC channel on irc.freenode.net too (http://irc.brlcad.org if you've never used irc).
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.