Didero / ThimbleMonkey

An early version of a Python / PySide6 graphical program to view Return To Monkey Island files (and hopefully Thimbleweed Park files later)
Other
0 stars 0 forks source link

macOS: Error installing required libraries #1

Closed JohnnyWalkerDigital closed 1 year ago

JohnnyWalkerDigital commented 1 year ago

MacOS: 12.6 Python: 3.9.6 Pip: 22.3

Lots of errors when I try to get the requirement.txt:

(venv) ➜ python3 -m pip install -r requirements.txt Collecting Pillow~=9.2.0 Using cached Pillow-9.2.0-cp39-cp39-macosx_11_0_arm64.whl (2.8 MB) Collecting pyinstaller~=5.5 Using cached pyinstaller-5.5-py3-none-macosx_10_13_universal2.whl (866 kB) Collecting PySide6~=6.4.0 Using cached PySide6-6.4.0-cp36-abi3-macosx_10_9_universal2.whl (6.9 kB) Collecting texture2ddecoder~=1.0.4 Using cached texture2ddecoder-1.0.4.tar.gz (101 kB) Preparing metadata (setup.py) ... done Collecting pyinstaller-hooks-contrib>=2021.4 Using cached pyinstaller_hooks_contrib-2022.10-py2.py3-none-any.whl (244 kB) Collecting altgraph Using cached altgraph-0.17.3-py2.py3-none-any.whl (21 kB) Requirement already satisfied: setuptools in ./venv/lib/python3.9/site-packages (from pyinstaller~=5.5->-r requirements.txt (line 2)) (65.3.0) Collecting macholib>=1.8 Using cached macholib-1.16.2-py2.py3-none-any.whl (38 kB) Collecting PySide6-Essentials==6.4.0 Using cached PySide6_Essentials-6.4.0-cp36-abi3-macosx_10_9_universal2.whl (139.2 MB) Collecting PySide6-Addons==6.4.0 Using cached PySide6_Addons-6.4.0-cp36-abi3-macosx_10_9_universal2.whl (218.3 MB) Collecting shiboken6==6.4.0 Using cached shiboken6-6.4.0-cp36-abi3-macosx_10_9_universal2.whl (346 kB) Building wheels for collected packages: texture2ddecoder Building wheel for texture2ddecoder (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [158 lines of output] running bdist_wheel running build running build_ext building 'texture2ddecoder' extension creating build creating build/temp.macosx-10.9-universal2-cpython-39 creating build/temp.macosx-10.9-universal2-cpython-39/src creating build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/astc.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/astc.o -std=c++11 -fms-extensions clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/atc.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/atc.o -std=c++11 -fms-extensions clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/bcn.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/bcn.o -std=c++11 -fms-extensions clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/crunch.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/crunch.o -std=c++11 -fms-extensions In file included from src/Texture2DDecoder/crunch.cpp:4: src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2422:7: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:2437:7: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2496:7: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2704:7: warning: expression result unused [-Wunused-value] tmp_header; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:3724:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4159:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4345:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4488:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4630:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:1933:16: note: in instantiation of function template specialization 'crnd::crnd_delete_array' requested here crnd_delete_array(m_lookup); ^ src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:1940:16: note: in instantiation of function template specialization 'crnd::crnd_delete_array' requested here crnd_delete_array(m_sorted_symbol_order); ^ src/Texture2DDecoder/crunch/crn_decomp.h:505:10: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:658:19: note: in instantiation of function template specialization 'crnd::helpers::destruct' requested here helpers::destruct(p); ^ src/Texture2DDecoder/crunch/crn_decomp.h:2944:7: note: in instantiation of function template specialization 'crnd::crnd_delete' requested here crnd_delete(m_pDecode_tables); ^ src/Texture2DDecoder/crunch/crn_decomp.h:505:10: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:658:19: note: in instantiation of function template specialization 'crnd::helpers::destruct' requested here helpers::destruct(p); ^ src/Texture2DDecoder/crunch/crn_decomp.h:4756:10: note: in instantiation of function template specialization 'crnd::crnd_delete' requested here crnd_delete(p); ^ 14 warnings generated. In file included from src/Texture2DDecoder/crunch.cpp:4: src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2422:7: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:2437:7: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2496:7: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2704:7: warning: expression result unused [-Wunused-value] tmp_header; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:3724:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4159:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4345:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4488:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4630:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:1933:16: note: in instantiation of function template specialization 'crnd::crnd_delete_array' requested here crnd_delete_array(m_lookup); ^ src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:1940:16: note: in instantiation of function template specialization 'crnd::crnd_delete_array' requested here crnd_delete_array(m_sorted_symbol_order); ^ src/Texture2DDecoder/crunch/crn_decomp.h:505:10: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:658:19: note: in instantiation of function template specialization 'crnd::helpers::destruct' requested here helpers::destruct(p); ^ src/Texture2DDecoder/crunch/crn_decomp.h:2944:7: note: in instantiation of function template specialization 'crnd::crnd_delete' requested here crnd_delete(m_pDecode_tables); ^ src/Texture2DDecoder/crunch/crn_decomp.h:505:10: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:658:19: note: in instantiation of function template specialization 'crnd::helpers::destruct' requested here helpers::destruct(p); ^ src/Texture2DDecoder/crunch/crn_decomp.h:4756:10: note: in instantiation of function template specialization 'crnd::crnd_delete' requested here crnd_delete(p); ^ 14 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/etc.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/etc.o -std=c++11 -fms-extensions clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/pvrtc.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/pvrtc.o -std=c++11 -fms-extensions clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/unitycrunch.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/unitycrunch.o -std=c++11 -fms-extensions In file included from src/Texture2DDecoder/unitycrunch.cpp:4: src/Texture2DDecoder/unitycrunch/crn_decomp.h:1984:3: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ 1 warning generated. In file included from src/Texture2DDecoder/unitycrunch.cpp:4: src/Texture2DDecoder/unitycrunch/crn_decomp.h:1984:3: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ 1 warning generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/pylink.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/pylink.o -std=c++11 -fms-extensions src/pylink.cpp:2:9: warning: #pragma once in main file [-Wpragma-once-outside-header]

pragma once

          ^
  src/pylink.cpp:3:10: fatal error: 'Python.h' file not found
  #include <Python.h>
           ^~~~~~~~~~
  1 warning and 1 error generated.
  error: command '/usr/bin/clang' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for texture2ddecoder Running setup.py clean for texture2ddecoder Failed to build texture2ddecoder Installing collected packages: texture2ddecoder, altgraph, shiboken6, pyinstaller-hooks-contrib, Pillow, macholib, PySide6-Essentials, pyinstaller, PySide6-Addons, PySide6 Running setup.py install for texture2ddecoder ... error error: subprocess-exited-with-error

× Running setup.py install for texture2ddecoder did not run successfully. │ exit code: 1 ╰─> [160 lines of output] running install /Users/home/Downloads/ThimbleMonkey-main/venv/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_ext building 'texture2ddecoder' extension creating build creating build/temp.macosx-10.9-universal2-cpython-39 creating build/temp.macosx-10.9-universal2-cpython-39/src creating build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/astc.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/astc.o -std=c++11 -fms-extensions clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/atc.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/atc.o -std=c++11 -fms-extensions clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/bcn.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/bcn.o -std=c++11 -fms-extensions clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/crunch.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/crunch.o -std=c++11 -fms-extensions In file included from src/Texture2DDecoder/crunch.cpp:4: src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2422:7: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:2437:7: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2496:7: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2704:7: warning: expression result unused [-Wunused-value] tmp_header; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:3724:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4159:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4345:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4488:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4630:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:1933:16: note: in instantiation of function template specialization 'crnd::crnd_delete_array' requested here crnd_delete_array(m_lookup); ^ src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:1940:16: note: in instantiation of function template specialization 'crnd::crnd_delete_array' requested here crnd_delete_array(m_sorted_symbol_order); ^ src/Texture2DDecoder/crunch/crn_decomp.h:505:10: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:658:19: note: in instantiation of function template specialization 'crnd::helpers::destruct' requested here helpers::destruct(p); ^ src/Texture2DDecoder/crunch/crn_decomp.h:2944:7: note: in instantiation of function template specialization 'crnd::crnd_delete' requested here crnd_delete(m_pDecode_tables); ^ src/Texture2DDecoder/crunch/crn_decomp.h:505:10: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:658:19: note: in instantiation of function template specialization 'crnd::helpers::destruct' requested here helpers::destruct(p); ^ src/Texture2DDecoder/crunch/crn_decomp.h:4756:10: note: in instantiation of function template specialization 'crnd::crnd_delete' requested here crnd_delete(p); ^ 14 warnings generated. In file included from src/Texture2DDecoder/crunch.cpp:4: src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2422:7: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:2437:7: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2496:7: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:2704:7: warning: expression result unused [-Wunused-value] tmp_header; ^~~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:3724:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4159:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4345:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4488:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:4630:10: warning: expression result unused [-Wunused-value] dst_size_in_bytes; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:1933:16: note: in instantiation of function template specialization 'crnd::crnd_delete_array' requested here crnd_delete_array(m_lookup); ^ src/Texture2DDecoder/crunch/crn_decomp.h:670:10: warning: expression result unused [-Wunused-value] num_check; ^~~~~ src/Texture2DDecoder/crunch/crn_decomp.h:1940:16: note: in instantiation of function template specialization 'crnd::crnd_delete_array' requested here crnd_delete_array(m_sorted_symbol_order); ^ src/Texture2DDecoder/crunch/crn_decomp.h:505:10: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:658:19: note: in instantiation of function template specialization 'crnd::helpers::destruct' requested here helpers::destruct(p); ^ src/Texture2DDecoder/crunch/crn_decomp.h:2944:7: note: in instantiation of function template specialization 'crnd::crnd_delete' requested here crnd_delete(m_pDecode_tables); ^ src/Texture2DDecoder/crunch/crn_decomp.h:505:10: warning: expression result unused [-Wunused-value] p; ^ src/Texture2DDecoder/crunch/crn_decomp.h:658:19: note: in instantiation of function template specialization 'crnd::helpers::destruct' requested here helpers::destruct(p); ^ src/Texture2DDecoder/crunch/crn_decomp.h:4756:10: note: in instantiation of function template specialization 'crnd::crnd_delete' requested here crnd_delete(p); ^ 14 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/etc.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/etc.o -std=c++11 -fms-extensions clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/pvrtc.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/pvrtc.o -std=c++11 -fms-extensions clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/Texture2DDecoder/unitycrunch.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/Texture2DDecoder/unitycrunch.o -std=c++11 -fms-extensions In file included from src/Texture2DDecoder/unitycrunch.cpp:4: src/Texture2DDecoder/unitycrunch/crn_decomp.h:1984:3: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ 1 warning generated. In file included from src/Texture2DDecoder/unitycrunch.cpp:4: src/Texture2DDecoder/unitycrunch/crn_decomp.h:1984:3: warning: expression result unused [-Wunused-value] pUser_data; ^~~~~~ 1 warning generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Isrc/Texture2DDecoder -I/Users/home/Downloads/ThimbleMonkey-main/venv/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/pylink.cpp -o build/temp.macosx-10.9-universal2-cpython-39/src/pylink.o -std=c++11 -fms-extensions src/pylink.cpp:2:9: warning: #pragma once in main file [-Wpragma-once-outside-header]

pragma once

          ^
  src/pylink.cpp:3:10: fatal error: 'Python.h' file not found
  #include <Python.h>
           ^~~~~~~~~~
  1 warning and 1 error generated.
  error: command '/usr/bin/clang' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> texture2ddecoder

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

legendofmi commented 1 year ago

I did manage to get it working on my Macbook Air M1. I also had to remove "pip" from one of the commands.

JohnnyWalkerDigital commented 1 year ago

@legendofmi Any idea which one? :)

legendofmi commented 1 year ago

I believe the first one "python -m pip venv venv" as it was not recognizing the command. I was also using python3 instead of python so that it would use the newly installed python version instead of the pre-installed.

Didero commented 1 year ago

I'm sorry to hear you ran into problems, I thought I had GitHub set up so that it would email me when issues got created, but apparently not :/ Is this still a problem?

JohnnyWalkerDigital commented 1 year ago

No idea, I've just downloaded the new executable instead :) So, either way, it's not a problem... for me!

Didero commented 1 year ago

That's good to hear. Let's hope it was an old issue then, I'm closing this for now. Thanks for reporting it!