I'm a beginner to PCL and I'm using Windows 7 and am aiming to implement ICP with PCL and Visual Studio 2012 for a school project. I'm currently having trouble getting started with the configurations. I am following "Using PCL in your own project" tutorial and I'm not being able to compile. I've created a new project in Visual Studio with the sample code provided from the tutorial and I've made the CMakeLists file with the contents provided in the tutorial as well after modifying the project and source file names. I've tried using both the command line method and the GUI method for CMake but both are failing. I've installed PCL by using the all-in-one binary installer and kept all the default settings. Could I please get some help in the configurations and setup of PCL?
I'm sorry if these questions are very basic but I have only recently learned about PCL and I only have basic C++ coding knowledge so I'm very new to all of this, including Visual Studio.
Thanks for your responses. I installed VS2010 and have tried again but I am getting the following error from the CMake GUI:
The C compiler identification is MSVC 16.0.30319.1
The CXX compiler identification is MSVC 16.0.30319.1
Check for working C compiler using: Visual Studio 10 Win64
Could not register CMake's Visual Studio macros file 'CMakeVSMacros2.vsmacros' while Visual Studio is running. Please exit all running instances of Visual Studio before continuing.
CMake needs to register Visual Studio macros when its macros file is updated or when it detects that its current macros file is no longer registered with Visual Studio.
Check for working C compiler using: Visual Studio 10 Win64 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/x86_amd64/cl.exe" is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Users/Jeanorth/Documents/Visual Studio 2010/Projects/testing_pcl/tutorial/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\devenv.com
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2632866653
Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. All rights reserved.