Thank you for your interest in the Tic.
When building the Tic software or libusbp, you can use the
-DBUILD_SHARED_LIBS=false option when you run CMake to make it build static libraries instead of shared libraries. The header files of the Tic library and libusbp need to know that you are using static libraries, so you would need to define preprocessor macros named
TIC_STATIC when you use the libraries in your project. (The values of those macros do not matter, they just need to be defined.)
If you want to use the Tic library from an MSVC program, you should probably make sure that you compile the Tic software with MSVC instead of GCC. We do not have instructions for how to do that. If you are familiar with compiling C code into a static library with Visual Studio, then you might try doing that with the Tic and libusbp code. We can help you fix any specific errors or warnings that you get.
You can also use CMake to generate Visual Studio projects, but I have not tried it to see how well it works. To do that, you can either remove the
-G"MSYS Makefiles" argument to CMake or change it to something like
-G"Visual Studio 16 2019". You can run
cmake --help to see the list of supported generators.
By the way, it might be easier to just invoke
ticcmd from your program instead of building the Tic software yourself and learning how to use the C API.
The Tic’s USB interface does not provide a virtual serial port.
Please let me know if you have any further questions.