andrey-moura / HM-Studio

This is a program to edit HM games.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

src/class_var_table.hpp:7:10: fatal error: moon/table.hpp: No such file or directory

luisangelorjr opened this issue · comments

Opa!
Não conheço praticamente nada de C/C++ ou C# (vim e estou estudando Java)
Mas acabei achando esse repo e estava muito afim de ajudar na tradução

Ao tentar rodar o ````make all```, o seguinte rola na tela

`wx-config --cxx` -c -o build/hm_studio_app.o -I. `wx-config --cxxflags --unicode=yes --static=no --toolkit=gtk3 --version=3.0`   -MTbuild/hm_studio_app.o -MF`echo build/hm_studio_app.o | sed -e 's,\.o$,.d,'` -MD -MP src/class_app.cpp
In file included from src/class_rom_file.hpp:11,
                 from src/frame_main.hpp:12,
                 from src/class_app.hpp:5,
                 from src/class_app.cpp:1:
src/class_var_table.hpp:7:10: fatal error: moon/table.hpp: No such file or directory
    7 | #include <moon/table.hpp>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [makefile:102: build/hm_studio_app.o] Error 1

Como importo o moon/table.hpp ? Achei que era só rodar make all após instalar as dependencias

Olá. Já vi que você está usando o makefile. Ele não está atualizado, então você não vai conseguir compilar para Linux. Eu vou converter o projeto para CMake no futuro, assim não precisarei ficar adicionando os arquivos ao makefile toda hora.

Se quiser atualizar o makefile manualmente, procure por todos os arquivos cpp e adicione à esta lista na lina 56:

build/hm_studio_app.o \

Depois atualize esta lista na linha 101:

build/hm_studio_app.o: ./src/class_app.cpp $(CXX) -c -o $@ $(HM_STUDIO_CXXFLAGS) $(CPPDEPS) $<

Recomendo que você use Visual Studio para compilar. O erro do moon/table.hpp é porque você precisa baixar meu outro repositório: moon

Caso não queira fazer todo esse processo, posso te enviar o executável para Windows.

commented

@Moonslate Hello, I've tried to build the project using VS 2019, and encountered with several problems. The moon headers repository doesn't seems to be the latest. I will be very appreciated if you could send me the windows binary:)

@Moonslate Hello, I've tried to build the project using VS 2019, and encountered with several problems. The moon headers repository doesn't seems to be the latest. I will be very appreciated if you could send me the windows binary:)

Hello.

I will update the moon headers if you want to compile it, and also make a release build of HM Studio. Since the code is not clean, I think would be better to just download the exe.

Which version of the game are you going to translate, and for which language?

Sorry for not answer you faster, but I've not seen your message.