I tried putting all the files in a Dev-C++ project and setting these command 
line options
compiler-mms-bitfields -ID:/vala-0.7.4/include/glib-2.0 
-ID:/vala-0.7.4/lib/glib-2.0/include  
linkerD:/vala-0.7.4/lib/glib-2.0.lib
When I compiled the project I got hundreds of these errors
  [Linker error] undefined reference to xyz

The makefile generated by Dev-C++ is attached. Does anybody know how to fix 
this?
> From: mr_maxw...@live.com
> To: vala-list@gnome.org
> Date: Sat, 5 Sep 2009 18:51:00 -0500
> Subject: [Vala] libgee on Windows
> 
> 
> I use Linux and Windows but prefer to program on windows. I have 
> Vala/Val(a)IDE/GTK+/MinGW installed and they work great but I'm having 
> trouble with libgee. I have very little experience with makefiles (I compile 
> programs with IDEs on Linux) and can't get libgee-0.3.0 to compile with 
> mingw32-make. Could either compile libgee or give me instructions on how to 
> compile it?
> Thanks in advance.
> _________________________________________________________________
> HotmailĀ® is up to 70% faster. Now good news travels really fast. 
> http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_faster:082009

_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.windowslive.com/Desktop/PhotoGallery
# Project: libgee
# Makefile created by Dev-C++ 4.9.9.2

CPP  = g++.exe -D__DEBUG__
CC   = gcc.exe -D__DEBUG__
WINDRES = windres.exe
RES  = 
OBJ  = abstractcollection.o abstractlist.o abstractmap.o arraylist.o 
collection.o functions.o hashmap.o hashset.o iterable.o iterator.o linkedlist.o 
list.o map.o readonlycollection.o readonlylist.o readonlymap.o readonlyset.o 
set.o treemap.o treeset.o $(RES)
LINKOBJ  = abstractcollection.o abstractlist.o abstractmap.o arraylist.o 
collection.o functions.o hashmap.o hashset.o iterable.o iterator.o linkedlist.o 
list.o map.o readonlycollection.o readonlylist.o readonlymap.o readonlyset.o 
set.o treemap.o treeset.o $(RES)
LIBS =  -L"C:/Dev-Cpp/lib" D:/vala-0.7.4/lib/glib-2.0.lib  -g3 
INCS =  -I"C:/Dev-Cpp/include" 
CXXINCS =  -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  
-I"C:/Dev-Cpp/include/c++/3.4.2/backward"  
-I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  
-I"C:/Dev-Cpp/include" 
BIN  = libgee.dll
CXXFLAGS = $(CXXINCS)   -g3
CFLAGS = $(INCS) -mms-bitfields -ID:/vala-0.7.4/include/glib-2.0 
-ID:/vala-0.7.4/lib/glib-2.0/include     -g3
RM = rm -f

.PHONY: all all-before all-after clean clean-custom

all: all-before libgee.dll all-after


clean: clean-custom
        ${RM} $(OBJ) $(BIN)

DLLWRAP=dllwrap.exe
DEFFILE=liblibgee.def
STATICLIB=liblibgee.a

$(BIN): $(LINKOBJ)
        $(DLLWRAP) --output-def $(DEFFILE) --implib $(STATICLIB) $(LINKOBJ) 
$(LIBS) -o $(BIN)

abstractcollection.o: abstractcollection.c
        $(CC) -c abstractcollection.c -o abstractcollection.o $(CFLAGS)

abstractlist.o: abstractlist.c
        $(CC) -c abstractlist.c -o abstractlist.o $(CFLAGS)

abstractmap.o: abstractmap.c
        $(CC) -c abstractmap.c -o abstractmap.o $(CFLAGS)

arraylist.o: arraylist.c
        $(CC) -c arraylist.c -o arraylist.o $(CFLAGS)

collection.o: collection.c
        $(CC) -c collection.c -o collection.o $(CFLAGS)

functions.o: functions.c
        $(CC) -c functions.c -o functions.o $(CFLAGS)

hashmap.o: hashmap.c
        $(CC) -c hashmap.c -o hashmap.o $(CFLAGS)

hashset.o: hashset.c
        $(CC) -c hashset.c -o hashset.o $(CFLAGS)

iterable.o: iterable.c
        $(CC) -c iterable.c -o iterable.o $(CFLAGS)

iterator.o: iterator.c
        $(CC) -c iterator.c -o iterator.o $(CFLAGS)

linkedlist.o: linkedlist.c
        $(CC) -c linkedlist.c -o linkedlist.o $(CFLAGS)

list.o: list.c
        $(CC) -c list.c -o list.o $(CFLAGS)

map.o: map.c
        $(CC) -c map.c -o map.o $(CFLAGS)

readonlycollection.o: readonlycollection.c
        $(CC) -c readonlycollection.c -o readonlycollection.o $(CFLAGS)

readonlylist.o: readonlylist.c
        $(CC) -c readonlylist.c -o readonlylist.o $(CFLAGS)

readonlymap.o: readonlymap.c
        $(CC) -c readonlymap.c -o readonlymap.o $(CFLAGS)

readonlyset.o: readonlyset.c
        $(CC) -c readonlyset.c -o readonlyset.o $(CFLAGS)

set.o: set.c
        $(CC) -c set.c -o set.o $(CFLAGS)

treemap.o: treemap.c
        $(CC) -c treemap.c -o treemap.o $(CFLAGS)

treeset.o: treeset.c
        $(CC) -c treeset.c -o treeset.o $(CFLAGS)
_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to