mayo icon indicating copy to clipboard operation
mayo copied to clipboard

error in io_gmio_amf_writer.h #include <gmio_amf/amf_document.h> no source

Open yilifeng opened this issue 2 years ago • 3 comments

image

image

Compile mayo on window, and the above error is reported. Did I forget to install something, but I did it according to the operation on the wiki. Has anyone encountered the same error and how to solve it, thank you very much

My build environment is: 1.window10 2.vs2019 3. Qt5.15.2 4. opencascade7.6.0

yilifeng avatar May 11 '22 10:05 yilifeng

First time this kind of error is reported. Usage of gmio library is enabled only if GMIO_ROOT option is specified in the qmake call. What was the command-line you run for the qmake step ?

HuguesDelorme avatar May 11 '22 10:05 HuguesDelorme

First time this kind of error is reported. Usage of gmio library is enabled only if GMIO_ROOT option is specified in the qmake call. What was the command-line you run for the qmake step ? The compilation error of the missing file is as follows: 6a10e05d5fafeb8c8fa7bedb3f787c4

thank you for your reply I downloaded gmio (https://github.com/fougue/gmio/releases/tag/v0.4.1) and added it to the environment, the compilation problem was solved, but an error was reported when I tested and exported the gltf format file, other functions are functioning normally.

Exporting gltf file reports the following error 1652325699(1)

yilifeng avatar May 12 '22 03:05 yilifeng

It seems you built OpenCascade by yourself. I suggest you enable RapidJSON in OpenCascade by running CMake again or just download and install the official binaries for OpenCascade(see https://dev.opencascade.org/release)

HuguesDelorme avatar May 12 '22 07:05 HuguesDelorme