Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Can you please explain how you set up your files in your directory? I am following your CMakeLists and getting weirdo MSVC 2022 compiler errors, like not founding de STD_MODULES_DIR and use of /module:export requires /experimental:module which is already on the CMake file! Commented Jan 7, 2022 at 10:19
  • The STD_MODULES_DIR is required only if you use the standard library modules in your project (e.g.std.core), if you use the #include directives, no need use add this dir and stdIfcDir compile option. Commented Jan 8, 2022 at 7:37
  • Maybe you'd better try with modules in command line first (this is a good tutorial), my demo CMakeLists is just wrapped command line cmds into cmake. Commented Jan 8, 2022 at 7:43
  • I deleted /stdIfcDir and /ifcSearchDir and works perfectly. Also I can use import std.core or whatever without those compile options, which aren't working for me. I am using the 2022 MSVC compiler, but as I said, now I can fully compile my project Commented Jan 9, 2022 at 17:28