Some questions about building and using FEBioHeat.dll

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Frank329
    Junior Member
    • Jun 2023
    • 2

    Some questions about building and using FEBioHeat.dll

    Hello professor,
    I downloaded FEBioHeat.dll from the website and generated febio.sln using CMake. I successfully built febio4.exe in VisualStudio. However, when I tried to import FEBioHeat.dll in the command line, I got an error message of "Invalid SDK version".

    After that, I downloaded "FEBio_sdk_windows_3.2.zip" from the official website and tried to generate a FEBioHeat.sln using CMake. However, I was unable to successfully generate a solution using VisualStudio. Many errors appeared, including "LNK2001" and "LNK2019," which indicated that external commands could not be resolved.

    Is there something wrong with my FEBioHeat.dll build process or my path settings? Looking forword to your reply.
    Best wishes.
  • maas
    Lead Code Developer
    • Nov 2007
    • 3737

    #2
    Hi Frank329,

    The most up-to-date code for the FEBioHeat plugin can be found on its GitHub page, here. Please give that version a try and let me know if you still have issues.

    Best,

    Steve
    Department of Bioengineering, University of Utah
    Scientific Computing and Imaging institute, University of Utah

    Comment

    • Frank329
      Junior Member
      • Jun 2023
      • 2

      #3
      Dear Professor Mass,

      I hope this message finds you well.

      Thank you very much for your prompt and helpful response. I followed your advice and re-downloaded the FEBioHeat-master from GitHub. I was able to successfully generate the FEBioHeat.sln file using CMake, as shown in the attached screenshot below.
      Cmake1.png
      However, when I opened FEBioHeat.sln with Visual Studio 2022 and attempted to build the solution, I encountered some errors that have left me quite puzzled. I am writing to seek further assistance on these issues.
      VS2.png
      In the "FEBioHeat.cpp" file, the line #include <FECore/FEModel.h> is working fine, but the subsequent line #include <FECore/FEModule.h> results in an error stating that the source file cannot be opened. A screenshot of this issue is also attached for your reference.
      VS1.png
      In the "FEHeatTransferMaterial.h" file, there is a declaration class FEHeatMaterialPoint : public FEMaterialPointData, which seems to indicate that the class FEMaterialPointData is not defined, even though the inclusion of FECore/FEMaterial.h did not produce any errors. I have included a screenshot of this problem as well.
      VS3.png
      I would greatly appreciate it if you could provide some guidance or suggestions on how to resolve these issues. Your expertise and experience are invaluable, and I am looking forward to your insights.

      Thank you once again for your time and support. I look forward to your reply.

      Best regards,

      Frank
      Attached Files

      Comment

      • maas
        Lead Code Developer
        • Nov 2007
        • 3737

        #4
        Hi Frank,

        Based on these error messages, I have the impression that you are using an older SDK. Perhaps try updating to the very latest version of FEBio (and its SDK) and then give it another try.
        Let me know if that solved the issues or not.

        Best,

        Steve

        Department of Bioengineering, University of Utah
        Scientific Computing and Imaging institute, University of Utah

        Comment

        Working...
        X