Hi,
I'm trying to compile typelib without antlr because I get some weird java related errors I would rather not dive into. I read on the ML that antlr is not really needed anymore and that it is replaced by gccxml. How can I disable antlr in the CMake logic?
-- Ruben
Typelib without antlr
On 03/23/2011 10:00 AM, Ruben Smits wrote:
> Hi,
>
> I'm trying to compile typelib without antlr because I get some weird java related errors I would rather not dive into. I read on the ML that antlr is not really needed anymore and that it is replaced by gccxml. How can I disable antlr in the CMake logic?
This is not supported out of the box at the moment, but would be a very
welcome contribution ;-)
I'm looking into doing it quickly. If the small change I have in mind
works for me, I'll push it on a branch for you to test
Typelib without antlr
On 03/23/2011 06:13 PM, Sylvain Joyeux wrote:
> On 03/23/2011 10:00 AM, Ruben Smits wrote:
>> Hi,
>>
>> I'm trying to compile typelib without antlr because I get some weird java related errors I would rather not dive into. I read on the ML that antlr is not really needed anymore and that it is replaced by gccxml. How can I disable antlr in the CMake logic?
> This is not supported out of the box at the moment, but would be a very
> welcome contribution ;-)
>
> I'm looking into doing it quickly. If the small change I have in mind
> works for me, I'll push it on a branch for you to test
It seems to be fine ...
It is available as the disable_internal_cimport branch of
git://gitorious.org/orocos-toolchain/rock-typelib.git
Please test ...
Typelib without antlr
On 23 Mar 2011, at 18:25, Sylvain Joyeux wrote:
> On 03/23/2011 06:13 PM, Sylvain Joyeux wrote:
>> On 03/23/2011 10:00 AM, Ruben Smits wrote:
>>> Hi,
>>>
>>> I'm trying to compile typelib without antlr because I get some weird java related errors I would rather not dive into. I read on the ML that antlr is not really needed anymore and that it is replaced by gccxml. How can I disable antlr in the CMake logic?
>> This is not supported out of the box at the moment, but would be a very
>> welcome contribution ;-)
>>
>> I'm looking into doing it quickly. If the small change I have in mind
>> works for me, I'll push it on a branch for you to test
> It seems to be fine ...
>
> It is available as the disable_internal_cimport branch of
>
> git://gitorious.org/orocos-toolchain/rock-typelib.git
>
> Please test ...
Ok, I got it compiling on my Mac OSX 10.6.7 with boost 1.46 after applying the attached patches (minor cmake issues), the tests however fail. I don't know how important those are.
-- Ruben
Typelib without antlr
On 03/23/2011 08:38 PM, Ruben Smits wrote:
>
> On 23 Mar 2011, at 18:25, Sylvain Joyeux wrote:
>
>> On 03/23/2011 06:13 PM, Sylvain Joyeux wrote:
>>> On 03/23/2011 10:00 AM, Ruben Smits wrote:
>>>> Hi,
>>>>
>>>> I'm trying to compile typelib without antlr because I get some weird java related errors I would rather not dive into. I read on the ML that antlr is not really needed anymore and that it is replaced by gccxml. How can I disable antlr in the CMake logic?
>>> This is not supported out of the box at the moment, but would be a very
>>> welcome contribution ;-)
>>>
>>> I'm looking into doing it quickly. If the small change I have in mind
>>> works for me, I'll push it on a branch for you to test
>> It seems to be fine ...
>>
>> It is available as the disable_internal_cimport branch of
>>
>> git://gitorious.org/orocos-toolchain/rock-typelib.git
>>
>> Please test ...
>
> Ok, I got it compiling on my Mac OSX 10.6.7 with boost 1.46 after applying the attached patches (minor cmake issues), the tests however fail. I don't know how important those are.
The tests fail because they are still using the internal C importer
(which the patch disables by default). I'll update them accordingly.
Sylvain