About suit and LightApp
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.
Hi all,
Did anybody have the use of LightApp? Today I just tried building SALOME with LightApp only, and want to have a try. But I saw the suitexe/suit cannot startApplication of LightApp in the debug mode.
Here is the logic:
SUITApp.cxx file :
SUITApp_Application app( argc, argv );
QString cfgAppName = getAppName( argList.isEmpty() ? QString() : argList.first() );
// hard-coding for LightApp no other way to this for the moment
if ( cfgAppName == "LightApp" ) {
app.setOrganizationName( "salome" );
app.setApplicationName( "salome" );
app.setApplicationVersion( salomeVersion() );
}
So I run suitexe with argument LightApp, try to start this application, loaded from LightApp.dll, it always failed.
But I checked the dependency between LightApp and suit, indeed LightApp depends on suit. So I think this hierarchy determines we cannot use such calling process, right?
Thanks and regards.
Hello Leon,
What do you want to do by running suitexe?
Everything's fine there in SUITApp.cxx. You can see that by running (on Linux) runLightSalome.sh script.
Regards,
Vadim.
Hi Vadim,
OK. I am checking that shell script. Thinking use in win10.
Previously Vadim SANDLER wrote:
Hello Leon,
What do you want to do by running suitexe?
Everything's fine there in SUITApp.cxx. You can see that by running (on Linux) runLightSalome.sh script.
Regards,
Vadim.
Yes. I need to understand the code first.
Previously Vadim SANDLER wrote:
Well, there's no bat script which would do the same for Windows. But you can get an idea how to properly set-up launcher. Indeed, it is necessary to attune some environment variables before running suitexe.
Hi Vadim,
I have started LightApp by your reply. Thanks.
Currently it can do nothing in lightapp desktop. Is it possible to run LightApp with Shaper module loaded only? without CORBA.
Need I config anything for loading shaper if it can work with lightapp?
Regards,
Previously Vadim SANDLER wrote:
Hello Leon,
What do you want to do by running suitexe?
Everything's fine there in SUITApp.cxx. You can see that by running (on Linux) runLightSalome.sh script.
Regards,
Vadim.
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.