Open elic-sightful opened 3 months ago
Hi there,
I'm experiencing the same issue as described here. Have you found a solution yet? Any help or updates would be greatly appreciated!
Thanks!
I didn't find any solution, had to give up using it.
I found solution.
target_link_libraries(VorbisPlugin ${CMAKE_CURRENT_BINARY_DIR}/vorbis_build/lib/Release/libvorbisenc.a)
to projects/CMake/CMakeLists.txt
cmake -S . -B ./buildOSX -G Xcode -DVORBIS_OSX=1 -DCMAKE_OSX_ARCHITECTURES=arm64
cmake --build ./buildOSX --config Release
Good luck.
Hi guys! Sorry for the late reply. I am currenly busy on other projects.
I already fixed similar issue in my other plugin where the Mac arm64 was not supported. I will try to find time in the next days to apply the same fix also to this plugin.
As I remember the fix is similar to the new @zhangxiaojun92 shared. But the fix I made will include both architectures at the end: for intel and arm processors. So that it works on old and new Mac OSX systems.
I'm trying this in a project running in Android, and it is working correctly there.
However, on my Unity Editor, I'm getting this error:
DllNotFoundException: VorbisPlugin assembly:<unknown assembly> type:<unknown type> member:(null)
Tried putting in different locations, adding an assembly definition, but nothing helped.
I'm thinking it might be that the binaries are compiled for Intel processors (since the readme states it was tested on those), and that's why it's failing to load.
So to test this, I'm trying to compile from sources as well, but getting problems there as well: