Including C/C++ generated code in CodeBlocks project
Afficher commentaires plus anciens
Greeting everyone,
I have an Issue that might be very easy but i can't seem to fix it.
I have generated code from simulink to a simple model (i tried with grt.tlc and ert.tlc syatem targets and with punch of other options) and when i tried to use the generated code and after including all neccesary files in my pre-existing project in Code Blocks, I always get this error when i try to build the project:
c:\program files\codeblocks\mingw_winlibs\bin\..\lib\gcc\i686-w64-mingw32\10.3.0\..\..\..\..\i686-w64-mingw32\bin\ld.exe: obj32\release\src\VirtualComponent1.o:VirtualComponent1.cpp|| undefined reference to `ComputingMdoule_step()'|
||error: ld returned 1 exit status|
However I still can use and manuiplate all variables and structs and everything within the included files! it's only an issue when I try to call any function.
Can anyone help me please.
Thank you a lot
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!