MEX compilation error of 64-bit mode

26 visualizaciones (últimos 30 días)
Golden
Golden el 11 de Jun. de 2020
Comentada: Golden el 16 de Jun. de 2020
Hi,
I have Matlab 2017b and I have installed the latest minGW compiler. I manually set up the enviroment variable to point to this minGW folder. However, when I try to command compile a c file sfun_nInd.c
I got this:
>> mex sfun_nInd.c
Building with 'MinGW64 Compiler (C)'.
Error using mex
C:\Users\\models\sfun_nInd.c:1:0: sorry, unimplemented: 64-bit mode not
compiled in
/*
Any idea where to start to fix this?
  2 comentarios
James Tursa
James Tursa el 11 de Jun. de 2020
Can you post the sfun_nind.c code? Is this message in the source code itself?
Golden
Golden el 16 de Jun. de 2020
It's the same as sfun_atol.c in the demo folder. I just changed the first line of code to
#define S_FUNCTION_NAME sfun_nInd
and renamed the file name to sfun_nInd.c. This was a starter test and it failed. Thanks for the help.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by