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

Window puredata example build fail #38

Open
ABadoil opened this issue Apr 30, 2021 · 2 comments
Open

Window puredata example build fail #38

ABadoil opened this issue Apr 30, 2021 · 2 comments

Comments

@ABadoil
Copy link

ABadoil commented Apr 30, 2021

Hello!
I try to build on Windows 10 the puredata examples. I installed Cmake (v3.20.2) and vultc (v0.4.13) , the both are in my path. When I try to run the command cmake ../, I have this log :
Any one could help me ?

../repos/vult/examples/build (master)
$ cmake ../
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in CMakeLists.txt:
  The CMAKE_C_COMPILER:

    cl

  is not a full path and was not found in the PATH.

  To use the NMake generator with Visual C++, cmake must be run from a shell
  that can use the compiler cl from the command line.  This environment is
  unable to invoke the cl compiler.  To fix this problem, run cmake from the
  Visual Studio Command Prompt (vcvarsall.bat).

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error in CMakeLists.txt:
  The CMAKE_CXX_COMPILER:

    cl

  is not a full path and was not found in the PATH.

  To use the NMake generator with Visual C++, cmake must be run from a shell
  that can use the compiler cl from the command line.  This environment is
  unable to invoke the cl compiler.  To fix this problem, run cmake from the
  Visual Studio Command Prompt (vcvarsall.bat).

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
@modlfo
Copy link
Collaborator

modlfo commented Apr 30, 2021

It seems like you don't have a terminal with the Visual Studio (C++) tools. Check this page that shows how to open one https://docs.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2019

@ABadoil
Copy link
Author

ABadoil commented May 1, 2021

Thanks for your help,
I install Visual Studio and the tools C++ CMAKE tools, and the cmake ../ command is working fine :

\repos\vult\examples\build>cmake ../ -Wno-dev
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042.
-- Vult compiler found in C:/Users/doiba/AppData/Roaming/npm/vultc
-- Configuring done
-- Generating done
-- Build files have been written to: /repos/vult/examples/build

But I don't have any Makefiles after to run make command. Here the command log :

vult\examples\build>make
make: *** No targets specified and no makefile found.  Stop.

Any other suggestion to go further ? :)

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

2 participants