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

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

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

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

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,

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

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.

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

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

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

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,... > >

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

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

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

Re: Bugs in gui/back

2018-05-02 Thread Andreas Höschler
Hi Fred and all, > Here comes my tiny test application. It is about the minimal code that > is needed to test this behaviour. A minimal GNUmakefile for this would > look something like this: After successfully setting up Ubuntu 16 with Window Maker I was able to recheck your test app. It

Re: Bugs in gui/back

2018-05-02 Thread Andreas Höschler
Hi all, it seems my encountered problems were due to choosing the wrong ubuntu image (AMD instead of i386). I just tried it one again with Ubuntu 16.04 (i386 ISO) and am now after doing apt-get install ntp apt-get install openssh-server apt-get install build-essential

Windows Project center not working

2018-05-02 Thread Andreas Fink
Hello all, Today I tried to download gnustep for windows to see if it makes sense to port my MacOS / Gnustep Linux app to Windows as well. However I failed at ProjectCenter which simply throws a Windows C++ runtime library error without saying much. This is on a Windows 10 installation with no

Re: Bugs in gui/back

2018-05-02 Thread Andreas Höschler
Hi Liam, thanks for all your responses and tips: > If you are running a beta of 18.04, the forthcoming LTS version, then > again, it's GNOME 3 and Clutter under Wayland. I - in the meanwhile - installed the newest version of VirtualBox on a Mac and into that as a guest OS the newest version