From 81fe7f99924f28923f343ce23778695ff8152f62 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Mon, 29 Feb 2016 13:13:24 +0000 Subject: [PATCH] Documentation updates. --- docs/GettingStarted.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index e6912fdd..fce16b55 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -33,14 +33,14 @@ premake5-osx --file=scripts/LLVM.lua download_llvm # on OSX premake5-linux-64 --file=scripts/LLVM.lua download_llvm # on Linux ``` +Alternatively, if on Windows, just double click on `/build/DownloadDeps.bat`. + After this, you should end up with one or multiple `/build/scripts/llvm---` folders containing the headers and libraries for LLVM. If you do not end up with the folder, which can happen due to, for instance, not having 7-Zip on the path on Windows, then you can manually extract the .7z archives in `/build/scripts` to their respective folders. -Alternatively, if on Windows, you can just double click on `/build/DownloadDeps.bat`. - ### Building LLVM and Clang from source Please check the guide in [Compiling LLVM and Clang from source](BuildingLLVM.md) @@ -77,7 +77,8 @@ a 32-bit VM will only be able to load 32-bit shared libraries and vice-versa for Only 64-bits builds are supported at the moment. -We depend on a somewhat recent version of Mono (.NET 4.5). Ubuntu 14.04 contains recent enough Mono by default, which you can install with: +We depend on a somewhat recent version of Mono (.NET 4.5). +Ubuntu 14.04 contains recent enough Mono by default, which you can install with: ```shell sudo apt-get install mono-devel @@ -99,6 +100,12 @@ If you need more verbosity from the builds invoke `make` as: verbose=true make -C gmake config=release_x64 ``` +If you get the following error, please see [issue #625](https://github.com/mono/CppSharp/issues/625#issuecomment-189283549): + +``` +/usr/include/wchar.h(39,11): fatal: 'stdarg.h' file not found CppSharp has encountered an error while parsing code. +``` + # Generating bindings You can now progress to generating your first bindings, explained in our [Generating bindings](GeneratingBindings.md) page.