RiC with cygwin
RiC with cygwin
15.09.2009 08:24
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?
Re: RiC with cygwin
17.09.2009 11:23
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.
Re: RiC with cygwin
17.09.2009 14:01
After reinstallation of Cygwin the problem is solved.
Re: RiC with cygwin
17.09.2009 17:35
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
Re: RiC with cygwin
23.09.2009 12:48
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
Re: RiC with cygwin
23.09.2009 13:46
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
Re: RiC with cygwin
23.09.2009 13:48
I have to correct myself.
I created a new Configuration instead a new component.
Re: RiC with cygwin
23.09.2009 15:06
I build the dishwasher sample and this project will generated successfully with cygwin and Animation.
Atri

