Home »
Public Forums »
archive »
C/C++ integration with IDL
C/C++ integration with IDL [message #55781] |
Thu, 06 September 2007 06:22 |
incognito.me
Messages: 16 Registered: August 2007
|
Junior Member |
|
|
Hi everyone,
I'm running the version 6.3 of IDL on a windows machine. I'd like to
run external C codes which are provided in file RSI\IDL63\external
\call_external\C from IDL. I downloaded a visual C++ compiler as
Indicated in the !MAKE_DLL system variable. I tryed to build a
sharable library containing the external C
code and then run all of the provided examples just as indicated in
the IDL Documentation with the following statements:
IDL>PUSHD,'C:\programme\RSI\IDL63\external\call_external\C'
IDL>ALL_CALLEXT_EXAMPLES
IDL>POPD
But I can't managed to run the second statement because I'm always
having the following error message:
IDL> ALL_CALLEXT_EXAMPLES
Calling simple_vars with the following arguments:
B_L BYTE = 2
I_L INT = 3
L_L LONG = 4
F_L FLOAT = 5.00000
D_L DOUBLE = 6.0000000
The "cl" statement ist not correct written or cannot be found
cl -D_DLL -DMSWIN -DWIN32 -D_MT /nologo /I"C:\Programme\RSI
\IDL63\external\include" /c "C:\Programme\RSI\IDL63\external
\call_external\C\incr_struct.c" /Fo"incr_struct_3072_WDT002.obj"
C:\incognito\.idl\rsi\compile_dir-118-idl_6_3-win32-x86-m32-
f64\call_external_examples_3072_WDT002.exp cannot be found
C:\ incognito \.idl\rsi\compile_dir-118-idl_6_3-win32-x86-m32-
f64\call_external_examples_3072_WDT002.lib cannot be found
C:\ incognito \.idl\rsi\compile_dir-118-idl_6_3-win32-x86-m32-
f64\incr_struct_3072_WDT002.obj cannot be found
C:\ incognito \.idl\rsi\compile_dir-118-idl_6_3-win32-x86-m32-
f64\simple_vars_3072_WDT002.obj cannot be found
C:\ incognito \.idl\rsi\compile_dir-118-idl_6_3-win32-x86-m32-
f64\string_array_3072_WDT002.obj cannot be found
C:\ incognito \.idl\rsi\compile_dir-118-idl_6_3-win32-x86-m32-
f64\sum_array_3072_WDT002.obj cannot be found
C:\ incognito \.idl\rsi\compile_dir-118-idl_6_3-win32-x86-m32-
f64\sum_2d_array_3072_WDT002.obj cannot be found
CALL_EXTERNAL: Error loading sharable executable.
Symbol: simple_vars, File = C:\ incognito \.idl\rsi
\compile_dir-118-idl_6_3-win32-x86-m32-f64\call_external_exa mples.dll
That Module cannot be found.
Error occurred at: SIMPLE_VARS 91 C:\programme\RSI
\IDL63\external\call_external\C\simple_vars.pro
ALL_CALLEXT_EXAMPLES 58 C:\programme\RSI
\IDL63\external\call_external\C\all_callext_examples.pro
$MAIN$
Execution halted at: ALL_CALLEXT_EXAMPLES 58 C:\programme\RSI
\IDL63\external\call_external\C\all_callext_examples.pro
Does someone have a suggestion?
Thanks
|
|
|
Current Time: Wed Oct 08 15:16:48 PDT 2025
Total time taken to generate the page: 0.00516 seconds