Need help to build homebrew with devkitpro

  • Thread starter Thread starter Keriam
  • Start date Start date
  • Views Views 5,627
  • Replies Replies 59

Keriam

Well-Known Member
Member
Joined
Aug 30, 2006
Messages
168
Reaction score
34
Trophies
1
XP
1,050
Country
France
Hello,

I changed a settings for me in sys-clk for my own purpose (change the handled cap to 768 Mhz max) and i'm a big noob to compile all the sources with Devkipro.

i followed this guide : https://gbatemp.net/threads/how-to-build-almost-any-switch-cfw-or-homebrew-app.517065/
But i want try to compile with bash command "bash build.sh" on the root of sys-clk source, i have the following error :

"C:/sys-clk-develop/manager/lib/borealis/library/include/borealis/actions.hpp:25:10: fatal error: GLFW/glfw3.h: No such file or directory
25 | #include <GLFW/glfw3.h>"

I understand that something on my system is missing but how to solve it ? If there any other more easy solution to compile the sources ?

Thanks
 
I don't know how helpful I can be with switch homebrew, but you seem to be missing a dependency. I've compiled about 25 things so far for various systems, and I can tell you that it never gets easy without instructions on commands or dependencies (even for devs), because there have to be thousands of packages. does that app have a github? are there any instructions?
 
I don't know how helpful I can be with switch homebrew, but you seem to be missing a dependency. I've compiled about 25 things so far for various systems, and I can tell you that it never gets easy without instructions on commands or dependencies (even for devs), because there have to be thousands of packages. does that app have a github? are there any instructions?

Thanks for reply. Yes here the github : https://github.com/retronx-team/sys-clk

I just need just a value on h file and compile the source again.
 
I found what you're supposed to use, I think, but I have no idea where it goes in devkitpro.
 
I think I got it built:

1648395016937.png
 
  • Like
Reactions: binkinator
Fantastic ! It's working ! How did you found the dependencies ?

During this time, i found that someone created a fork with more avdanced options for sys-clk : https://github.com/jope82/sys-clk-uncapped-gpu-and-other-extras

Thans for your help !
I'm not sure exactly. I found the first one on github, but I figured that there was a way to download it with pacman. a lot of dependencies are on there, and they always host the newest versions. they recommend not using older dependencies, because they're usually updated for a reason. I encountered a dependency error after finding the first one, so I did the same thing for that one via pacman, and then no error as it compiled. :)
 
I'm not sure exactly. I found the first one on github, but I figured that there was a way to download it with pacman. a lot of dependencies are on there, and they always host the newest versions. they recommend not using older dependencies, because they're usually updated for a reason. I encountered a dependency error after finding the first one, so I did the same thing for that one via pacman, and then no error as it compiled. :)

Thanks, i'm trying another challenge : i would like to compile source for chiaki homebrew (https://git.sr.ht/~thestr4ng3r/chiaki)

do you think it's still possible ?
 
probably, here's the commands:

git submodule update --init
mkdir build && cd build
cmake ..
make
 
I think you need to install yasm: sudo apt-get install yasm then, FFmpeg from github as the one I installed didn't work properly with apt-get. according to the markdown file:

1648400874996.png


I'm at the make portion, and it's taking a while. I don't even know if I have enough space on my computer at around 3GBs left.
 
I found the full list of dependency :

#Building from Source​

Dependencies are CMake, Qt 5 with QtMultimedia, QtOpenGL and QtSvg, FFMPEG (libavcodec with H264 is enough), libopus, OpenSSL 1.1, SDL 2, protoc and the protobuf Python library (only used during compilation for Nanopb). Then, Chiaki builds just like any other CMake project:

git submodule update --init
mkdir build && cd build
cmake ..
make

For more detailed platform-specific instructions, see doc/platform-build.md or switch/ for Nintendo Switch.
 
  • Like
Reactions: godreborn
I found the full list of dependency :

#Building from Source​

Dependencies are CMake, Qt 5 with QtMultimedia, QtOpenGL and QtSvg, FFMPEG (libavcodec with H264 is enough), libopus, OpenSSL 1.1, SDL 2, protoc and the protobuf Python library (only used during compilation for Nanopb). Then, Chiaki builds just like any other CMake project:

git submodule update --init
mkdir build && cd build
cmake ..
make

For more detailed platform-specific instructions, see doc/platform-build.md or switch/ for Nintendo Switch.
that worked:

1648405684239.png
 
Seriously ? So if i give you just modified files, yoiu can build it ? I will test after if 1080p implementation is working...
 

Site & Scene News

Popular threads in this forum