Re: Linking frameworks does not work

2018-05-06 Thread Wolfgang Lux
> Am 02.05.2018 um 17:10 schrieb Andreas Höschler : > > Hi Wolfgang, > >>> [NSString stringByChaining:@"ass" count:3]; >>> >>> ... >>> >>> [pool release]; >>> >>> return NSApplicationMain (argc, argv); >>> } >>> >>> Is this directly enough? >> >> No. >> >>> The method NSString::stri

Re: Linking frameworks does not work

2018-05-02 Thread Richard Frith-Macdonald
> On 2 May 2018, at 16:10, Andreas Höschler wrote: > > > Thanks a lot. I added > >[SRMailDelivery sendMailFrom:@"asas" to:@"asas" subject:@"asas" > body:@"asas" attachmentsAndFilenames:nil]; > > to the code and this indeed forced SRFoundation to be linked in. The > execption happens no

Re: Linking frameworks does not work

2018-05-02 Thread Andreas Höschler
Hi Wolfgang, >> [NSString stringByChaining:@"ass" count:3]; >> >> ... >> >> [pool release]; >> >> return NSApplicationMain (argc, argv); >> } >> >> Is this directly enough? > > No. > >> The method NSString::stringByChaining:count:] is defined/implemented in my >> SRFoundation framewor

Re: Linking frameworks does not work

2018-05-02 Thread Andreas Höschler
Hi Andreas, > I'm not 100% sure how GNUStep frameworks are supposed to be linked but fact > is under linux, it looks for shared libraries in all which is referenced in > /etc/ld.so.conf (and /etc/ld.so.conf.d/* ). On the mac the path to a shared > library is embedded in the library itself so wh

Re: Linking frameworks does not work

2018-05-02 Thread Wolfgang Lux
> Am 02.05.2018 um 15:45 schrieb Andreas Höschler : > > Hi Wolfgang, > >> On 2. May 2018, at 15:36, Wolfgang Lux wrote: >> >> Selectors do not count here. They are only resolved at runtime not a link >> time. >> You would need an explicit reference to a class, function or global variable >>

Re: Linking frameworks does not work

2018-05-02 Thread Andreas Fink
I'm not 100% sure how GNUStep frameworks are supposed to be linked but fact is under linux, it looks for shared libraries in all which is referenced in /etc/ld.so.conf (and /etc/ld.so.conf.d/* ). On the mac the path to a shared library is embedded in the library itself so when you link to it, th

Re: Linking frameworks does not work

2018-05-02 Thread Andreas Höschler
Hi Andreas, > could it simply be that your /etc/ld.so.conf setup does not include the > needed paths to find SRFoundation framework or you didnt run ldconfig after > installing/updating the shared library? Yes, that can be. I have never done that (on MacOSX and GNUStep). And it worked anyway i

Re: Linking frameworks does not work

2018-05-02 Thread Andreas Fink
could it simply be that your /etc/ld.so.conf setup does not include the needed paths to find SRFoundation framework or you didnt run ldconfig after installing/updating the shared library? > On 2 May 2018, at 15:45, Andreas Höschler wrote: > > Hi Wolfgang, > >> On 2. May 2018, at 15:36, Wolf

Re: Linking frameworks does not work

2018-05-02 Thread Andreas Höschler
Hi all, additonal info. I have find /usr/local -name "*.so" /usr/local/lib/libgnustep-gui.so /usr/local/lib/libSRMapKit.so /usr/local/lib/libSRObjects.so /usr/local/lib/libESMFoundation.so /usr/local/lib/libFaxServiceFoundation.so /usr/local/lib/libSRAppKit.so /usr/local/lib/libSRDesign.

Re: Linking frameworks does not work

2018-05-02 Thread Andreas Höschler
Hi Wolfgang, > On 2. May 2018, at 15:36, Wolfgang Lux wrote: > > Selectors do not count here. They are only resolved at runtime not a link > time. > You would need an explicit reference to a class, function or global variable > from your frameworks inside the code of the test application to ha

Re: Linking frameworks does not work

2018-05-02 Thread Wolfgang Lux
> Am 02.05.2018 um 15:30 schrieb Andreas Höschler : > > Hi Wolfgang, > >>> I have Window Maker running now and Fred resize.app but still wasn't able >>> to get one of my own apps to work that need to be linked against my >>> frameworks. The test app links against gui and base but not any of t

Re: Linking frameworks does not work

2018-05-02 Thread Andreas Höschler
Hi Wolfgang, >> I have Window Maker running now and Fred resize.app but still wasn't able to >> get one of my own apps to work that need to be linked against my frameworks. >> The test app links against gui and base but not any of the listed frameworks >> SRFoundation, SREnterprise,... > > Tha

Re: Linking frameworks does not work

2018-05-02 Thread Andreas Höschler
Hi all, I recognized that I have /usr/local/lib/GNUstep/Libraries: gnustep-base gnustep-gui but no binaries for my frameworks anywhere in the GNustep tree execpt /usr/local/include/ESMFoundation /usr/local/lib/GNUstep/Frameworks/ESMFoundation.framework/Versions/1/ESMFoundation /usr/local/lib/G

Re: Linking frameworks does not work

2018-05-02 Thread Wolfgang Lux
> Am 02.05.2018 um 12:42 schrieb Andreas Höschler : > > Hi all, > > I have Window Maker running now and Fred resize.app but still wasn't able to > get one of my own apps to work that need to be linked against my frameworks. > The test app links against gui and base but not any of the listed f

Linking frameworks does not work

2018-05-02 Thread Andreas Höschler
Hi all, I have Window Maker running now and Fred resize.app but still wasn't able to get one of my own apps to work that need to be linked against my frameworks. The test app links against gui and base but not any of the listed frameworks SRFoundation, SREnterprise,... make messages=ye