Closed petrasvestartas closed 1 year ago
@petrasvestartas you can find instructions on using the command line interface here: https://github.com/GeometryCollective/boundary-first-flattening#command-line-interface.
Dear @rohan-sawhney ,
I would like to directly call methods from compiled libraries.
Is it possible to know which files I must reference to visual studio to make this work? https://github.com/GeometryCollective/boundary-first-flattening/tree/master/command-line
Is it bff.lib? Is there any tutorial how to link this list of libraries in visual studio: https://github.com/GeometryCollective/boundary-first-flattening/tree/master/binaries/windows
You'll need to link all the libraries (.lib and .dll) in this folder: https://github.com/GeometryCollective/boundary-first-flattening/tree/master/binaries/windows in your visual studio project. Unfortunately, I don't a tutorial on how to link these libraries in visual studio, but there are several tutorials out there on how to link static and dynamic libraries in visual studio.
You can reference the code in this file: https://github.com/GeometryCollective/boundary-first-flattening/blob/master/command-line/CommandLine.cpp to see how to call relevant methods once you've linked.
Dear @rohan-sawhney,
Normally it is enough to link .dll and .lib files, and the header files that are referenced in CommandLine.cpp are automatically find?
@petrasvestartas yes that's right
Windows build instructions can be found here
Hi,
Is it possible to get example how to used compiled library for Windows Visual Studio Console Application (the most simple functionality of BFF)?