|
It is currently Tue Feb 07, 2012 9:23 pm
|
View unanswered posts | View active topics
| Welcome |
|
Welcome to RHAPSODY4YOU
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today. |
 |
|
 |
|
| Author |
Message |
|
dotwin
|
Post subject: U1083: target macro '' expands to nothing Posted: Fri Jun 18, 2010 1:13 am |
Joined: Fri Jun 18, 2010 12:49 am Posts: 4
|
|
dear community,
as i am pretty new to rhapsody, please bear with my question if it is too easy.
i am trying to setup rhapsody 7.5 in combination with my vs6.0 but it seems to not work completely. i tried vs2008 as well with absolutely the same results.
i am trying to run some of the sample projects which rhapsody comes with. as for the java samples they all work perfectly, also with their gui's. the problem are the c++ ones: when i compile the non-gui versions everything works fine (which also uses ms' nmake.exe). but as soon as i try to compile the Gui_VS6 versions there is always the same problem (e.g. in the elevator or the homealarm sample):
""C:\Program Files\IBM\Rational\Rhapsody\7.5\Share"\etc\msmake.bat Gui_VS6.mak build " Setting environment for using Microsoft Visual C++ tools. Gui_VS6.mak(91) : fatal error U1083: target macro '' expands to nothing
the line which fails is "$(OBJS) : $(INST_LIBS) $(OXF_LIBS)" in the Gui_VS6.mak.
well, i built the framework, this runs perfectly. the msmake.bat (starting the nmake.exe) is also not the problem, since the non-gui versions compile with it. i read most of the threads on initialization problems with rhapsody and non of the solutions seem to apply for that.
any ideas, please?
thanks a lot in advance.
|
|
|
|
 |
|
Farquad
|
Post subject: Re: U1083: target macro '' expands to nothing Posted: Fri Jun 18, 2010 7:57 am |
Joined: Thu Sep 13, 2007 7:34 pm Posts: 397 Location: London
|
|
Same problem for me. Looks like they've messed up. Best report it to support.
|
|
|
|
 |
|
dotwin
|
Post subject: Re: U1083: target macro '' expands to nothing Posted: Fri Jun 18, 2010 8:32 am |
Joined: Fri Jun 18, 2010 12:49 am Posts: 4
|
|
i would love to do so, but since i am only using a 30-day eval version, i don't have an icn number which is necessary to generate a support request ... :(
|
|
|
|
 |
|
Farquad
|
Post subject: Re: U1083: target macro '' expands to nothing Posted: Fri Jun 18, 2010 9:04 am |
Joined: Thu Sep 13, 2007 7:34 pm Posts: 397 Location: London
|
|
|
|
 |
|
dotwin
|
Post subject: Re: U1083: target macro '' expands to nothing Posted: Sun Jun 20, 2010 11:26 pm |
Joined: Fri Jun 18, 2010 12:49 am Posts: 4
|
|
thx a lot. if u have any reply please let me know.
|
|
|
|
 |
|
Fred
|
Post subject: Re: U1083: target macro '' expands to nothing Posted: Mon Jun 21, 2010 11:29 am |
Joined: Wed Oct 31, 2007 10:00 pm Posts: 45
|
|
The error message means there are no classes selected in the component scope. I have never worked with the HomeAlarm sample, so I do not know how to fix it.
|
|
|
|
 |
|
oakdemir
|
Post subject: Re: U1083: target macro '' expands to nothing Posted: Mon Jun 21, 2010 12:31 pm |
Joined: Tue Jun 24, 2008 6:18 pm Posts: 141 Location: Ankara
|
|
This error always occurs when your active component's scope does not include any entity. Right click the active component, go to the "scope" tab in the features window, and make sure that your active component includes at least one entity.
I hope, it helps.
Özgür Eser Akdemir
| Attachments: |

EmpytyScopeSelection.PNG [ 20.99 KiB | Viewed 930 times ]
|
|
|
|
|
 |
|
dotwin
|
Post subject: Re: U1083: target macro '' expands to nothing Posted: Tue Jun 22, 2010 2:47 am |
Joined: Fri Jun 18, 2010 12:49 am Posts: 4
|
|
yes, this helped a lot ... i think i figured it out:
the <<Executable>> are just boxes for running rhapsody's internal debug functions. the executable itself is build outside of rapsody with the vs workspaces prepared in the "HomeAlarm_gui_VS6" / "HomeAlarm_gui_VS2008" folder.
e.g.: to compile the exe file for the HomeAlarm application one has to do the following: - compile the debug configuration of the "<<Library>> Guilib_VS6" / "<<Library>> Guilib_VS2008" - open command prompt - set the variable OMROOT properly in the command prompt, for example: set OMROOT=C:\Program Files\IBM\Rational\Rhapsody\7.5.2\Share - invoke MSDEV.EXE / devenv.exe (Visual Studio) from the command prompt, for example: "C:\Program Files\Microsoft Visual Studio\COMMON\MSDev98\Bin\MSDEV.EXE" or "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" - now open the .dsw file (for MSVS 6.0) or .sln file (for MSVS 9.0) of the sample from the Visual Studio and rebuild the project.
now, one should be able to compile the project in vs which generates the .exe file (in the "\Gui_VS6\Debug" / "\Gui_VS2008\Debug" folder). back in the rhapsody this created exe allows us to run the "<<Executable>> Gui_VS6" / "<<Executable>> Gui_VS2008" component and debug it.
a little strage, but it works.
thx.
|
|
|
|
 |
|
Fred
|
Post subject: Re: U1083: target macro '' expands to nothing Posted: Tue Jun 22, 2010 2:27 pm |
Joined: Wed Oct 31, 2007 10:00 pm Posts: 45
|
|
the same explanation I found in CppSamples\ReadMe.txt
|
|
|
|
 |
|
|
 |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|