>
>
>
> > I've tried to edit the makeinclude resp. the config.h by my=20
> > self. But I'm getting the same error as above. May it be=20
> > possible to show you my config and that you help me to fix it?
>
> Pete,
>
> Sure, post away - although I'll be out the office (and away from this
> email) from about lunch (UK time) so posts to the list are more likely
> to be seen than posts direct to this address...
>
> For the record, I don't actually have any AVR32 based cards, but I do
> have other embedded cards working OK.=20
> Which linux (I assume it *is* a linux) build are you using? Is it the
> Atmel one or are you building your own or...?
> Also, which graphics server - is it a "full" X-server, or a cut down
> one, or a framebuffer or...?
>
> Cheers,
> --=20
> Ian
>
>
>
>
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex=
> SS14 3EL
> A company registered in England & Wales. Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>
Thank you very much!!! I'm using an Ubuntu 6.06 VMWare Image under Windows XP.
The board is running with the normal ATMEL (www.atmel.com/avr32) tools, e.g.
busybox "linux" etc. If you need any further information, please let me know
and I'll give my best.
FTLK should run with the fb0 device. I've crosscompiled the nano-x, but I am
fed up with it. So I would like to use FLTK.
I've changed in the config.h just this lines:
#define FLTK_DATADIR "/usr/avr32-linux/share/fltk"
#define FLTK_DOCDIR "/usr/avr32-linux/share/doc/fltk"
/*
* WORDS_BIGENDIAN:
*
* Byte order of your machine: 1 = big-endian, 0 = little-endian.
*/
#define WORDS_BIGENDIAN 1
...
/*
* String functions and headers...
*/
#define HAVE_STRINGS_H 1
#define HAVE_STRCASECMP 1
#define HAVE_STRLCAT 0
#define HAVE_STRLCPY 0
And here the "makeinclude" file:
prefix = /usr/avr32-linux
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
datadir = ${prefix}/share
includedir = ${prefix}/include
libdir = ${exec_prefix}/lib
mandir = ${prefix}/man
srcdir = .
docdir = $(datadir)/doc/fltk
# programs we use...
CHMOD = chmod
CP = cp
HTMLDOC =
LN = ln -s
MKDIR = mkdir -p
NROFF = /usr/bin/nroff
RM = rm -f
RMDIR = rm -rf
SHELL = /bin/sh
STRIP = strip
# compiler names:
CXX = avr32-linux-g++
CC = avr32-linux-gcc
MAKEDEPEND = $(CXX) -M
# flags for C++ compiler:
OPTIM = -Os -Wall -Wunused -Wno-format-y2k -fno-exceptions
CFLAGS = $(OPTIM) -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include
CXXFLAGS = $(OPTIM) -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include
# program to make the archive:
LIBNAME = ../lib/libfltk.a
FLLIBNAME = ../lib/libfltk_forms.a
GLLIBNAME =
IMGLIBNAME = ../lib/libfltk_images.a
LIBCOMMAND = /usr/bin/ar cr
LIBEXT = .a
RANLIB = avr32-linux-ranlib
DSONAME =
FLDSONAME =
GLDSONAME =
IMGDSONAME =
DSOCOMMAND = echo
# libraries to link with:
AUDIOLIBS = -lasound
LDLIBS = -L/usr/lib -lm -lXext -lX11
GLDLIBS = -L/usr/lib -lm -lXext -lX11
LINKFLTK = ../lib/libfltk.a
LINKFLTKGL =
LINKFLTKFORMS = ../lib/libfltk_forms.a ../lib/libfltk.a
LINKFLTKIMG = ../lib/libfltk_images.a ../lib/libfltk.a $(IMAGELIBS)
LINKSHARED = ../lib/libfltk_images.a ../lib/libfltk_forms.a
../lib/libfltk.a $(IMAGELIBS)
IMAGELIBS = -L../lib -lpng -lz -ljpeg
# image libraries to build...
IMAGEDIRS =
# The extension to use for executables...
EXEEXT =
# Do we build the OpenGL demos?
GLDEMOS =
# Do we build the threads demo?
THREADS =
# Name of FLUID executable we install
FLUID = fluid$(EXEEXT)
# Possible steps after linking...
POSTBUILD = :
# Man page extensions...
CAT1EXT = 1
CAT3EXT = 3
CAT6EXT = 3
# Additional GUI install/uninstall targets...
INSTALL_DESKTOP = install-linux
UNINSTALL_DESKTOP = uninstall-linux
# Be quiet when building...
.SILENT:
# Build commands and filename extensions...
.SUFFIXES: .0 .1 .3 .c .cxx .h .fl .man .o .z $(EXEEXT)
.o$(EXEEXT):
echo Linking [EMAIL PROTECTED]
$(CXX) $(CXXFLAGS) $< $(LINKFLTK) $(LDLIBS) -o $@
$(POSTBUILD) $@ ../FL/mac.r
.c.o:
echo Compiling $<...
$(CC) -I.. $(CFLAGS) -c $<
.cxx.o:
echo Compiling $<...
$(CXX) -I.. $(CXXFLAGS) -c $<
.man.0 .man.1 .man.3:
echo Formatting $<...
rm -f $@
$(NROFF) -man $< >$@
.man.z:
echo Formatting $<...
rm -f $@ t.z
$(NROFF) -man $< >t
pack -f t
mv t.z $@
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk