-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio 16 2019 #4
Comments
We don't currently support VS 16, because of a bug in cmake distributed by
MS, but we need to revisit this.
…On Mon, Jan 13, 2020 at 2:44 PM karl yerkes ***@***.***> wrote:
this is the main compiler for Windows. Note that the CMake generator for
VS16 works a little differently than VS15 and earlier. See: "Use -A option
to specify architecture."
cmake -G
CMake Error: No generator specified for -G
Generators* Visual Studio 16 2019 = Generates Visual Studio 2019 project files.
Use -A option to specify architecture.
Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 12 2013 [arch] = Generates Visual Studio 2013 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 11 2012 [arch] = Generates Visual Studio 2012 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 10 2010 [arch] = Generates Visual Studio 2010 project files.
Optional [arch] can be "Win64" or "IA64".
Visual Studio 9 2008 [arch] = Generates Visual Studio 2008 project files.
Optional [arch] can be "Win64" or "IA64".
This compiler seems to build allolib fine:
cd allolib
mkdir build
cmake ..
cmake --build .
But, the run script does not work:
./run.sh allolib/examples/graphics/2D.cpp
Building for Visual Studio 15 2017
You must install Visual Studio 2017 to use allolib
+ 'C:/Program Files/CMake/bin/cmake.exe' -G 'Visual Studio 15 2017 Win64' -Wno-deprecated -DCMAKE_BUILD_TYPE=Release -DAL_APP_FILE=../../../2D.cpp -DAL_VERBOSE_OUTPUT=OFF /c/Users/ky/allolib_playground
CMake Error at CMakeLists.txt:3 (project):
Generator
Visual Studio 15 2017 Win64
I spent some time trying to get it to work, but I failed. I don't
understand the cmake system well enough.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AADK3R23N76FC5RIIQH652TQ5TVEHA5CNFSM4KGJ6W7KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IF4QP6Q>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADK3R3B75QU74MKZFUFTKLQ5TVEHANCNFSM4KGJ6W7A>
.
|
This is a weird bug, as just the presence of VS 16 preclude from building
using VS 15....
On Mon, Jan 13, 2020 at 4:01 PM Andres Cabrera <[email protected]>
wrote:
… We don't currently support VS 16, because of a bug in cmake distributed by
MS, but we need to revisit this.
On Mon, Jan 13, 2020 at 2:44 PM karl yerkes ***@***.***>
wrote:
> this is the main compiler for Windows. Note that the CMake generator for
> VS16 works a little differently than VS15 and earlier. See: "Use -A option
> to specify architecture."
>
> cmake -G
> CMake Error: No generator specified for -G
>
> Generators* Visual Studio 16 2019 = Generates Visual Studio 2019 project files.
> Use -A option to specify architecture.
> Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
> Optional [arch] can be "Win64" or "ARM".
> Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
> Optional [arch] can be "Win64" or "ARM".
> Visual Studio 12 2013 [arch] = Generates Visual Studio 2013 project files.
> Optional [arch] can be "Win64" or "ARM".
> Visual Studio 11 2012 [arch] = Generates Visual Studio 2012 project files.
> Optional [arch] can be "Win64" or "ARM".
> Visual Studio 10 2010 [arch] = Generates Visual Studio 2010 project files.
> Optional [arch] can be "Win64" or "IA64".
> Visual Studio 9 2008 [arch] = Generates Visual Studio 2008 project files.
> Optional [arch] can be "Win64" or "IA64".
>
> This compiler seems to build allolib fine:
>
> cd allolib
> mkdir build
> cmake ..
> cmake --build .
>
> But, the run script does not work:
>
> ./run.sh allolib/examples/graphics/2D.cpp
> Building for Visual Studio 15 2017
> You must install Visual Studio 2017 to use allolib
> + 'C:/Program Files/CMake/bin/cmake.exe' -G 'Visual Studio 15 2017 Win64' -Wno-deprecated -DCMAKE_BUILD_TYPE=Release -DAL_APP_FILE=../../../2D.cpp -DAL_VERBOSE_OUTPUT=OFF /c/Users/ky/allolib_playground
> CMake Error at CMakeLists.txt:3 (project):
> Generator
>
> Visual Studio 15 2017 Win64
>
> I spent some time trying to get it to work, but I failed. I don't
> understand the cmake system well enough.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#4?email_source=notifications&email_token=AADK3R23N76FC5RIIQH652TQ5TVEHA5CNFSM4KGJ6W7KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IF4QP6Q>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AADK3R3B75QU74MKZFUFTKLQ5TVEHANCNFSM4KGJ6W7A>
> .
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this is the main compiler for Windows. Note that the CMake generator for VS16 works a little differently than VS15 and earlier. See: "Use -A option to specify architecture."
This compiler seems to build allolib fine:
But, the run script does not work:
I spent some time trying to get it to work, but I failed. I don't understand the cmake system well enough.
The text was updated successfully, but these errors were encountered: