comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » calling C++ from within IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
calling C++ from within IDL [message #91726] Fri, 14 August 2015 13:15 Go to previous message
dtakir is currently offline  dtakir
Messages: 4
Registered: August 2013
Junior Member
Hello IDLers,

I was trying to compile the following code(from Mike Galloy's book):

float mg_callex_total(float arr[], int *n) {


int i;
float total = 0.0;
for(i = 0; i < *n; i++) total+=arr[i];
return(total);



}

to create a shared object, but I got the following errors. Anyone knows why I got these errors? Thanks in advance.
Driss


IDL> mg_make_dll, 'mg_callex_total.c'
'cl' is not recognized as an internal or external command,
operable program or batch file.
cl -D_DLL -DMSWIN -DWIN32 -D_MT /nologo /I"C:\Program Files\Exelis\IDL84\external\include" /c "C:\Users\dtakir\Desktop\idlC++Test\mg_callex_total.c" /Fo"mg_callex_total_5676_IGSWZAWGLT-ELEE.obj"
Could Not Find C:\Users\dtakir\.idl\idl\compile_dir-118-idl_8_4-win32-x86_6 4-m64-f64\mg_callex_total_5676_IGSWZAWGLT-ELEE.exp
Could Not Find C:\Users\dtakir\.idl\idl\compile_dir-118-idl_8_4-win32-x86_6 4-m64-f64\mg_callex_total_5676_IGSWZAWGLT-ELEE.lib
Could Not Find C:\Users\dtakir\.idl\idl\compile_dir-118-idl_8_4-win32-x86_6 4-m64-f64\mg_callex_total_5676_IGSWZAWGLT-ELEE.obj
IDL>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: to create & overlay a polygon shape file
Next Topic: create oval shape

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:49:29 PDT 2025

Total time taken to generate the page: 0.00422 seconds