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

Compilation process failed. Exited with code 0x00000002.

Compilation process failed. Exited with code 0x00000002.

/usr/bin/sh: gcc -I. -o vvv02.exe vvv02.o vvv02_functions.o vvv02_records.o vvv02_01exo.o vvv02_02nls.o vvv02_03lsy.o vvv02_04set.o vvv02_05evt.o vvv02_06inz.o vvv02_07dly.o vvv02_08bnd.o vvv02_09alg.o vvv02_10asr.o vvv02_11mix.o vvv02_12jac.o vvv02_13opt.o vvv02_14lnz.o vvv02_15syn.o vvv02_16dae.o vvv02_17inl.o vvv02_18spd.o -I"C:/Program Files/OpenModelica1.18.1-64bit/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=vvv02 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"C:/Users/VED/Desktop/РЎРљРўРњ/OM_sample"    -Os -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I"C:/Program Files/OpenModelica1.18.1-64bit/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=vvv02 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"C:/Program Files/OpenModelica1.18.1-64bit/lib//omc" -L"C:/Program Files/OpenModelica1.18.1-64bit/lib" -Wl,--stack,16777216,-rpath,"C:/Program Files/OpenModelica1.18.1-64bit/lib//omc" -Wl,-rpath,"C:/Program Files/OpenModelica1.18.1-64bit/lib"  -fopenmp -Wl,-Bstatic -lregex -ltre -lintl -liconv -lexpat -lomcgc -lpthread -loleaut32 -limagehlp -lhdf5 -lz -lszip -Wl,-Bdynamic -Wl,-Bdynamic -lSimulationRuntimeC -Wl,-Bdynamic  -Wl,-Bdynamic -lomcgc -lregex -ltre -lintl -liconv -lexpat -static-libgcc -luuid -loleaut32 -lole32 -limagehlp -lws2_32 -llis -lsundials_nvecserial -lsundials_sunmatrixdense -lsundials_sunmatrixsparse -lsundials_sunlinsoldense -lsundials_sunlinsolklu -lsundials_sunlinsollapackdense -lsundials_sunlinsolspbcgs -lsundials_sunlinsolspfgmr -lsundials_sunlinsolspgmr -lsundials_sunlinsolsptfqmr -lsundials_sunnonlinsolnewton -lsundials_cvode -lsundials_cvodes -lsundials_idas -lsundials_kinsol -lumfpack -lklu -lcolamd -lbtf -lamd -lsuitesparseconfig -lipopt -lcoinmumps -lpthread -lm  -lgfortran -lquadmath -lmingw32 -lgcc_eh -lmoldname -lmingwex  -luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -lcminpack -Wl,-Bdynamic -lwsock32  -Wl,-Bdynamic  -lstdc++ -Wl,-Bdynamic  : No such file or directory
mingw32-make: *** [vvv02.makefile:37: omc_main_target] Error 127
mingw32-make: Leaving directory 'C:/Users/VED/AppData/Local/Temp/OPENMO~1/OMEdit/vvv02'

how to fix this error?

Re: Compilation process failed. Exited with code 0x00000002.

The problem is due to "C:/Users/VED/Desktop/РЎРљРўРњ/OM_sample". You have special characters in the package location. Either change the package location or download the latest build which handles the special characters better.

Adeel.

Re: Compilation process failed. Exited with code 0x00000002.

understood, thank you very much. stupid mistake on my part

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