On Thu, 08 Nov 2012 20:23:08 GMT, Sönke Ludwig wrote:

You also need to put all vibe.d source files on the command line. The fastest way should be something like:

cd /path/to/project
find /opt/vibe/source/vibe/ -type f > files.txt
dmd -ofapp -I/opt/vibe/source @files.txt source/app.d -L-levent_pthreads -L-levent -L-lssl -L-lcrypto
./app

Hi,

thanks. I was thinking this was the last resort solution, but if it is the way it should be, then be it :-)

I am still having problem building it, though. I have removed appmain.d and d.d from the list of files to get rid of duplicate main error, but there still seems to be problem with libevent.

app.o: In function `ev_default_loop':
server.d:(.text.ev_default_loop+0x1d): undefined reference to `ev_default_loop_init'
collect2: ld returned 1 exit status

I am obviously missing some small bit, but I am not sure which one...
Any ideas?