← Back to team overview

yade-dev team mailing list archive

gcc 4.3 issue: cast from Engine* to FilterEngine* (???)

 

Sega, I had to #if0 #endif (again, sorry) your code in
GLSimulationPlayerViewer

    FOREACH(shared_ptr<Engine> e, Omega::instance().getRootBody()->engines){
        if(dynamic_cast<FilterEngine*>(e.get())) {
            filters.push_back(e);
            simPlayer->pushMessage("Find filter: "+e->getClassName());
        }
    }

since I am not able to compile it. I desperately tried everything and
see not reason why it should be broken, but the compiler just says:
invalid conversion from Engine* to FilterEngine* requested. Do you have
any idea on that? Or can you try with g++ 4.3?

For another thing, I overwrote your changes in the player .ui file,
since I couldn't see what the diff was all about (xml) but after visual
checks I thought there were no big changes, contrary to what I did and
didn't want to lose.

Regards, Vaclav
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev