NTNU-IHB/FMI4cpp

abuot the fmi4cpp::fmi4cpp.lib

Closed this issue · 5 comments

hello, Why is there fmi4cpp:: fmi4cpp.lib in the attached dependency, but there is no such lib in the project
fmi4cpp::fmi4cpp.lib
kernel32.lib
user32.lib
gdi32.lib
winspool.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
comdlg32.lib
advapi32.lib

It is not clear what issue you are having. How are you building and linking the project?

I just started to learn FMU. Could you please tell me how to build the project with vs2017 under Windows environment

It's a regular CMake project that uses conan for dependecy managment. See e.g. https://github.com/NTNU-IHB/FMI4cpp/blob/master/.github/workflows/config.yml

Actually, the lines:

      - name: Run conan
        run: |
          conan install . -s build_type=Release --install-folder=build -b missing
        shell: bash

in the above config is not necessary and you can skip it as CMake handles the call automatically when -DFMI4CPP_WITH_CONAN=ON. I should make a PR simplifying the CI config.

EDIT: File updated in master

I realized that I had not studied Conan in the past. Thank you. I'll try again.

I succeeded. Thank you so much for your help.