MicBosi / VisualizationLibrary

Visualization Library is a C++ middleware for high-performance 2D and 3D graphics applications based on OpenGL 1.x-4.x supporting Windows, Linux and Mac OS X.
http://VisualizationLibrary.org
Other
339 stars 94 forks source link

CMake :: Error in configuration process #199

Open dcube9 opened 3 years ago

dcube9 commented 3 years ago

Hi,

I try to build with CMake 3.20.1 with VS2019 or VS2015 but boh fail the generation.

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.

Selecting Windows SDK version to target Windows 10.0.19041. The C compiler identification is MSVC 19.0.24215.1 The CXX compiler identification is MSVC 19.0.24215.1 Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe - skipped Detecting C compile features Detecting C compile features - done Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe - skipped Detecting CXX compile features Detecting CXX compile features - done CMake Error at vlCore/plugins/CMakeLists.txt:32 (VL_PROCESS_PROJECT_PLUGINS): Unknown CMake command "VL_PROCESS_PROJECT_PLUGINS".

Configuring incomplete, errors occurred! See also "E:/Library/VisualizationLibrary/2.1.0/build/CMakeFiles/CMakeOutput.log".

CMakeOutput.log

YngridLau commented 3 years ago

I have the same problem, i am using mingw-w64 CMake 3.21.2 VisualizationLibrary-2.1.0 it would be great a help, thanks

KeyboardGames commented 2 years ago

I have the same problem, i am using mingw-w64 CMake 3.21.2 VisualizationLibrary-2.1.0 it would be great a help, thanks

I'm sorry if this reply is real late, but it would be real helpful if you could define what IDE you are using and what operating system you are attempting to build VisualizationLibrary with. If you are running Windows and using Code::Blocks, I'd reccomend downloading the version of Code::Blocks that comes with MinGW. The MinGW that comes with Code::Blocks should be able to help make VL. Once you have installed Code::Blocks, set an environment path variable like "C:/Program Files/CodeBlocks/MinGW/bin". Finally make sure that cmake will build towards "CodeBlocks MinGW-Makefiles". If errors still pop up, it's most likely something to do with the operating system you are running, or your computer's configuration (of course I could still help, since I have recently built Visualization Library 2.1.0 on Windows Vista).