Skip to content
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

CMake Error: Could not create named generator Visual #31

Open
HCIHKUST opened this issue Nov 6, 2016 · 1 comment
Open

CMake Error: Could not create named generator Visual #31

HCIHKUST opened this issue Nov 6, 2016 · 1 comment

Comments

@HCIHKUST
Copy link

HCIHKUST commented Nov 6, 2016

I compile caffe windows branch. My environment is win10, cmake 3.7, vs2015, cuda8.0, no ninjia.

The compile script is:

set CMAKE_GENERATOR=Visual Studio 14 2015 Win64
set CMAKE_CONFIGURATION=Release
mkdir build
cd build
cmake -G%CMAKE_GENERATOR% -DBLAS=Open -DCMAKE_BUILD_TYPE=%CMAKE_CONFIGURATION% -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=%CAFFE_ROOT%\install -C %CAFFE_DEPENDENCIES%\caffe-builder-config.cmake ..
cmake --build . --config %CMAKE_CONFIGURATION%
cmake --build . --config %CMAKE_CONFIGURATION% --target install

But it reports the error as shown in the title.

Could you help? Thanks.

@willyd
Copy link
Owner

willyd commented Nov 6, 2016

Try surrounding %CMAKE_GENERATOR% with double quotes like so "%CMAKE_GENERATOR%". Please note that installation questions should be asked on the mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant