finalhe
finalhe copied to clipboard
finalhe-1.92 macOS / compilation fails
Yo! Thanks a lot for this awesome project. I really appreciate the work you've put into this. This is super valuable since DRM free demo file is no longer available. I cannot follow the manual from h-encore².
I'm trying to compile finalhe-1.92 following the manual. I encountered a few roadblocks, some of which I managed to resolve but I'm still at a dead end. Please note I have some experience with programming but I wouldn't call myself a programmer.
I installed libusb & qt through brew. I had to change some paths to get qt to work. I'm stuck at libusb. When I make
the file, it ends with
Project ERROR: libusb-1.0 development package not found
I have no idea what I'm doing wrong. I got libusb installed as per manual. I can also see it in /deps/
.There's a good chance it's something silly.
Any advice is greatly appreciated. Cheers!
take a look here mate; https://github.com/soarqin/finalhe/issues/60
brew install pkg-config
. pkg-config solves the "libusb-1.0 development package not found" error.
@lubakibre
I experienced the same error, here are my steps to make it work:
(1)
export PKG_CONFIG_PATH=/usr/local/Cellar/libusb/1.0.22/lib/pkgconfig
pkg-config --cflags --libs libusb-1.0
For more information:
https://askubuntu.com/questions/210210/pkg-config-path-environment-variable
(2)
edit deps/vitamtp/CMakeLists.txt as DarrenMack-OD's mentioned
https://github.com/soarqin/finalhe/issues/60#issuecomment-542957516
BUT DO-NOT edit deps/vitamtp/usb.c
(3) {path}/qmake then make
(4) if you experience new error like this:
Undefined symbols for architecture x86_64:
"_iconv"....,
"_iconv_close'...,
"_iconv_open"...
check this link: https://stackoverflow.com/questions/57734434/libiconv-or-iconv-undefined-symbol-on-mac-osx
There might be multiple causes, so I don't want to misguide you.
So I recommend you to read it first.
What I did:
sudo port deactivate libiconv
edit deps/vitamtp/Makefile, replace 2 lines with iconv.h (in my case, it's /opt/local/include/iconv.h )
to
{AbsolutePathToProject}/deps/iconv/include/iconv.h \
Good luck