Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem to compile #59

Open
hhgokraken opened this issue Jun 27, 2024 · 5 comments
Open

Problem to compile #59

hhgokraken opened this issue Jun 27, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@hhgokraken
Copy link

Describe the bug

Documentation upgrade. Need to install

sudo dkp-pacman -S switch-libmpv

Problem to build, faulty repository

CMake Error at scripts/forwarder/CMakeLists.txt:16 (message):
  Could not find hacbrewpack: try installing
  https://github.com/The-4n/hacBrewPack

Could you provide the faulty tools, please?

To reproduce

  1. Clone the repository
  2. install de dependencies: sudo dkp-pacman -S switch-dev switch-glfw switch-libwebp switch-curl switch-libmpv
  3. Run cmake: cmake -B build_switch -DPLATFORM_SWITCH=ON -DBUILTIN_NSP=ON
  4. See error:
CMake Error at scripts/forwarder/CMakeLists.txt:16 (message):
  Could not find hacbrewpack: try installing
  https://github.com/The-4n/hacBrewPack

Screenshots

Non applicable

Operating system

Non applicable

Jellyfin Server

Non applicable

Additional context

Trying to compile to test my translation to PT-BR that will be provide soon, after I can test it and see if do not "explode" any field in the application.

@hhgokraken hhgokraken added the bug Something isn't working label Jun 27, 2024
@hhgokraken
Copy link
Author

And, in time.. really nice work!

@dragonflylee
Copy link
Owner

all needed extra package can be found in https://github.com/dragonflylee/switchfin/releases/tag/switch-portlibs

hacBrewPack-3.05-1-any.pkg.tar.zst only worked on Linux x86-64

@hhgokraken
Copy link
Author

Nice, I was able to compile after install all dependencies inside this links, but "failed" in the end.

Well, improvement.

/opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.1.0/../../../../aarch64-none-elf/bin/ld: /opt/devkitpro/portlibs/switch/lib/libEGL.a(glsl_types.cpp.o):(.data.rel.ro.local._ZN9glsl_type14f16mat2x3_typeE+0x0): multiple definition of `glsl_type::f16mat2x3_type'; /opt/devkitpro/portlibs/switch/lib/libuam.a(mesa-imported_compiler_glsl_types.cpp.o):(.data.rel.ro._ZN9glsl_type14f16mat2x3_typeE+0x0): first defined here
/opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.1.0/../../../../aarch64-none-elf/bin/ld: /opt/devkitpro/portlibs/switch/lib/libEGL.a(glsl_types.cpp.o):(.bss._ZN9glsl_type15_f16mat2x3_typeE+0x0): multiple definition of `glsl_type::_f16mat2x3_type'; /opt/devkitpro/portlibs/switch/lib/libuam.a(mesa-imported_compiler_glsl_types.cpp.o):(.bss._ZN9glsl_type15_f16mat2x3_typeE+0x0): first defined here

I will track a bit to see if I forgot something. I can build other homebrews with my current setup. I installed all files you pinpoint. Will install pacman inside a clean environment and try again.

/opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/14.1.0/../../../../aarch64-none-elf/bin/ld: /opt/devkitpro/portlibs/switch/lib/libEGL.a(ir_hierarchical_visitor.cpp.o): in function `visit_tree(ir_instruction*, void (*)(ir_instruction*, void*), void*, void (*)(ir_instruction*, void*), void*)':
ir_hierarchical_visitor.cpp:(.text._Z10visit_treeP14ir_instructionPFvS0_PvES1_S3_S1_+0x0): multiple definition of `visit_tree(ir_instruction*, void (*)(ir_instruction*, void*), void*, void (*)(ir_instruction*, void*), void*)'; /opt/devkitpro/portlibs/switch/lib/libuam.a(mesa-imported_glsl_ir_hierarchical_visitor.cpp.o):ir_hierarchical_visitor.cpp:(.text._Z10visit_treeP14ir_instructionPFvS0_PvES1_S3_S1_+0x0): first defined here

I checked the lib:

# dkp-packman -Sl | grep uam
dkp-linux uam 1.1.0-1 [installed]

@hhgokraken
Copy link
Author

I will provide the i18n/pt-BR as a PR to you, so you can compile, when you think it was appropriate. In the meantime I will try to solve here. Thanks!

@dragonflylee
Copy link
Owner

I will provide the i18n/pt-BR as a PR to you, so you can compile, when you think it was appropriate. In the meantime I will try to solve here. Thanks!

you can enable github action for build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants