Opened 5 years ago
Last modified 5 years ago
#5693 closed discussion
Cannot run OM any more — at Version 1
Reported by: | massimo ceraolo | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | *unknown* | Version: | v1.14.0-dev.beta2 |
Keywords: | Cc: |
Description (last modified by )
On one of my PC's I had troubles with OM. Therefore I did as follows:
- uninstalled OM
- deleted from HD some residual folders
- deleted environment variables OPENMODELICAHOME and OPENMODELICALIBRARY
- downloaded OM 1.4 beta2 and installed it
Finally, I tried to run the following minimal model:
model VeryFirst Real x; parameter Real k=1; initial equation x=1; equation der(x)+k*x=0; end VeryFirst;
I get the followwing message:
C:/Programmi/OpenModelica//share/omc/scripts/Compile.bat VeryFirst msvc10 mingw64 parallel 6 0 PATH = "C:\PROGRA~4\OpenModelica\tools\msys\mingw64\bin;C:\PROGRA~4\OpenModelica\tools\msys\mingw64\bin\..\..\usr\bin;" mingw32-make: Entering directory 'C:/Users/Massimo/DOCUME~1/TEST/VERYFI~1' cl /FeVeryFirst.exe VeryFirst.c VeryFirst_functions.c VeryFirst_records.c VeryFirst_01exo.c VeryFirst_02nls.c VeryFirst_03lsy.c VeryFirst_04set.c VeryFirst_05evt.c VeryFirst_06inz.c VeryFirst_07dly.c VeryFirst_08bnd.c VeryFirst_09alg.c VeryFirst_10asr.c VeryFirst_11mix.c VeryFirst_12jac.c VeryFirst_13opt.c VeryFirst_14lnz.c VeryFirst_15syn.c VeryFirst_16dae.c VeryFirst_17inl.c /MP /Od /ZI /EHa /fp:except /I"C:/Programmi/OpenModelica//include/omc/c" /I"C:/Programmi/OpenModelica//include/omc/msvc/" /I. /DNOMINMAX /TP /DNO_INTERACTIVE_DEPENDENCY /DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME /MD /link /NODEFAULTLIB:libcmt /STACK:0x2000000 /pdb:"VeryFirst.pdb" /LIBPATH:"C:/Programmi/OpenModelica//lib//omc/msvc/" /LIBPATH:"C:/Programmi/OpenModelica//lib//omc/msvc/release/" /LIBPATH:"C:/Programmi/OpenModelica//lib//omc/cpp/msvc/" /LIBPATH:"D:/OneDrive - University of Pisa/2_MODELICA/VEI/SEB/1 Introduzione" f2c.lib initialization.lib libexpat.lib math-support.lib meta.lib results.lib simulation.lib solver.lib sundials_kinsol.lib sundials_nvecserial.lib util.lib lapack_win32_MT.lib lis.lib gc-lib.lib user32.lib pthreadVC2.lib wsock32.lib cminpack.lib umfpack.lib amd.lib /usr/bin/sh: cl: command not found VeryFirst.makefile:46: recipe for target 'VeryFirst.exe' failed mingw32-make: *** [VeryFirst.exe] Error 127 mingw32-make: Leaving directory 'C:/Users/Massimo/DOCUME~1/TEST/VERYFI~1' Compilation process failed. Exited with code 2.
The most important row of that message seems to be
/usr/bin/sh: cl: command not found
.
It also seems weird to me that the path in the first row of the message contains two slashes: C:/Programmi/OpenModelica//share/omc/scripts/Compile.bat VeryFirst msvc10
Naturally, I don't have this kind of issues on the other PCs on which I installed OM.
Is there some more that I can try to solve this (except for formatting the entire PC)?
Thanks