Consufsing about ADDITIONALLIBS on linux machines
rever1and opened this issue · 2 comments
rever1and commented
Hi, I'm using the c binding so tried to build on my machine.
What's the reason for ADDITIONALLIBS=-lc++
? I struggled with removing this to successfully build on a linux machine(ubuntu 20.04).
I'm not sure..if the dynamic library really work as expected after. But linked the static archive so just link with it with -lstdc++
works well.
piotrkwiecinski commented
Little late response. For people coming in here. There was a typo in a Makefile.
It was fixed in: #174
After installing additional dependencies:
sudo apt install libc++abi-dev libc++-dev
I was able to run make successfully on ubuntu.
amaanq commented
shouldn't be needed now