yookyung1310 / labstreaminglayer

Automatically exported from code.google.com/p/labstreaminglayer
0 stars 0 forks source link

Compiling in MSVC 2013 with provided boost has problem #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm getting the same problem as described here:

https://svn.boost.org/trac/boost/ticket/9332

I'm guessing something similar to their solution will work for you.

Original issue reported on code.google.com by chadwick...@gmail.com on 5 Mar 2015 at 9:29

GoogleCodeExporter commented 8 years ago
By the way, I can now compile lsl using system boost. Because it's possible to 
download precompiled binaries for Windows, and because using system boost is 
trivial in OSX (using homebrew), and trivial in linux (I think?), maybe going 
forward that should be the preferred option?

Original comment by chadwick...@gmail.com on 16 Mar 2015 at 11:23

GoogleCodeExporter commented 8 years ago
Boost (or we may blame perhaps C++) is deceiving in the sense that different 
compilers handle syntax in different ways. What's worse is that the rules keep 
changing as does little things in boost (like variable names and file paths) 
that can cause nauseatingly hard to find compiler errors.

Apropos of this, lslboost was created to handle some of the name mangling 
collisions that can arise. A particularly worrisome bit of code is the pugixml 
files. This is (I believe) the original reason Christian decided to make the 
custom-named lslboost stuff. 

Having said that, I'm glad that this is working. I spent a lot of time changing 
little details in the lsl source to make it cross-compilable on the three OSs 
with their various different compilers -- plus iOS, although that isn't out 
yet. I also had to apply some patches to the boost code in order for it to work 
on OSX. All of these changes are documented in the change log.

Original comment by david.er...@gmail.com on 17 Mar 2015 at 6:54