RiC with cygwin

4959 Betrachtungen
Seite: 1 , 2
atri
avatar
Community Member
10 Beiträge

RiC with cygwin

Hi,
I get a problem if I try to link my project with the cygwin tools. I get an error message called:
/bin/ld: cannot find -Iws2_32
This seems to be a problem with the SOCKLIB variable in the make file. Do I need this lib in the link process and if for what is it good?
Under cygwin I found a libws2_32.a file, could I use this?

atri
avatar
Community Member
10 Beiträge

Re: RiC with cygwin

Fixed the problem by correcting the entry of the property C_CG::Cygwin::SockLib to -Iws2_32. The problem was that in the property a '-l' is used instead of a '-I'.

With fixing this problem I get a new one. Now the linker has a problem with -luser32 but there is not direct property for that. I think its the same problem as before but I can't find a point of contact for this.

atri
avatar
Community Member
10 Beiträge

Re: RiC with cygwin

After reinstallation of Cygwin the problem is solved.

Walter
avatar
Moderator
29 Beiträge

Re: RiC with cygwin

Hi Atri

Tried to answer you but the forum wouldn't let me. I guess the Forum Software has the IQ of Homer S.

I see that you solved it, my guess was that you needed to recompile the cygwin libs. You might try that anyway since it can solve some problems that are not shown in compilation.
go to the <rhapsody>/Share/LangC dir, you will find a cygwinbuild.mak file there. cal make with this file and you have new libs.

Kind regards

Walter

atri
avatar
Community Member
10 Beiträge

Re: RiC with cygwin

Hi Walter,
I get an error at the point if make try to build tomlibsCpp because I don't have a path oxf (and omcon) in LangCpp. Is this necessary if I only make RiC, the other targets have been created successfully

Regards
Atri

atri
avatar
Community Member
10 Beiträge

Re: RiC with cygwin

I copy the needed folders from an other user to the LangCpp folder and build the cygwin related sources in LangC and LangCpp successfully.
After that I created a new component with Instrumentation mode Animation I get an error message form Rhapsody that says:

Fatal error occured while invoking Code Generation. Please "Save As" your model and close Rhapsody.

If I generate with Instrumentation mode 'None' Rhapsody generated the code and build successfully.

Suspisious is that if I change my Instrumentation mode to 'Animation' the variable 'INSTRUMENTATION' in the make file doesn't change to Animation
Regards
Atri

atri
avatar
Community Member
10 Beiträge

Re: RiC with cygwin

I have to correct myself.
I created a new Configuration instead a new component.

atri
avatar
Community Member
10 Beiträge

Re: RiC with cygwin

I build the dishwasher sample and this project will generated successfully with cygwin and Animation.

Atri

Seite: 1 , 2

Currently Online:

There is nobody online.

Welcome to our latest member: lammils