CMake Warning at C:/Program Files/CMake/share/cmake-3.7/Modules/FindBoost.cmake:761 (message):
Imported targets not available for Boost version 106400
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES)
C:/Program Files/CMake/share/cmake-3.7/Modules/FindBoost.cmake:1454 (_Boost_MISSING_DEPENDENCIES)
contrib/E57Support.cmake:44 (find_package)
contrib/AllSupport.cmake:6 (include)
CMakeLists.txt:89 (include)
CMake Error at contrib/E57Support.cmake:49 (message):
Unable to find boost library. Please set BOOST_ROOT to point to the boost
distribution files.
Call Stack (most recent call first):
contrib/AllSupport.cmake:6 (include)
CMakeLists.txt:89 (include)
This is my new error code, is there a certain version which is needed for CC 2.9?
ironically, i just finished redownloading boost and had downloaded 1.60 this time around and i got the boost portion to work just fine and xerces. 1 of 2 things must have been the fix:
1. installed boost to the actual program files of the OS
2. downloading 1.60 instead of 1.48 or 1.64
In visual studio 2015 it says one of my libraries didnt match msvc 1900 (i got something is 1600 accidentally apparently), so i just gotta go back and figure out which one is not the proper version. Thank you very much for your continued cooperation through this troubleshooting.
I believe it is my libE57 files that are version 1600, when Im running 1900. And I will follow the instructions on the CC website for getting the correct libe57 compilation.
So as there is no precompiled version of libE57 for msvc14.0 (VS2015). I am attempting to compile libE57 source code myself.
Everything CC wise seems to be working, I am just missing the "E57Reflmpl.lib" files from the LibE57 libraries. do you know anything about compiling the source code for libE57?
I downloaded the source code from LibeE57.org.
Opened CMAKE.
Set source to the source code. created build folder and project folder (for cmakes prefix location to stay out of the c drive for permission reasons)
set boost_root to exactly that.
instead of setting xerces_root, i checked advanced and manually set the xerces_include_dir, xerces_library_debug, and xerces_library_release
(I manually set these as I only built the portion of xerces which was stated in the instructions, setting the xerces_root was making cmake have difficulties)
configure and generate, all is well until i take that generated project into visual studio to compile the LibE57 to obtain "E57Reflmpl.lib"
I opened the .sln file that cmake created.
Ive tried multiple things here, but I am assuming I need to either compile "E57Reflmpl" or the "INSTALL". wasnt sure which so i tried both.
either way, i get lots of error revolving around error code: c1083 - cannot open include file: 'SAX2XMLReader.hpp': No such file or Directory.
I am not sure if this is a result of the manual cmake entries, or if I've done something drastically incorrect.
****I did make the corrections noted on the CC wiki to the cmake files****
Hello, I've followed the same way. The result is that I can build "E57Reflmpl" only successfully. (However "INSTALL" failed)
The 'SAX2XMLReader.hpp' is a file in path "xercesc\sax2", so I am wondering whether you put the "xercesc" folder from "xerces-c-3.1.4\src\" into "xerces-yournewfolder\include". By the way, I only set the XERCES_ROOT as ".../xerces-yournewfolder" and success.
I am also new on using cmake and E57, maybe it cannot work either, but hope it can help you:)
On my side, I don't have such issues, but if you can at least compile the E57Reflmpl project (library), then it should be sufficient for CloudCompare indeed.