Re: srtti project
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: srtti project
- From: Vincent Penne <ziggy@...>
- Date: 2004年8月08日 05:22:44 +0200
Steven Elkins wrote:
I hack around it like so...
sge:587$ diff -u Makefile.ORIG Makefile
--- Makefile.ORIG Thu Aug 5 20:57:51 2004
+++ Makefile Sat Aug 7 22:48:44 2004
@@ -67,7 +67,7 @@
.PHONY : clean
clean :
@echo [cleaning]
- rm -f $(LOBJS) $(OBJS) $(LIB) $(BINDFILE)
+ rm -f $(LOBJS) $(OBJS) $(LIB)
.SUFFIXES : .cxx .c .o .i
sge:588$
Anyway, thanks! I think it'd be even more fun I knew fltk.
Steve
No no no, my clean target is correct ! :) The problem is that this file
that I'm deleting when cleaning is supposed to be generated by the
binding generator. However I provided it in the archive for people
interested with the fltk binding but who would not want to regenerate
the binding , since , just as it happened for you, it may not work as is
on any environment.
The problem mainly for you is here :
fltk.cxx:0: malformed option `-D asm(...)='
fltk.cxx:0: malformed option `-D __asm__(...)='
fltk.cxx:0: malformed option `-D __attribute__(...)='
It looks like your gcc doesn't accept these options, or that gmake does
not parse correctly the quote that I put in the makefile around them.
Maybe you can try to remove these options in the makefile, or use escape
characters instead of quotes. Maybe you can try something like that in
the makefile :
CPP_FLAGS = -Dasm\(...)\= -D__asm__\(...\)\= \
-D__extension__="" -D__const=const -D__attribute__\(...\)\= \
-D__size="unsigned int" -Dptrdiff_t=int -D__restrict="" \
-D__inline="" -D__mode__="" -Dexplicit=""
If it works for you, please tell me.
About fltk, it's probably one of the easiest GUI toolkit to use, so I
suggest you to give it a try :)
Vincent Penne.