- Edited
Hello!
I am creating module for working with IFC files using IfcPlusPlus according to this documentation and I have some questions.
- What does this mean?
You'll need to install the external library on your machine to get the .a library files. See the library's official documentation for specific instructions on how to do this for your operation system. We've included the installation commands for Linux below, for reference.
If I understood correctly ".a" files are static libraries for Linux and for Windows it should be .lib files? Or no? I'm working on Windows and this is confusing.
In this docs in register_types it says to use
register_<module_name>_types
andunregister_<module_name>_types
methods but scons cant build project and says "modules\register_module_types.gen.cpp(108): error C3861: initialize_ifcppg_module: identifier not found". And another docs (about summator) suggest usinginitialize_<module_name>_module
anduninitialize_<module_name>_module
methods and it works for me - Godot builds succesfull and I can use my custom class. What is the difference between these methods and can I do this?I downloaded the library and built it with Visual Studio into IfcPlusPlus.lib file and placed it to mymodule/libs folder, but when I try to include it in the project scons building is terminated with errors.
[100%] scons: *** [bin\godot.windows.editor.x86_64.exe] Error 1181
scons: building terminated because of errors.
I used next commands:
env.Append(LIBPATH=["libs"])
env.Append(LIBS=["IfcPlusPlus"])
Has anyone encountered this or can explain me a possible reason?
Thanks in advance!