rosey-complex / Skymake

A simple Skylander file (*.sky) generator.
GNU General Public License v2.0
4 stars 0 forks source link

Additional data for Creation Crystals #8

Open Riddliy opened 4 months ago

Riddliy commented 4 months ago

I am on the final stage of the windows setup and each time i type "cmake ." i am given this:

CMake Error at CMakeLists.txt:16 (find_package): By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt6", but CMake did not find one.

Could not find a package configuration file provided by "Qt6" with any of the following names:

Qt6Config.cmake
qt6-config.cmake

Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR" to a directory containing one of the above files. If "Qt6" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!

QT6 is installed on my laptop but i don't know what i'm doing wrong?

Pls help? Thank you

rosey-complex commented 4 months ago

When I switched Skymake to compile against Qt6, I forgot to update the README accordingly, so the instructions are still for the Qt5 version before the commit.

Installing the qt6-base package (pacboy -S qt6-base:p) should do the trick.

rosey-complex commented 4 months ago

Checked the solution in a VM and I can confirm that it works. I also updated README.md. Hopefully it solves the issue on your side too. Thank you for your patience.

Riddliy commented 4 months ago

Hi, so the Qt6 update worked

however now we have a new problem

CMakeFiles/skymake.dir/skymake.cpp.obj C:\msys64\ucrt64\bin\c++.exe -DMINGW_HAS_SECURE_API=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NODEBUG -DQT WIDGETS_LIB -DUNICODE -DWIN32 -DWIN64 -DWINVER=0x0A00 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN32_WINNT=0x0A00 -D_WIN64 -IC:/msys64/home/thoma/Skymake/skymake_autogen/include -isystem C:/ms ys64/mingw64/include/qt6/QtWidgets -isystem C:/msys64/mingw64/include/qt6 -isystem C:/msys64/mingw64 /include/qt6/QtCore -isystem C:/msys64/mingw64/share/qt6/mkspecs/win32-g++ -isystem C:/msys64/mingw6 4/include/qt6/QtGui -isystem C:/msys64/mingw64/include -std=gnu++17 -MD -MT CMakeFiles/skymake.dir/s kymake.cpp.obj -MF CMakeFiles\skymake.dir\skymake.cpp.obj.d -o CMakeFiles/skymake.dir/skymake.cpp.ob j -c C:/msys64/home/thoma/Skymake/skymake.cpp In file included from C:/msys64/ucrt64/include/c++/13.2.0/bits/stl_algo.h:71, from C:/msys64/ucrt64/include/c++/13.2.0/functional:67, from C:/msys64/mingw64/include/qt6/QtCore/qchar.h:9, from C:/msys64/mingw64/include/qt6/QtCore/qstring.h:14, from C:/msys64/mingw64/include/qt6/QtCore/qcoreapplication.h:8, from C:/msys64/mingw64/include/qt6/QtWidgets/qapplication.h:8, from C:/msys64/mingw64/include/qt6/QtWidgets/QApplication:1, from C:/msys64/home/thoma/Skymake/skymake.cpp:2: C:/msys64/ucrt64/include/c++/13.2.0/cstdlib:141:11: error: 'at_quick_exit' has not been declared in '::' 141 | using ::at_quick_exit; | ^~~~~ C:/msys64/ucrt64/include/c++/13.2.0/cstdlib:164:11: error: 'quick_exit' has not been declared in ':: ' 164 | using ::quick_exit; | ^~~~~~ In file included from C:/msys64/ucrt64/include/c++/13.2.0/bits/chrono.h:40, from C:/msys64/ucrt64/include/c++/13.2.0/chrono:41, from C:/msys64/mingw64/include/qt6/QtCore/qobject.h:23, from C:/msys64/mingw64/include/qt6/QtCore/qeventloop.h:7, from C:/msys64/mingw64/include/qt6/QtCore/qcoreapplication.h:11: C:/msys64/ucrt64/include/c++/13.2.0/ctime:80:11: error: 'timespec_get' has not been declared in '::' 80 | using ::timespec_get; | ^~~~ ninja: build stopped: subcommand failed.

Is it from something i did or do i need to change files around?

rosey-complex commented 4 months ago

I am trying to see what could cause this error. I will get back to you as soon as I figure it out.

rosey-complex commented 4 months ago

Can you run cmake . --fresh and then try running cmake --build . again?

Riddliy commented 4 months ago

$ cmake --build . [4/4] Linking CXX executable skymake.exe

i think it worked, where would i find the executable?

rosey-complex commented 4 months ago

Since there are no errors, the executable has been successfully compiled. Now, to execute, just run ./skymake.exe inside of MSYS2 (I still haven't figured out a way to make MSYS-compiled executables work outside of MSYS2)

Riddliy commented 4 months ago

It works, are there the crystal variants?? for the creation crystals?

rosey-complex commented 4 months ago

There is only one variant for each element. The way creation crystals and senseis are created is more or less a brute-forced solution, as highlighted in issue #3 and pull request #6 . This solution, in short, uses pre-made data from other dumps of figures.

Riddliy commented 4 months ago

I have the data for multiple crystal variants if you want them, i can send them Via email and you can implement them in the next update

rosey-complex commented 4 months ago

The problem is that implementing the data is rather tedious and slow because I have to open the data in a hex editor, make sure I am copying the right data, structure the bytes in accordance to the data structure used internally by skymake, recompile skymake, and then test the data in Skylanders imaginators in an emulator. I did think, at some point, of making a tool to automate the process of creating the entries. But I was already done with most of the copying and I didn't think it would be worth the time to make it just for 3 more entries.

But, I could try. To send the data over, I think you can just send them here in the desktop version, if I am not mistaken. Just make sure they are named appropriately.