jeudi 20 septembre 2018

Importing libebur128 into XCode Project [duplicate]

I'm stuck.

I would like to import libebur128 (https://github.com/jiixyj/libebur128) into my XCode project. But I am having a hard time doing so, mainly because I'm totally new to XCode, but anyways:

First step: simply including the ebur128.h file into my project returned 'Undefined symbols for architecture x86_64:' Error, when compiling my project.

It seemed like I need to have libebur128 as a library/framework to link against.

Second step: So I was building libebur128 with cmake, which was working and giving me some .a and .dylib files in the build folder. My idea now was to add them to "Link Binary with Libraries", where all the other libraries are defined. But adding the .a or the .dylib files did not resolve my issue. The error message changed to: 'ld: library not found for -lebur128.1.2.4'

I have o clue what to do next to get this thing running. Any help would be very much appreciated. Thanks in advance.

My XCode version is 9.2

Aucun commentaire:

Enregistrer un commentaire