Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great stuff! thanks!
could you make those changes plz
INSTALL.md
Outdated
@@ -57,8 +57,29 @@ Shogun is part of [homebrew-science](https://github.com/Homebrew/homebrew-scienc | |||
$ sudo brew install shogun | |||
|
|||
###Windows <a name="windows"></a> | |||
Shogun natively compiles under Windows using MSVC, see the [CI build](https://ci.appveyor.com/project/vigsterkr/shogun). We currently do not support a binary | |||
installer. If you are interested in packaging, documenting, or contributing otherwise, please contact us. | |||
We currently do not support a Shogun binary on Windows platform. Shogun natively compiles under Windows using MSVC.We recommend using "Visual Studio 14 2015" which has a good support for C++11. If you do not want to install the whole IDE,you can just use MSBuild to build shogun. Running CMD as administrator with the following commands: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i know i'm nitpicking a bit but could you please make spaces between the comma and fullstop. like at using MSVC.We
or whole IDE,you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please read the develop readme for how to contribute to documentation.
This is our main point of contact with new people so it needs to be as precise and clean as possible. Avoid redundancy and unnecessary sentences. Be concise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok,I will do these again and pay more attention on these places!3Q!
INSTALL.md
Outdated
``` | ||
cmake -G"Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Release -DBUILD_META_EXAMPLES=ON -DENABLE_TESTING=ON .. | ||
``` | ||
This requires [PLY for Python](https://pypi.python.org/pypi/ply) package `python-ply` which you can use `pip install ply` to install it, and [ctags](http://ctags.sourceforge.net/), package `ctags`. Or you can ignore these two packages and use `-DBUILD_META_EXAMPLES=OFF` to continue. You can get the using of `DBUILD_META_EXAMPLES` on the [Examples](#manual-examples) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BUILD_META_EXAMPLES
instead of DBUILD_META_EXAMPLES
.
and for the last sentence use rather like: `For further information regarding the BUILD_META_EXAMPLES parameter please check out the Examples manual...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I'll change it right now
INSTALL.md
Outdated
@@ -57,7 +57,7 @@ Shogun is part of [homebrew-science](https://github.com/Homebrew/homebrew-scienc | |||
$ sudo brew install shogun | |||
|
|||
###Windows <a name="windows"></a> | |||
We currently do not support a Shogun binary on Windows platform. Shogun natively compiles under Windows using MSVC. It is recommended to use " Visual Studio 14 2015 " which has a good support for C++11, or you can only use " MSBuild " to build Shogun. Run CMD as administrator with the following commands: | |||
We currently do not support a Shogun binary on Windows platform. Shogun natively compiles under Windows using MSVC. It is recommended to use " Visual Studio 14 2015 " or " MSBuild " to build Shogun which both have good support to C++11. Run CMD as administrator with the following commands: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
support for
and use, i.e. **** for emphasizing things.
"we currently do not provide a Shogun binary for Windows platform."
Also please read the develop.md readme on how your commits can be squashed |
Signed-off-by: iRmantou <irbaozi@gmail.com>
I am sorry for many commits, I have squashed them and read develop.md carefully, this won't happen again |
@iRmantou that's ok... nobody was born with git skills.... |
@karlnapf care to take a peep on it? |
@@ -57,8 +57,27 @@ Shogun is part of [homebrew-science](https://github.com/Homebrew/homebrew-scienc | |||
$ sudo brew install shogun | |||
|
|||
###Windows <a name="windows"></a> | |||
Shogun natively compiles under Windows using MSVC, see the [CI build](https://ci.appveyor.com/project/vigsterkr/shogun). We currently do not support a binary | |||
installer. If you are interested in packaging, documenting, or contributing otherwise, please contact us. | |||
We currently do not support a Shogun binary on Windows platform. Shogun natively compiles under Windows using MSVC. It is recommended to use " Visual Studio 14 2015 " or " MSBuild " to build Shogun which both have good support to C++11. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"We currently do not offer a pre-compiled binary for Windows. If you are interested in packaging, documenting, or contributing otherwise, please contact us. For compiling Shogun natively compiles under Windows using MSVC, see below."
(You are in the precompiled binaries section here, the compiling from source section is below)
installer. If you are interested in packaging, documenting, or contributing otherwise, please contact us. | ||
We currently do not support a Shogun binary on Windows platform. Shogun natively compiles under Windows using MSVC. It is recommended to use " Visual Studio 14 2015 " or " MSBuild " to build Shogun which both have good support to C++11. | ||
|
||
Run CMD as administrator with the following commands: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The git cloning is already described above, so this is not really needed here.
|
||
Run CMD as administrator with the following commands: | ||
``` | ||
git clone https://github.com/shogun-toolbox/shogun.git C:\projects\shogun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use a $ sign for code, check out the other parts of the readme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@karlnapf $ only makes sense in *NIX world... not in case of windows...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yeah ok. I just dont like this triple quotation marks to make markdown render it as code
cd C:\projects\shogun | ||
md build && cd build | ||
``` | ||
You need [CMake](https://cmake.org/download/) to build Shogun. If you need Shogun examples in build, please see [Examples](#manual-examples). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already described above
git submodule -q update --init | ||
``` | ||
Move to the source tree root and create the build directory. | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already described above
``` | ||
You need [CMake](https://cmake.org/download/) to build Shogun. If you need Shogun examples in build, please see [Examples](#manual-examples). | ||
``` | ||
cmake -G"Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=Release -DBUILD_META_EXAMPLES=OFF -DENABLE_TESTING=ON .. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the crucial part.
You need to move this to the "Compiling by hand" section below.
Add a subsection called Windows and put the cmake and compile command there. It just needs to be these two lines as the rest is already described
``` | ||
msbuild "C:\projects\shogun\build\shogun.sln" /verbosity:minimal /t:Clean /p:Configuration=Release /p:Platform=x64 | ||
``` | ||
Note: If you use `/m` in msbuild command without specifying the number, it may occur out of memory errors. See [CI build](https://ci.appveyor.com/project/vigsterkr/shogun) as a reference and [Compiling manually](#manual) for more details. If you are interested in packaging, documenting, or contributing otherwise, please contact us. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Note: If you use /m
in msbuild command without specifying the number, it may occur out of memory errors. See CI build as a setup reference."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls move your instructions to the "Compiling by hand section, under a new subsection called "Windows". Just put the cmake and compile command. Reference this in the TOC on top.
``` | ||
Compile | ||
``` | ||
msbuild "C:\projects\shogun\build\shogun.sln" /verbosity:minimal /t:Clean /p:Configuration=Release /p:Platform=x64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the $ for code snippets, as in the rest of the readme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I have been working on #3686 and I have sent a pr about it, I want to finish this after #3686, but I see u have added these to docs. Thank u : )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I hope you dont mind I took your changes, I was doing a general edit of the files and thought I might just include it.
Thanks a lot for that, it will be helpful for people
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am happy to help this,thank u too
I hope i could make the shogun Windows installation process become more accurate. If u find something wrong, please tell me. : )