devkitPro / pacman-packages

https://devkitpro.org
135 stars 106 forks source link

libmad from pacman and libogc conflict #216

Open Jan200101 opened 3 years ago

Jan200101 commented 3 years ago

both the pacman repository (here) and libogc (here) conflict with each other, providing the same lib name but not the same functions. One example of such are all the MP3Player_* functions that are missing in the non-libogc version

WinterMute commented 3 years ago

The stock templates place the correct libogc paths ahead of the portlibs paths so they shouldn't conflict. Work is still ongoing to clean up libogc and eventually remove the libraries that shouldn't have been added to the libogc source tree in the first place but, until then, it's best to ensure libogc library and include files are in the search paths ahead of portlibs paths.

Jan200101 commented 3 years ago

That is true, as of https://github.com/devkitPro/wii-examples/commit/56fd9dcc25c723e27e5f8213dd77889c0446b4ad libogc should be prioritised over portlibs in my case I was working on older homebrew that used an older template