Re: GSL and GNUStep

2008-11-14 Thread Richard Frith-Macdonald
On 15 Nov 2008, at 06:48, Germán Arias wrote: The problem is ProjectCenter. I can add this # Additional include directories the compiler should search ADDITIONAL_INCLUDE_DIRS += -I/usr/include/ # Additional library directories the linker should search ADDITIONAL_LIB_DIRS += -

Re: GSL and GNUStep

2008-11-14 Thread Germán Arias
The problem is ProjectCenter. I can add this # Additional include directories the compiler should search ADDITIONAL_INCLUDE_DIRS += -I/usr/include/ # Additional library directories the linker should search ADDITIONAL_LIB_DIRS += -L/usr/lib/ # Additional GUI libraries t

Re: GSL and GNUStep

2008-11-14 Thread Germán Arias
Check some files in Adun.app, I see that they use /usr/local/include/ and /usr/local/lib/. But on my system, Ubuntu 8.04, /usr/local/include/ is empty and /usr/local/lib/ only have Phyton and Ruby. On a terminal I get [EMAIL PROTECTED]:~$ gsl-config --cflags -I/usr/include [EMAIL PROTECTED]:~$ g

Re: GSL and GNUStep

2008-11-14 Thread Tommy Nordgren
15 nov 2008 kl. 00.15 skrev Germán Arias: OK, In GNUmakefile.preamble I add # Additional include directories the compiler should search ADDITIONAL_INCLUDE_DIRS += -I/usr/include/ # Additional library directories the linker should search ADDITIONAL_LIB_DIRS += -L/usr/lib/ # Additional GUI li

Re: NSProcessInfo -processorCount, -activeProcessorCount, -physicalMemory

2008-11-14 Thread Pete French
> Thanks... missed that ... I don't have a bsd system to test on, so I > can't even be sure this stuff would build on bsd... we do need people > to test this. I just (bletaedly) did a checkout on FreeBSD 7.1/amd64 and it builds fine for me. I dont have any code to test it running though... -p

Re: GSL and GNUStep

2008-11-14 Thread Germán Arias
OK, In GNUmakefile.preamble I add # Additional include directories the compiler should search ADDITIONAL_INCLUDE_DIRS += -I/usr/include/ # Additional library directories the linker should search ADDITIONAL_LIB_DIRS += -L/usr/lib/ # Additional GUI libraries to link ADDITIONAL_GUI_LIBS += -lgsl -

Re: NSProcessInfo -processorCount, -activeProcessorCount, -physicalMemory

2008-11-14 Thread Wolfgang Lux
Richard Frith-Macdonald wrote: Not sure, but for the sysctlbyname() case, don't you have to pass on &len as well? There must be a reason why you set up that variable, so most likely that system call is expecting it :-) Thanks... missed that ... I don't have a bsd system to test on, so I can'

Re: GSL and GNUStep

2008-11-14 Thread Yavor Doganov
В Thu, 13 Nov 2008 21:58:29 -0800, Germán Arias написа: > Hi, How can I use GSL (GNU scientific library) in my app? Trivially, like any other library. For an app, use ADDITIONAL_GUI_LIBS. You might want to look at Adun which extensively uses GSL both for the UL application and its own librarie

Re: GSL and GNUStep

2008-11-14 Thread Richard Frith-Macdonald
On 14 Nov 2008, at 05:58, Germán Arias wrote: Hi, How can I use GSL (GNU scientific library) in my app?. When I compile a simple program in a terminal, I use gcc example.c -lgsl -lgslcblas -o example But, in GNUstep I don't know how do that. Use gnustep-make to build a tool or ap