E57 Support - Extended Instructable?

For any question about plugins!
Charlesw
Posts: 45
Joined: Mon Apr 10, 2017 3:54 pm

Re: E57 Support - Extended Instructable?

Post by Charlesw »

boost
doc
libs
more
status
tools
boost.png
boostcpp.jam
bootstrap.bat
bootstrap.sh
index.htm
index.html
INSTALL
Jamroot
LICENSE_1_0.txt
README.md
rst.css
*The above files are as far as I can tell the root boost directory

* The below files are within the libs directory
accumulators
algorithm
any
array
asio
assign
bimap
bind
chrono
circular_buffer
compatibility
compose
concept_check
config
container
context
conversion
crc
date_time
detail
disjoint_sets
dynamic_bitset
exception
filesystem
flyweight
foreach
format
function
functional
function_types
fusion
geometry
gil
graph
graph_parallel
heap
icl
integer
interprocess
intrusive
io
iostreams
iterator
lambda
locale
local_function
logic
math
mem_fn
move
mpi
mpl
msm
multi_array
multi_index
numeric
optional
parameter
phoenix
polygon
pool
preprocessor
program_options
property_map
property_tree
proto
ptr_container
python
random
range
ratio
rational
regex
scope_exit
serialization
signals
signals2
smart_ptr
spirit
statechart
static_assert
system
test
thread
timer
tokenizer
tr1
tuple
typeof
type_traits
units
unordered
utility
uuid
variant
wave
xpressive
index.html
libraries.htm
maintainers.txt
platform_maintainers.txt
Charlesw
Posts: 45
Joined: Mon Apr 10, 2017 3:54 pm

Re: E57 Support - Extended Instructable?

Post by Charlesw »

I also have newer version of boost which has actual dll files in the lib folder...
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: E57 Support - Extended Instructable?

Post by daniel »

Hum, I agree with the 'boost' root (however it never works, even on my side - I always need to add the 'BOOST_LIBRARYDIR').

But my 'library dir' is actually named differently (like 'lib64-msvc-12.0') and is full of libraries and DLLs (maybe like your newer version.

Here is a subset of the files:

Code: Select all

boost_math_tr1-vc120-mt-gd-1_60.lib
boost_math_tr1f-vc120-mt-1_60.dll
boost_math_tr1f-vc120-mt-1_60.lib
boost_math_tr1f-vc120-mt-gd-1_60.dll
boost_math_tr1f-vc120-mt-gd-1_60.lib
boost_math_tr1l-vc120-mt-1_60.dll
boost_math_tr1l-vc120-mt-1_60.lib
boost_math_tr1l-vc120-mt-gd-1_60.dll
boost_math_tr1l-vc120-mt-gd-1_60.lib
boost_prg_exec_monitor-vc120-mt-1_60.dll
boost_prg_exec_monitor-vc120-mt-1_60.lib
boost_prg_exec_monitor-vc120-mt-gd-1_60.dll
boost_prg_exec_monitor-vc120-mt-gd-1_60.lib
boost_program_options-vc120-mt-1_60.dll
boost_program_options-vc120-mt-1_60.lib
boost_program_options-vc120-mt-gd-1_60.dll
boost_program_options-vc120-mt-gd-1_60.lib
boost_python-vc120-mt-1_60.dll
boost_python-vc120-mt-1_60.lib
boost_python-vc120-mt-gd-1_60.dll
boost_python-vc120-mt-gd-1_60.lib
boost_random-vc120-mt-1_60.dll
boost_random-vc120-mt-1_60.lib
boost_random-vc120-mt-gd-1_60.dll
boost_random-vc120-mt-gd-1_60.lib
boost_regex-vc120-mt-1_60.dll
boost_regex-vc120-mt-1_60.lib
boost_regex-vc120-mt-gd-1_60.dll
boost_regex-vc120-mt-gd-1_60.lib
boost_serialization-vc120-mt-1_60.dll
boost_serialization-vc120-mt-1_60.lib
boost_serialization-vc120-mt-gd-1_60.dll
boost_serialization-vc120-mt-gd-1_60.lib
boost_signals-vc120-mt-1_60.dll
boost_signals-vc120-mt-1_60.lib
boost_signals-vc120-mt-gd-1_60.dll
boost_signals-vc120-mt-gd-1_60.lib
boost_system-vc120-mt-1_60.dll
boost_system-vc120-mt-1_60.lib
boost_system-vc120-mt-gd-1_60.dll
boost_system-vc120-mt-gd-1_60.lib
boost_thread-vc120-mt-1_60.dll
boost_thread-vc120-mt-1_60.lib
boost_thread-vc120-mt-gd-1_60.dll
boost_thread-vc120-mt-gd-1_60.lib
boost_timer-vc120-mt-1_60.dll
boost_timer-vc120-mt-1_60.lib
boost_timer-vc120-mt-gd-1_60.dll
boost_timer-vc120-mt-gd-1_60.lib
boost_type_erasure-vc120-mt-1_60.dll
boost_type_erasure-vc120-mt-1_60.lib
boost_type_erasure-vc120-mt-gd-1_60.dll
boost_type_erasure-vc120-mt-gd-1_60.lib
boost_unit_test_framework-vc120-mt-1_60.dll
boost_unit_test_framework-vc120-mt-1_60.lib
boost_unit_test_framework-vc120-mt-gd-1_60.dll
boost_unit_test_framework-vc120-mt-gd-1_60.lib
boost_wave-vc120-mt-1_60.dll
boost_wave-vc120-mt-1_60.lib
boost_wave-vc120-mt-gd-1_60.dll
boost_wave-vc120-mt-gd-1_60.lib
boost_wserialization-vc120-mt-1_60.dll
boost_wserialization-vc120-mt-1_60.lib
boost_wserialization-vc120-mt-gd-1_60.dll
boost_wserialization-vc120-mt-gd-1_60.lib
boost_zlib-vc120-mt-1_60.dll
boost_zlib-vc120-mt-1_60.lib
boost_zlib-vc120-mt-gd-1_60.dll
boost_zlib-vc120-mt-gd-1_60.lib
I believe CMake is looking for these files.
Daniel, CloudCompare admin
Charlesw
Posts: 45
Joined: Mon Apr 10, 2017 3:54 pm

Re: E57 Support - Extended Instructable?

Post by Charlesw »

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?
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: E57 Support - Extended Instructable?

Post by daniel »

Personally I use Boost 1.60 with Visual 2013 64 bits to compile CC. Before that I have used version 1.55 and 1.56 successfully.
Daniel, CloudCompare admin
Charlesw
Posts: 45
Joined: Mon Apr 10, 2017 3:54 pm

Re: E57 Support - Extended Instructable?

Post by Charlesw »

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.
Charlesw
Posts: 45
Joined: Mon Apr 10, 2017 3:54 pm

Re: E57 Support - Extended Instructable?

Post by Charlesw »

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.
Charlesw
Posts: 45
Joined: Mon Apr 10, 2017 3:54 pm

Re: E57 Support - Extended Instructable?

Post by Charlesw »

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****
jiuzhou
Posts: 1
Joined: Wed Jun 07, 2017 3:17 pm

Re: E57 Support - Extended Instructable?

Post by jiuzhou »

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:)
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: E57 Support - Extended Instructable?

Post by daniel »

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.
Daniel, CloudCompare admin
Post Reply