Giter Site home page Giter Site logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
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 [email protected] on 16 Mar 2015 at 11:23

from lsl_archived.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
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 [email protected] on 17 Mar 2015 at 6:54

from lsl_archived.

mgrivich avatar mgrivich commented on August 24, 2024

This can also be fixed by taking has_member_function_callable_with.hpp from boost 1.56.0 and copying it over liblsl\external\lslboost\intrusive\detail\has_member_function_callable_with.hpp and then replacing boost with lslboost in most places in the file. This is a hack on top of a hack though.

from lsl_archived.

mgrivich avatar mgrivich commented on August 24, 2024

I implemented the fix I described in the previous post. It is not particularly pleasing, but a significant change to the boost setup would require a significant amount of work. I put a new, functional vs2013.sln on github. There were numerous other small fixes required, but none of them were particularly significant.

from lsl_archived.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.