Topic
  • 3 replies
  • Latest Post - ‏2014-01-17T17:56:13Z by Yevo
MANOHARREDDYM
MANOHARREDDYM
1 Post

Pinned topic Configuring Microsoft Visual C++ 2010 Express edition as a compiler for Rational Rhapsody 8.0.3

‏2013-12-10T09:17:21Z |

I am trying to configure the Microsoft Visual C++ 2010 as a compiler for Rational Rhapsody 8.0.3. To achieve this I am proceeding as per the steps mentioned @ http://www-01.ibm.com/support/docview.wss?uid=swg21511885. After completing all the necessary steps when I try to build the framework using Code > Build Framework, it is not successfully built. The errors in the output window are as mentioned below.

LINK : fatal error LNK1181: cannot open input file 'wsock32.lib'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe"' : return code '0x49d'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\nmake.EXE"' : return code '0x2'
Stop.

Appreciate if some one help me to resolve this.

 

Thanks

Manohar

Updated on 2013-12-10T09:26:32Z at 2013-12-10T09:26:32Z by MANOHARREDDYM
  • Yevo
    Yevo
    283 Posts

    Re: Configuring Microsoft Visual C++ 2010 Express edition as a compiler for Rational Rhapsody 8.0.3

    ‏2013-12-10T23:26:11Z  

    Hi Manohar,

    1) Why did you use this technote, which is designated for Rhapsody 7.6? Rhapsody 8.0.3 officially supports VS 2010 integration. If you installed VS 2010 Express later then Rhapsody or Rhapsody Installer didn't find it and didn't set the path correctly, then all you need is to modify Share\etc\msvcmake.bat by setting path to VS 2010 Express like the following (line 8): 

    if "%4"=="VC10" set VS_PATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0\
     

    2) The error, which you mention, cannot appear during framework build, because it is linker error, which can occur only when executable is built.

    This library (wsock32.lib) is used for socket connection in animated Rhapsody built application and located in appropriate Microsoft SDK. I'm not sure but it seems to me VS 2010 SDK is installed in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A (or something like that). I don't know, where this library is located in Express edition.

    If linker doesn't find this library, it means your paths are not set correctly. Probably, it is a result of some error while usage of technote, which you mentioned. I strongly recommend you performing of p.1 of my letter.

     

    Regards,

    Vladimir

  • JimBella23
    JimBella23
    6 Posts

    Re: Configuring Microsoft Visual C++ 2010 Express edition as a compiler for Rational Rhapsody 8.0.3

    ‏2014-01-15T02:50:46Z  

    Also, what should be considered is that Rhapsody doesn't officially support the Visual Studio Express edition. Now the above information may prove to work in many cases, but there are instances when the Express edition of VS falls short of what is needed to successfully compile your code.

    Jim

  • Yevo
    Yevo
    283 Posts

    Re: Configuring Microsoft Visual C++ 2010 Express edition as a compiler for Rational Rhapsody 8.0.3

    ‏2014-01-17T17:56:13Z  

    Also, what should be considered is that Rhapsody doesn't officially support the Visual Studio Express edition. Now the above information may prove to work in many cases, but there are instances when the Express edition of VS falls short of what is needed to successfully compile your code.

    Jim

    Yes, I should add that Express addition doesn't allow usage of addins, so it is impossible to use VS  Rhapsody Platform Integration feature.