Unable to create 64bit dll from Simulink model with Microsoft Windows SDK 7.1

2 views (last 30 days)
Hi,
I am unable to build the simulink model. It resulted in following error:
  • NMAKE : fatal error U1077: 'C:\matlab\R2017b\sys\perl\win32\bin\perl.EXE' : return code '0xc000007b' Stop.
  • D:\XXX\xxx_dllkopp_rtw>echo The make command returned an error of 2 The make command returned an error of 2 *D:\xxx\xxx_dllkopp_rtw>An_error_occurred_during_the_call_to_make 'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file
I have gone through following solution.
I have verified that my matlab path does not contain any space.
Can you please guide me to resolve this error.
(Observations :
  • My make file is calling a perl script C:\matlab\R2017b\sys\perl\win32\bin\perl.EXE from win32 folder during creation of 64 bit dll.
Can this be the cause of the error
  • I was able to successfully generate 32bit dll from Matlab 2015b (32bit) from the same enviornment.)
Data : I am using following toolsets.
  1. Matlab 2017b (64bit)
  2. Microsoft Windows SDK 7.1 (C)

Answers (1)

Shrirang
Shrirang on 16 Apr 2018
Ohk .. I found out what was the issue. I was using 32 bit tlc and .tmf file soit was creating 32 bit dll without an error and it was getting failed during 64bit dll generation. After upgrading to 64bit .tlc and 64bit .tmf file, there was no error and now I can generate 64 bit dll without error.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!