← Back to team overview

yade-users team mailing list archive

Re: [yade-users] how to compile yade-0.12 with liblog4cxx10?

 

Hi Luc,

As Anton said, if you don't use it, remove log4cxx in the scon.profile file and it will work.

  Luc

Anton Gladky a écrit :
Oops, sorry,

I did not pay attention, that it is 0.12. I have no idea how to fix it.
Try to disable log4cxx, if you dont really need it.
______________________________

Anton Gladkyy


2009/10/23 luc scholtes <lscholtes63@xxxxxxxxx <mailto:lscholtes63@xxxxxxxxx>>

    Exactly the same, Ubuntu 9.04. Maybe it is due to something else?...
    However, I can compile yade-0.20, but I would like to make some
    tests with my old version.

      Luc

    2009/10/23 Anton Gladky <gladky.anton@xxxxxxxxx
    <mailto:gladky.anton@xxxxxxxxx>>

        What operation system do you use?

        I have Ubuntu 9.04 with liblog4cxx10 and no problems with compiling.
        ______________________________

        Anton Gladkyy


        2009/10/23 luc scholtes <lscholtes63@xxxxxxxxx
        <mailto:lscholtes63@xxxxxxxxx>>

            Hi there,

            Don't really know if this message has to be sent to yade-dev
            or yade-users, but, anyway, there it is.

            Does someone know if there is a way to compile  yade-0.12
            with liblog4cxx10 instead of liblog4cxx9? I tried to and get
            this message:

            core/yade.cpp:65: warning: ignoring return value of 'int
            system(const char*)', declared with attribute warn_unused_result
            core/yade.cpp: In function 'int main(int, char**)':
            core/yade.cpp:186: error: 'WARN' is not a member of
            'log4cxx::Level'
            core/yade.cpp:199: error: 'INFO' is not a member of
            'log4cxx::Level'
            core/yade.cpp:200: error: 'DEBUG' is not a member of
            'log4cxx::Level'
            core/yade.cpp:203: error: 'DEBUG' is not a member of
            'log4cxx::Level'
            C core/DefaultContainerImplementations/InteractionVecSet.cpp

            Thanks in advance

              Luc

            _______________________________________________
            Mailing list: https://launchpad.net/~yade-users
            <https://launchpad.net/%7Eyade-users>
            Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
            <mailto:yade-users@xxxxxxxxxxxxxxxxxxx>
            Unsubscribe : https://launchpad.net/~yade-users
            <https://launchpad.net/%7Eyade-users>
            More help   : https://help.launchpad.net/ListHelp



        _______________________________________________
        Mailing list: https://launchpad.net/~yade-users
        <https://launchpad.net/%7Eyade-users>
        Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
        <mailto:yade-users@xxxxxxxxxxxxxxxxxxx>
        Unsubscribe : https://launchpad.net/~yade-users
        <https://launchpad.net/%7Eyade-users>
        More help   : https://help.launchpad.net/ListHelp



    _______________________________________________
    Mailing list: https://launchpad.net/~yade-users
    <https://launchpad.net/%7Eyade-users>
    Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
    <mailto:yade-users@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~yade-users
    <https://launchpad.net/%7Eyade-users>
    More help   : https://help.launchpad.net/ListHelp



------------------------------------------------------------------------

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

--
Luc Sibille

Université de Nantes - Laboratoire GeM UMR CNRS

IUT de Saint Nazaire
58, rue Michel-Ange - BP 420
44606 Saint-Nazaire Cedex, France

Tel: +33 (0)2 40 17 81 78



References