Menu

Compilation Issues with Dynamic Link Libraries

Help
Wang Dong
2025-07-07
2025-07-08
  • Wang Dong

    Wang Dong - 2025-07-07

    Hi, I'm encountering some issues while compiling a dynamic link library (DLL). When compiling ifcgemo, there are frequent linking errors, but ifcparse compiles normally. I'd like to know how to resolve this. I've referred to solutions on GitHub https://github.com/IfcOpenShell/IfcOpenShell/issues/1029 and https://github.com/IfcOpenShell/IfcOpenShell/issues/3785, and here's my CMake configuration, I only need 2x3 and 4x3 , and I set lib .Should I set up anything else? And I have set the build type to DLL in Visual Studio. Thank you!

     
    • Thomas Krijnen

      Thomas Krijnen - 2025-07-07

      When compiling ifcgemo, there are frequent linking errors

      What are the errors?

       
      • Wang Dong

        Wang Dong - 2025-07-08

        Thank you Thomas for replying so quickly, I'm fine when generating mapping and serializer, but the link is wrong when generating the kernel

         
  • Wang Dong

    Wang Dong - 2025-07-07

    And I set option(BUILD_SHARED_LIBS "Build IfcParse and IfcGeom as shared libs (SO/DLL)." NO)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.