Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

OMEdit not start - Unable to find OMEdit server

OMEdit not start - Unable to find OMEdit server

I have built OM from the trunk on an OpenSuse-12.2 PC. OMShell-terminal works ok. Binaries such as OMShell-terminal & omc & OMEdit & OMPlot are in /opt/modelica/build/bin/

I have the following environment var:

Code:

mike@NEPTUNE:/opt/modelica/build/bin> echo $OPENMODELICAHOME

/opt/modelica/build/

I built OMEdit with:

Code:

sudo ./configure '--disable-rml-trace' 'CFLAGS=-O2' '--with-omniORB'

make -j4 omedit

I try to start OMEdit with :

Code:

mike@NEPTUNE:/opt/modelica/build/bin> ./OMEdit

and it shows the OMEdit flash panel for a while then fails with:

Code:

Unable to find OMEdit server, Object reference file /tmp/openmodelica.mike.objid.OMEdit10a3939554000135577009000000014790023184810350 not created.

OMEdit will close.

Any advice?
Thanks.

Re: OMEdit not start - Unable to find OMEdit server

I have tested the omc with with interactiveCorba option with the result shown:

Code:

mike@NEPTUNE:/opt/modelica/build/bin> omc +d=interactiveCorba

CORBA disabled. Configure with --with-omniORB (or --with-MICO) and recompile to enable.CORBA disabled. Configure with --with-omniORB (or --with-MICO) and recompile to enable.mike@

Thus I guess this problem must be caused by an error in the build of omc so I will try to rebuild as instructed.

Re: OMEdit not start - Unable to find OMEdit server

Did you try make qtclients (it should output an error-message if it failed to find omniORB). Else, it might be as easy as make clean (or rm Compiler/runtime/*.o) make -j2 omc (because omc was not re-compiled after omniORB was added to the mix).

There are 0 guests and 0 other users also viewing this topic
You are here: