Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 231148

Forum Post: RE: CCS/LAUNCHXL-F28379D: Endat library in Simulink

$
0
0
search Test Build 3 2 Clear 12:08 AM Elapsed: 15 sec ### Starting build procedure for model: Test ### Generating code and artifacts to 'Model specific' folder structure Code Generation 1 1 Elapsed: 15 sec ### Generating code into build folder: D:\masters\Thesis\F28379D\Test_ert_rtw Making simulation target "Test_sfun", ... "C:\Program Files\MATLAB\R2018b\bin\win64\mex.exe" -largeArrayDims -c -DMATLAB_MEX_FILE -I" D:\masters\Thesis\F28379D " -I" D:\masters\Thesis\F28379D\source " -I" C:\Program Files\MATLAB\R2018b\extern\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include\sf_runtime " -I"C:\Program Files\MATLAB\R2018b\stateflow\c\mex\include" -I" C:\Program Files\MATLAB\R2018b\rtw\c\src " -I" D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src " CFLAGS="$CFLAGS " Test_sfun.c Building with 'MinGW64 Compiler (C)'. MEX completed successfully. "C:\Program Files\MATLAB\R2018b\bin\win64\mex.exe" -largeArrayDims -c -DMATLAB_MEX_FILE -I" D:\masters\Thesis\F28379D " -I" D:\masters\Thesis\F28379D\source " -I" C:\Program Files\MATLAB\R2018b\extern\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include\sf_runtime " -I"C:\Program Files\MATLAB\R2018b\stateflow\c\mex\include" -I" C:\Program Files\MATLAB\R2018b\rtw\c\src " -I" D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src " CFLAGS="$CFLAGS " Test_sfun_registry.c Building with 'MinGW64 Compiler (C)'. MEX completed successfully. "C:\Program Files\MATLAB\R2018b\bin\win64\mex.exe" -largeArrayDims -c -DMATLAB_MEX_FILE -I" D:\masters\Thesis\F28379D " -I" D:\masters\Thesis\F28379D\source " -I" C:\Program Files\MATLAB\R2018b\extern\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include\sf_runtime " -I"C:\Program Files\MATLAB\R2018b\stateflow\c\mex\include" -I" C:\Program Files\MATLAB\R2018b\rtw\c\src " -I" D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src " CFLAGS="$CFLAGS " c1_Test.c Building with 'MinGW64 Compiler (C)'. D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src\c1_Test.c: In function 'sf_gateway_c1_Test': D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src\c1_Test.c:173:3: warning: implicit declaration of function 'endat21_runCommandSet' [-Wimplicit-function-declaration] endat21_runCommandSet(); ^~~~~~~~~~~~~~~~~~~~~ MEX completed successfully. "C:\Program Files\MATLAB\R2018b\bin\win64\mex.exe" -largeArrayDims -c -DMATLAB_MEX_FILE -I" D:\masters\Thesis\F28379D " -I" D:\masters\Thesis\F28379D\source " -I" C:\Program Files\MATLAB\R2018b\extern\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include\sf_runtime " -I"C:\Program Files\MATLAB\R2018b\stateflow\c\mex\include" -I" C:\Program Files\MATLAB\R2018b\rtw\c\src " -I" D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src " CFLAGS="$CFLAGS " c2_Test.c Building with 'MinGW64 Compiler (C)'. D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src\c2_Test.c: In function 'sf_gateway_c2_Test': D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src\c2_Test.c:173:3: warning: implicit declaration of function 'EnDat_Init' [-Wimplicit-function-declaration] EnDat_Init(); ^~~~~~~~~~ MEX completed successfully. "C:\Program Files\MATLAB\R2018b\bin\win64\mex.exe" -largeArrayDims -c -DMATLAB_MEX_FILE -I" D:\masters\Thesis\F28379D " -I" D:\masters\Thesis\F28379D\source " -I" C:\Program Files\MATLAB\R2018b\extern\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include\sf_runtime " -I"C:\Program Files\MATLAB\R2018b\stateflow\c\mex\include" -I" C:\Program Files\MATLAB\R2018b\rtw\c\src " -I" D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src " CFLAGS="$CFLAGS " c3_Test.c Building with 'MinGW64 Compiler (C)'. D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src\c3_Test.c: In function 'sf_gateway_c3_Test': D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src\c3_Test.c:173:3: warning: implicit declaration of function 'endat22_runCommandSet' [-Wimplicit-function-declaration] endat22_runCommandSet(); ^~~~~~~~~~~~~~~~~~~~~ MEX completed successfully. "C:\Program Files\MATLAB\R2018b\bin\win64\mex.exe" -largeArrayDims -c -DMATLAB_MEX_FILE -I" D:\masters\Thesis\F28379D " -I" D:\masters\Thesis\F28379D\source " -I" C:\Program Files\MATLAB\R2018b\extern\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include " -I" C:\Program Files\MATLAB\R2018b\simulink\include\sf_runtime " -I"C:\Program Files\MATLAB\R2018b\stateflow\c\mex\include" -I" C:\Program Files\MATLAB\R2018b\rtw\c\src " -I" D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src " CFLAGS="$CFLAGS " c4_Test.c Building with 'MinGW64 Compiler (C)'. D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src\c4_Test.c: In function 'sf_gateway_c4_Test': D:\masters\Thesis\F28379D\slprj\_sfprj\Test\_self\sfun\src\c4_Test.c:173:3: warning: implicit declaration of function 'endat22_setupAddlData' [-Wimplicit-function-declaration] endat22_setupAddlData(); ^~~~~~~~~~~~~~~~~~~~~ MEX completed successfully. ### Linking ... "C:\Program Files\MATLAB\R2018b\bin\win64\mex.exe" -largeArrayDims -silent LDFLAGS="$LDFLAGS " -output Test_sfun.mexw64 @Test_sfun.mol c1_Test.obj:c1_Test.c:(.text+0x342): undefined reference to `endat21_runCommandSet' c2_Test.obj:c2_Test.c:(.text+0x342): undefined reference to `EnDat_Init' c3_Test.obj:c3_Test.c:(.text+0x342): undefined reference to `endat22_runCommandSet' c4_Test.obj:c4_Test.c:(.text+0x342): undefined reference to `endat22_setupAddlData' collect2.exe: error: ld returned 1 exit status gmake: *** [Test_sfun.mexw64] Error -1 Component:Make | Category:Make error ### Build procedure for model: 'Test' aborted due to an error. Unable to create mex function 'Test_sfun.mexw64' required for simulation. Component:Simulink | Category:Block diagram error

Viewing all articles
Browse latest Browse all 231148

Latest Images

Trending Articles

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>