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 += -
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
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
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
> 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
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 -
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'
В 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
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