[Fluid3d Image]

Fluid3d Demo

http://prideout.net/blog/?p=66

Conventions

I use lowercase filenames for libraries in C. The demo-specific code is in C++ and has uppercase filenames.

Download and Install CMake

You can get it from here:
   http://www.cmake.org/cmake/resources/software.html
If you're on Ubuntu, don't bother with the web site; just type this:
   > sudo apt-get install CMake

For Visual Studio

   > mkdir build
   > cd build
   > cmake .. -G "Visual Studio 10"  
   > Fluid3d.sln
   > Right-click "Fluid3d" in Solution Explorer and make it your StartUp Project.
   > Press F5
If you're using an older Visual Studio, just run "cmake" (no arguments) to see a list of options. For example, a 2005 project can be built like this:
   > cmake .. -G "Visual Studio 8 2005"

Linux or Mac, from Command Line

   > mkdir build
   > cd build
   > cmake ..
   > make
   > ./Fluid3d

Mac with Xcode

   > cmake . -G "Xcode"
   > open Fluid3d.xcodeproj
   > Press Command + Enter

For Debugging with GDB

   > mkdir build
   > cd build
   > cmake .. -DCMAKE_BUILD_TYPE=Debug
   > make VERBOSE=1
   > gdb Fluid3d