gmake: *** [IEEE_9bus​_working_l​oadtrig_sf​un.mexa64] Error 255

2 views (last 30 days)
I am trying to run a simulation developed in Matlab 2014b (32 bit windows) on Matlab 2014b( 64 bit linux machine). The simulation is working in windows machine, but the same is giving the following error in linux
/home/nithin/matlab2014/bin/mex -c -O -DMATLAB_MEX_FILE -I"/home/nithin/matlab2014/extern/include" -I"/home/nithin/matlab2014/simulink/include" -I"/home/nithin/matlab2014/stateflow/c/mex/include" -I"/home/nithin/matlab2014/rtw/c/src" -I"/home/nithin/Desktop/nithin_wind_thermal/9 bus load knap/slprj/_sfprj/IEEE_9bus_working_loadtrig/_self/sfun/src" IEEE_9bus_working_loadtrig_sfun.c Building with 'gcc'. MEX completed successfully. /home/nithin/matlab2014/bin/mex -c -O -DMATLAB_MEX_FILE -I"/home/nithin/matlab2014/extern/include" -I"/home/nithin/matlab2014/simulink/include" -I"/home/nithin/matlab2014/stateflow/c/mex/include" -I"/home/nithin/matlab2014/rtw/c/src" -I"/home/nithin/Desktop/nithin_wind_thermal/9 bus load knap/slprj/_sfprj/IEEE_9bus_working_loadtrig/_self/sfun/src" IEEE_9bus_working_loadtrig_sfun_registry.c Building with 'gcc'. MEX completed successfully. /home/nithin/matlab2014/bin/mex -c -O -DMATLAB_MEX_FILE -I"/home/nithin/matlab2014/extern/include" -I"/home/nithin/matlab2014/simulink/include" -I"/home/nithin/matlab2014/stateflow/c/mex/include" -I"/home/nithin/matlab2014/rtw/c/src" -I"/home/nithin/Desktop/nithin_wind_thermal/9 bus load knap/slprj/_sfprj/IEEE_9bus_working_loadtrig/_self/sfun/src" c1_IEEE_9bus_working_loadtrig.c Building with 'gcc'. MEX completed successfully. /home/nithin/matlab2014/bin/mex -c -O -DMATLAB_MEX_FILE -I"/home/nithin/matlab2014/extern/include" -I"/home/nithin/matlab2014/simulink/include" -I"/home/nithin/matlab2014/stateflow/c/mex/include" -I"/home/nithin/matlab2014/rtw/c/src" -I"/home/nithin/Desktop/nithin_wind_thermal/9 bus load knap/slprj/_sfprj/IEEE_9bus_working_loadtrig/_self/sfun/src" c2_IEEE_9bus_working_loadtrig.c Building with 'gcc'. MEX completed successfully.
/home/nithin/matlab2014/bin/mex -silent LDFLAGS="\$LDFLAGS " -output IEEE_9bus_working_loadtrig_sfun.mexa64 IEEE_9bus_working_loadtrig_sfun.o IEEE_9bus_working_loadtrig_sfun_registry.o c1_IEEE_9bus_working_loadtrig.o c2_IEEE_9bus_working_loadtrig.o -L/home/nithin/matlab2014/bin/glnxa64 -lmwsf_runtime -L/home/nithin/matlab2014/bin/glnxa64 -lfixedpoint -L/home/nithin/matlab2014/bin/glnxa64 -lut -L/home/nithin/matlab2014/bin/glnxa64 -lemlrt -L/home/nithin/matlab2014/bin/glnxa64 -lmwmathutil -L/home/nithin/matlab2014/bin/glnxa64 -lmwblas -L/home/nithin/matlab2014/bin/glnxa64 -lmwsl_log_load_blocks -L/home/nithin/matlab2014/bin/glnxa64 -lmwsimulink -L/home/nithin/matlab2014/bin/glnxa64 -lmwipp /usr/bin/ld: cannot find -lstdc++ collect2: error: ld returned 1 exit status
gmake: * [IEEE_9bus_working_loadtrig_sfun.mexa64] Error 255 Component: Make | Category: Make errorOpen
Unable to create mex function 'IEEE_9bus_working_loadtrig_sfun.mexa64' required for simulation.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!