Error generating c/c++ code

8 visualizzazioni (ultimi 30 giorni)
omkar tulankar
omkar tulankar il 6 Nov 2020
Risposto: Emine Ozkara il 16 Dic 2020
following error I am getting while trying to develop the C/C++ code.
The call to Target_1500S_V4_0_grt_make_rtw_hook, during the entry hook generated the following error: WorkspaceLocation is not valid. The build process will terminate as a result.
Caused by:
  • WorkspaceLocation is not valid.
I have target 1500s v4 file and all supportive files downloaded in my PC.

Risposta accettata

Emine Ozkara
Emine Ozkara il 16 Dic 2020
Hi,
I can tell by checking the error you shared in both the question and your answer to Mark that something about your ODK installation seems wrong.
I want you to check if you can use Eclipse for ODK manually.
You can also check if the ODK versions seems right on the Configuration Parameters: Target 1500S Options screen. However, I expect that once you get access to Eclipse the problem will be solved.
I will be following the activities on this question to make sure the problem is solved.
Best.

Più risposte (2)

Mark McBroom
Mark McBroom il 7 Nov 2020
Do any of the directories in your working directory path have any strange characters or spaces in it? If so, try moving to a directory that has only alphanumeric characters ( i.e. c:.work ).
Thanks.
Mark.

omkar tulankar
omkar tulankar il 9 Nov 2020
Hi Mark,
Thank you for your response.
This is the work directory I using in my MATLAB 'C:\Users\oulankar\Downloads\OPCSIMULINKCASE2\Simulink_Usecase2'.
The call to Target_1500S_V4_0_grt_make_rtw_hook, during the after_make hook generated the following error: Output argument "ret" (and maybe others) not assigned during call to "lib_V4_0.codegen.EclipseInterface.get.m_OdkCommandlineApplication". The build process will terminate as a result.
Caused by:
  • Output argument "ret" (and maybe others) not assigned during call to "lib_V4_0.codegen.EclipseInterface.get.m_OdkCommandlineApplication".
Component:Simulink | Category:Build error
??? Subsystem build failed
Above error I am getting now when I try to build subsystem.

Categorie

Scopri di più su C Shared Library Integration in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by