mercredi 15 janvier 2020

Errors occur while building Awesome Map Editor (AME)

I'm new to C++ and Qt, and I have no experience with programming in C++. But I really need some help with finding out the problem with building Awesome Map Editor (a map editor for the 3rd Gen Pokémon games).

I follow all the instructions, as it mentions on here: https://github.com/Diegoisawesome/AwesomeMapEditor

But upon building YAML-CPP, it comes up with multiple warnings and with this error:

/home/administrator/Documents/AME/AwesomeMapEditor/include/QBoy/Core/RomInfo.hpp:32:
 error: QString: No such file or directory
      #include <QString>
               ^~~~~~~~~

Now I'm not sure why this is happening, and I would like to know how to fix this issue.

If I ignore the errors and build Qboy then AwesomeMapEditor, I get these errors upon building AwesomeMapEditor:

:-1: error: cannot find -lQBoy

:-1: error: cannot find -lyaml-cpp

:-1: error: collect2: error: ld returned 1 exit status

I followed all the steps that was explained on it's Github repository, but it lead to these errors, how can I fix them? How can I build it properly?

I also have the compiler output as well, but it's huge and since there's no way for me to post a .txt file attachment to this, this is all I can type out.

Aucun commentaire:

Enregistrer un commentaire