You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following errors when trying to make a build with flutter:
CMake Error at runner/CMakeLists.txt:4 (add_executable):
The target name "Crunch Textures" is reserved or not valid for certain
CMake features, such as generator expressions, and may result in undefined
behavior.
CMake Error at CMakeLists.txt:34 (target_compile_features):
Cannot specify compile features for target "Crunch Textures" which is not
built by this project.
Call Stack (most recent call first):
runner/CMakeLists.txt:14 (apply_standard_settings)
CMake Error at runner/CMakeLists.txt:15 (target_compile_definitions):
Cannot specify compile definitions for target "Crunch Textures" which is
not built by this project.
CMake Error at runner/CMakeLists.txt:16 (target_link_libraries):
Cannot specify link libraries for target "Crunch Textures" which is not
built by this project.
I've spent multiple hours downloading all sorts of necessary software trying to create a build, tested different flutter versions but no luck. Simple executable file shared in repository could save a lot of time for people unfamiliar with flutter. If that's not possible - any ideas how to handle above errors?
The text was updated successfully, but these errors were encountered:
Ok so I've figured out what was the issue. Firstly you cannot use latest version of flutter to build it. Newest that worked for me was 3.7.12 (something about dart and null safety).
Secondly you need to remove space in project name "Crunch Textures" > "CrunchTextures" in multiple files. I did so in:
crunch_textures-master\kometa_images\macos\Runner\Configs\AppInfo.xcconfig
crunch_textures-master\kometa_images\windows\CMakeLists.txt
crunch_textures-master\kometa_images\windows\runner\main.cpp
crunch_textures-master\kometa_images\windows\runner\Runner.rc
Then it finally builds but sadly the tool is almost useless without batch option. If you select a folder with 50png files it will take 2-3 minutes to load them... then you'll be able to modify ONE of those png-s after which return to window where you're able to select another file will cost you 2-3 minutes again cause it'll do the same folder-wide search repeatedly.
Some further research and I've found programs that convert whole folders by batch in manner of seconds. I've spent 4 hours learning about flutter and dart which was only benefit of this repository but I can't recommend it for people with time constraints on their projects.
I get the following errors when trying to make a build with flutter:
I've spent multiple hours downloading all sorts of necessary software trying to create a build, tested different flutter versions but no luck. Simple executable file shared in repository could save a lot of time for people unfamiliar with flutter. If that's not possible - any ideas how to handle above errors?
The text was updated successfully, but these errors were encountered: