[flext] Trying to compile gendy~ as a static library for iOS

Thomas Grill gr at grrrr.org
Tue Jul 11 20:38:20 CEST 2017


Hi Orestis,
it seems to me you are missing the flext library "libflext-pd_s.a".
An alternative, fairly new approach is to compile flext as C++ templates without any library, with the macro FLEXT_INLINE defined.
best, Thomas

--
Thomas Grill
http://grrrr.org



> Am 11.07.2017 um 20:17 schrieb Orestis Papadopoulos <orjpap at gmail.com>:
> 
> Hi Everyone,
> 
>     I'm trying to compile gendy~ as a static library that can be used in an iOS app (which uses libpd).
> 
> The steps I followed in order to compile are:
> 
> 1. I used the example Xcode project in flext-master
> 
> 2. Then added to it the gendy~ sourcefiles
> 
> 3. Created a new target -> cocoa static library
> 
> 4. Inserted the correct flags (FLEXT_SYS=2 etc) / header search paths etc.
> 
> 5. Targeted iphone 5 simulator to test
> 
> 6. Drag 'n' dropped the produced gendy~.a file.
> 
> The errors I get when I try to call gendy_tilde_setup() are about 40 errors in the form of:
> 
> Undefined symbols for architecture i386:
>   "flext_base_single::m_loadbang()", referenced from:
>       vtable for gendy in gendy~.a(gendy~.o)
>   "flext_base_single::CbClick()", referenced from:
>       vtable for gendy in gendy~.a(gendy~.o)
> 
> What am I missing here?
> 
> Thanks,
> Orestis
> 
> _______________________________________________
> http://grrrr.org/ext/flext
> 
> flext mailing list
> flext at grrrr.org
> http://grrrr.org/cgi-bin/mailman/listinfo/flext

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://grrrr.org/pipermail/flext/attachments/20170711/8d596c27/attachment.sig>


More information about the flext mailing list