Last active
March 3, 2022 17:57
-
-
Save KartikShrivastava/395c63d75721841c137193d168231d96 to your computer and use it in GitHub Desktop.
Visual studio solution with PCH does not "Create library().lib" after including a specific header file in stfafx.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rebuild started... | |
1>------ Rebuild All started: Project: ZERO_CHECK, Configuration: Debug x64 ------ | |
2>------ Rebuild All started: Project: SharedPCH, Configuration: Debug x64 ------ | |
1>Checking Build System | |
2>stdafx.cpp | |
2>SharedPCH.vcxproj -> C:\Home\Projects\Github\PointCloudLibrary\buildMar1\Outputs\x64\Debug\SharedPCH.lib | |
3>------ Rebuild All started: Project: pcl_io_ply, Configuration: Debug x64 ------ | |
3>Building Custom Rule C:/Home/Projects/Github/PointCloudLibrary/pcl/io/CMakeLists.txt | |
3>Performing Custom Build Step | |
3>C:\Home\Projects\Github\PointCloudLibrary\buildMar1\Outputs\Intermediate\Shared\x64\Debug\vc142.pdb -> C:\Home\Projects\Github\PointCloudLibrary\buildMar1\io\pcl_io_ply.dir\Debug\vc142.pdb | |
3>1 File(s) copied | |
3>ply_parser.cpp | |
3>C:\Home\Projects\Github\PointCloudLibrary\pcl\io\src\ply\ply_parser.cpp : warning C4652: compiler option 'support for OpenMP (/openmp or /openmp:llvm)' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header | |
3>C:\Home\Projects\Github\PointCloudLibrary\pcl\io\src\ply\ply_parser.cpp : warning C4005: 'BOOST_ALL_NO_LIB': macro redefinition | |
3>C:\Home\vcpkg\vcpkg\installed\x64-windows\include\boost/config/user.hpp(136): message : see previous definition of 'BOOST_ALL_NO_LIB' | |
3>C:\Home\Projects\Github\PointCloudLibrary\pcl\io\src\ply\ply_parser.cpp : warning C4651: '/D_OPENMP=200203' specified for precompiled header but not for current compile | |
3> Creating library C:/Home/Projects/Github/PointCloudLibrary/buildMar1/lib/pcl_io_plyd.lib and object C:/Home/Projects/Github/PointCloudLibrary/buildMar1/lib/pcl_io_plyd.exp | |
3>LINK : warning LNK4199: /DELAYLOAD:VCOMP140D.dll ignored; no imports found from VCOMP140D.dll | |
3>pcl_io_ply.vcxproj -> C:\Home\Projects\Github\PointCloudLibrary\buildMar1\bin\pcl_io_plyd.dll | |
3>Done building project "pcl_io_ply.vcxproj". | |
========== Rebuild All: 3 succeeded, 0 failed, 0 skipped ========== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rebuild started... | |
1>------ Rebuild All started: Project: ZERO_CHECK, Configuration: Debug x64 ------ | |
2>------ Rebuild All started: Project: SharedPCH, Configuration: Debug x64 ------ | |
1>Checking Build System | |
2>stdafx.cpp | |
2>SharedPCH.vcxproj -> C:\Home\Projects\Github\PointCloudLibrary\buildMar1\Outputs\x64\Debug\SharedPCH.lib | |
3>------ Rebuild All started: Project: pcl_io_ply, Configuration: Debug x64 ------ | |
3>Building Custom Rule C:/Home/Projects/Github/PointCloudLibrary/pcl/io/CMakeLists.txt | |
3>Performing Custom Build Step | |
3>C:\Home\Projects\Github\PointCloudLibrary\buildMar1\Outputs\Intermediate\Shared\x64\Debug\vc142.pdb -> C:\Home\Projects\Github\PointCloudLibrary\buildMar1\io\pcl_io_ply.dir\Debug\vc142.pdb | |
3>1 File(s) copied | |
3>ply_parser.cpp | |
3>C:\Home\Projects\Github\PointCloudLibrary\pcl\io\src\ply\ply_parser.cpp : warning C4652: compiler option 'support for OpenMP (/openmp or /openmp:llvm)' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header | |
3>C:\Home\Projects\Github\PointCloudLibrary\pcl\io\src\ply\ply_parser.cpp : warning C4005: 'BOOST_ALL_NO_LIB': macro redefinition | |
3>C:\Home\vcpkg\vcpkg\installed\x64-windows\include\boost/config/user.hpp(136): message : see previous definition of 'BOOST_ALL_NO_LIB' | |
3>C:\Home\Projects\Github\PointCloudLibrary\pcl\io\src\ply\ply_parser.cpp : warning C4005: 'NOMINMAX': macro redefinition | |
3>C:\Home\Projects\Github\PointCloudLibrary\pcl\common\include\pcl/pcl_macros.h(214): message : see previous definition of 'NOMINMAX' | |
3>C:\Home\Projects\Github\PointCloudLibrary\pcl\io\src\ply\ply_parser.cpp : warning C4651: '/D_OPENMP=200203' specified for precompiled header but not for current compile | |
3>LINK : warning LNK4199: /DELAYLOAD:VCOMP140D.dll ignored; no imports found from VCOMP140D.dll | |
3>pcl_io_ply.vcxproj -> C:\Home\Projects\Github\PointCloudLibrary\buildMar1\bin\pcl_io_plyd.dll | |
3>Done building project "pcl_io_ply.vcxproj". | |
========== Rebuild All: 3 succeeded, 0 failed, 0 skipped ========== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <pcl/memory.h> | |
#include <pcl/type_traits.h> | |
#include <pcl/point_struct_traits.h> | |
#include <pcl/point_types.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <pcl/memory.h> | |
#include <pcl/type_traits.h> | |
#include <pcl/point_struct_traits.h> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment