Code Monkey home page Code Monkey logo

Comments (11)

wjaskowski avatar wjaskowski commented on May 22, 2024

A possible hint: libavg/libavg#728

from vizdoom.

mihahauke avatar mihahauke commented on May 22, 2024

Turns it's probably some boost version's bug.

from vizdoom.

wjaskowski avatar wjaskowski commented on May 22, 2024

Shouldn't we then increase the boost version requirement to 1.59?

On 5 May 2016 at 10:20, Michał Kempka [email protected] wrote:

Turns it's probably some boost version's bug.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#49 (comment)

from vizdoom.

mihahauke avatar mihahauke commented on May 22, 2024

I thought about this but I was not fully convinced. The link you provided earlier refers to boost 1.60...

from vizdoom.

wjaskowski avatar wjaskowski commented on May 22, 2024

OK. Indeed, on my boost 1.58, it works without problems.

On 5 May 2016 at 10:46, Michał Kempka [email protected] wrote:

I thought about this but I was not fully convinced. The link you provided
earlier refers to boost 1.60...


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#49 (comment)

from vizdoom.

mihahauke avatar mihahauke commented on May 22, 2024

Hmmm the person which shared this issue also had 1.58 version so maybe it's not about the version but some installation error.

from vizdoom.

wjaskowski avatar wjaskowski commented on May 22, 2024

Right. That is what I meant.

On 5 May 2016 at 10:58, Michał Kempka [email protected] wrote:

Hmmm the person which shared this issue also had 1.58 version so maybe
it's not about the version but some installation error.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#49 (comment)

from vizdoom.

wjaskowski avatar wjaskowski commented on May 22, 2024

This problem is still there and it is related to g++ version. I have boost 1.58 (Ubuntu 15.10) and I get this (runtime) error when using g++ 4.8.4. But it works flawlessly on g++ 5.2.1. (And this is serious because we do need g++ 4.8.4 since CUDA does not work on gcc>=4.9)

from vizdoom.

mihahauke avatar mihahauke commented on May 22, 2024

Are you sure? I have g++ 4.8.5 and it works ok.

from vizdoom.

wjaskowski avatar wjaskowski commented on May 22, 2024

from vizdoom.

mwydmuch avatar mwydmuch commented on May 22, 2024

After a bit of testing I can confirm that there are problem with rvalue and lvalue conversion between Python str type and std::string when compiling with gcc version lower then 5.
Unfortunately I have not found the reasonable cause of this problem (I also dug through Boost.Python docs).

So I've added workaround -> conversion from Python str to cstring and then from cstring to std::string.
It isn't elegant but at the moment probably the simplest solution.

(Tested on gcc 4.7, 4.8, 4.9, 5, 6)

from vizdoom.

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.