On Wed, 07 Nov 2012 22:26:14 GMT, Martin Drasar wrote:

Hi,

I have a problem building an application that uses the vibe.d framework. If I follow the First steps tutorial in the documentation, I can successfully run the server and access it via a browser. However when I try to build my app without the 'vibe' command, I hit the wall hard. What parameters does the dmd need to successfully build an app that uses vibe.d?

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