Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during rtwbuild and MATLAB R2018b #457

Open
farndt opened this issue Sep 22, 2023 · 0 comments
Open

Error during rtwbuild and MATLAB R2018b #457

farndt opened this issue Sep 22, 2023 · 0 comments

Comments

@farndt
Copy link

farndt commented Sep 22, 2023

Got following error in MATLAB R2018b but not with MATLAB R2022b both on Windows 10 Machine.

Error using coder.internal.callMakeHook
The call to rtwsfcnfmi_make_rtw_hook, during the after_make hook generated the following error:
    Failed to build FMU

The build process will terminate as a result.

Error in
coder.internal.ModelBuilder>@(lBuildInfoArg,lBuildOptsArg)coder.internal.callMakeHook('after_make',lMakeOptions,lBuildOptsArg,'GenerateCodeOnly',generateCodeOnly,'CodeWasUpToDate',lCodeWasUpToDate,'FolderToRunFrom',mainCompileFolder,'ModelReferenceTargetType',h.MdlRefBuildArgs.ModelReferenceTargetType,'BuildDirectory',h.BuildDirectory,'ModelName',h.ModelName,'BuildInfo',lBuildInfoArg,'LocalAnchorFolder',lAnchorFolder,'TemplateMakefile',lTemplateMakefile,'MakeRTWHookFile',h.MakeRTWHookFile,'Verbose',h.MdlRefBuildArgs.Verbose,'DispHook',h.DispHook,'SlBuildProfileIsOn',h.MdlRefBuildArgs.slbuildProfileIsOn)
(line 1074)
                      coder.internal.callMakeHook(...

Error in coder.internal.compileStage

Error in coder.internal.ModelBuilder/buildProcedure (line 1301)
                compileResult = coder.internal.compileStage...

Error in coder.internal.ModelBuilder/make_rtw (line 212)
                buildResult = buildProcedure...

Error in coder.internal.ModelCodegenMgr/make_rtw (line 8)
    buildResult = obj.make_rtw(varargin);

Error in make_rtw (line 20)
buildResult = h.make_rtw(buildArgs, varargin{:});

Error in build_target

Error in build_target

Error in build_standalone_rtw_target

Error in slbuild_private

Error in slbuild_private

Error in sl (line 15)
[varargout{1:nargout}]=feval(varargin{:});

Error in slbuild (line 83)
    sl('slbuild_private', mdl, target, varargin{2:end});

Error in rtwbuild (line 234)
              slbuild(sys, 'StandaloneRTWTarget', ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant