News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Linking problems

Started by teales, December 26, 2011, 07:29:11 PM

Previous topic - Next topic

teales

I'm using 10.05 on Ubuntu.

I can build my app in CB with a simple Makefile:

DC = dmd
DFLAGS = -gc -d -I/usr/include/d/gtkd
LFLAGS = -L-L/usr/lib/gtkd/32 -L-L/usr/lib32 -L-lgtkd -L-ldl -L-lrt -L-lphobos2 -L-lusps4cb

COMPILE = $(DC) -c $(DFLAGS)

OBJFILES := $(patsubst %.d,%.o,$(wildcard *.d))

all: compo

Debug: $(OBJFILES)
   $(DC) -ofcompo $(OBJFILES) $(LFLAGS)

%.o: %.d
   $(COMPILE) $<

clean:
   rm *.o
   rm compo

However, I can not find any combination of Project Build Settings that does not complain about unsatisfied externals. Compilation is OK.

Can anyone suggest a set of build options that would be equivalent to the Makefile.

Steve

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]