cancel
Showing results for 
Search instead for 
Did you mean: 

How to compile cli_example in FP-SNS-DATALOG1 on Windows 10, x64?

KShet.1
Associate

FP-SNS-DATALOG1 (STM32Cube High Speed Datalog function pack for STWIN evaluation kits) includes an Windows Utility application (and source code), called cli_example.

Can you please advise how to compile the provided source code?

That is, what C++ tool chain can be used on Windows 10 machine (i.e., Microsoft C Complier or GCC?) or can we use STM32 Cube IDE or Visual Studio C++? I am using a Windows 10, 64-bit machine.

Thanks in advance for your suggestion.

2 REPLIES 2
SimonePradolini
ST Employee

Hi @KShet.1​,

In the package we provide also a CMake file, to make recompiling the application easy using your preferred tool chain.

As an example, we are using Qt or Visual Studio, but you are free to use any IDE supporting MinGW compiler.

Notice that we already provide a precompiled version for Windows 64bit machines.

Best regards

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
KShet.1
Associate

Thank you. I had figured it out and was able to compile successfully, after fixing a few minor things for Visual Studio.