Have you tried a clean build to ensure that blcel.cpp gets regenerated by Swig?

-- ES

On Tue, Sep 21, 2010 at 8:46 AM, Sebastian Hoffmann
<null.s.hoffm...@googlemail.com> wrote:
> And yes, swig is installed. It all worked before todays update.
>
> On Tue, Sep 21, 2010 at 2:45 PM, Sebastian Hoffmann
> <null.s.hoffm...@googlemail.com> wrote:
>> I'm using revision 4125.
>>
>> bari...@yuggoth:~/src/CEL_latest$ jam blcelswig
>> ...found 215 target(s)...
>> bari...@yuggoth:~/src/CEL_latest$ jam blpythonswig
>> ...found 3 target(s)...
>> bari...@yuggoth:~/src/CEL_latest$ jam
>> ...failed C++ ./out/linux/debug/plugins/behaviourlayer/python/blcel.o ...
>> ...skipped _blcelc.so for lack of <plugins!behaviourlayer!python!>blcel.o...
>>
>> On Tue, Sep 21, 2010 at 1:32 PM, Eric Sunshine <sunsh...@sunshineco.com> 
>> wrote:
>>> Also, do you have Swig installed? The copy of blcel.cpp in the SVN
>>> repository may not yet have been updated to reflect recent changes, so
>>> if you do not have Swig, you may be accessing this outdated file.
>>> blcel.cpp is regenerated once per day.
>>>
>>> -- ES
>>>
>>> On 9/21/2010 7:18 AM, Christian Van Brussel wrote:
>>>> This may be due to a checkout you made between r4113 and r4115. r4113
>>>> has introduced an inconsistency in blcel.cpp and it has been corrected
>>>> automatically in r4115.
>>>>
>>>> Could you try with a fresh update from the svn?
>>>>
>>>>
>>>> On Tue, 2010-09-21 at 12:35 +0200, Sebastian Hoffmann wrote:
>>>>> Sorry for that, my finger slipped.
>>>>>
>>>>> As I was saying, I made a full update-rebuild. Now blcel.cpp won't
>>>>> build. Most of the errors look like these:
>>>>>
>>>>> Error:
>>>>> ./out/linux/debug/plugins/behaviourlayer/python/blcel.cpp:104184:
>>>>> error: ‘celQuestParams’ was not declared in this scope
>>>>> ./out/linux/debug/plugins/behaviourlayer/python/blcel.cpp:104184:
>>>>> error: ‘arg3’ was not declared in this scope
>>>>>
>>>>> Encountered in:
>>>>> SWIGINTERN PyObject *_wrap_iQuestRewardFactory_CreateReward(PyObject
>>>>> *SWIGUNUSEDPARM(self), PyObject *args) {
>>>>>    PyObject *resultobj = 0;
>>>>>    iQuestRewardFactory *arg1 = (iQuestRewardFactory *) 0 ;
>>>>>    iQuest *arg2 = (iQuest *) 0 ;
>>>>>    celQuestParams *arg3 = 0 ;
>>>>>    void *argp1 = 0 ;
>>>>>    int res1 = 0 ;
>>>>>    void *argp2 = 0 ;
>>>>>    int res2 = 0 ;
>>>>>    void *argp3 = 0 ;
>>>>>    int res3 = 0 ;
>>>>>    PyObject * obj0 = 0 ;
>>>>>    PyObject * obj1 = 0 ;
>>>>>    PyObject * obj2 = 0 ;
>>>>>    SwigValueWrapper<  csPtr<  iQuestReward>  >  result;
>>>>>
>>>>> Error:
>>>>> ./out/linux/debug/plugins/behaviourlayer/python/blcel.cpp:104214:
>>>>> error: expected type-specifier before ‘celQuestParams’
>>>>> ./out/linux/debug/plugins/behaviourlayer/python/blcel.cpp:104214:
>>>>> error: expected ‘>’ before ‘celQuestParams’
>>>>> ./out/linux/debug/plugins/behaviourlayer/python/blcel.cpp:104214:
>>>>> error: expected ‘(’ before ‘celQuestParams’
>>>>> ./out/linux/debug/plugins/behaviourlayer/python/blcel.cpp:104214:
>>>>> error: expected primary-expression before ‘>’ token
>>>>> ./out/linux/debug/plugins/behaviourlayer/python/blcel.cpp:104214:
>>>>> error: expected ‘)’ before ‘;’ token
>>>>>
>>>>> Encountered in:
>>>>>    arg3 = reinterpret_cast<  celQuestParams *>(argp3);
>>>>>
>>>>> Error:
>>>>> ./out/linux/debug/plugins/behaviourlayer/python/blcel.cpp:104215:
>>>>> error: expected ‘)’ before ‘const’
>>>>> ./out/linux/debug/plugins/behaviourlayer/python/blcel.cpp:104215:
>>>>> error: expected ‘)’ before ‘;’ token
>>>>>
>>>>> Encountered in:
>>>>>    result = (arg1)->CreateReward(arg2,(celQuestParams const&)*arg3);
>>>>>
>>>>> I get the gist that either arguments vanished during the update or
>>>>> that somewhere there's a C++ syntax mistake, like a missing semicolon.
>>>>> But I have no idea how to fix it.
>>>>>
>>>>> Liebe Grüße,
>>>>> Sebastian
>>>>>
>>>>> On Tue, Sep 21, 2010 at 12:28 PM, Sebastian Hoffmann
>>>>> <null.s.hoffm...@googlemail.com>  wrote:
>>>>>> Hi.
>>>>>>
>>>>>> I updated CS and CEL from SVN about an hour ago and jam'd. Now
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing.
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> Cel-main mailing list
>>>>> Cel-main@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/cel-main
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing.
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Cel-main mailing list
>>>> Cel-main@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/cel-main
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Cel-main mailing list
>>> Cel-main@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/cel-main
>>>
>>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Cel-main mailing list
> Cel-main@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cel-main
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Cel-main mailing list
Cel-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cel-main

Reply via email to