problem with techtip 3798 (IDL + cygwin) [message #61174] |
Wed, 09 July 2008 20:28 |
cgh1
Messages: 3 Registered: July 2008
|
Junior Member |
|
|
Hello:
I followed the directions in techtip 3798 ("Using CALL_EXTERNAL with
the Cygwin environment"). I needed to make one change in the
directions; I changed the reference in the tech tip directions from
IDL61 to IDL62se to reflect the fact that I have a student edition of
IDL (in the redefinition of !make_dll.cc).
On attempting to run the examples of C inclusions into IDL, I get the
following output. I get similar issues when trying to compile other C
code as well (ie, Could Not Find errors for .lib, .exp, and .obj
files). I believe that this might be a configuration
issue....somewhere..., but I am not sure where and google has not
proven to be my friend with finding references to the same issue
elsewhere. Has anyone else encountered this problem before and know of
a solution? (And are .lib, .exp, and .obj files an IDLism? From the
default C compiler in windows IDL? From the phase of the moon?)
I have access to the full version of IDL as well, if someone thinks
that is the problem; however, the IDL student edition is the only
version in which I installed all the necessary files.
Thanks for any insights!
--Topher
IDL> .COMPILE "C:\RSI\IDL62se\external\call_external\C
\string_array.pro"
Compiled module: STRING_ARRAY.
IDL> .COMPILE "C:\RSI\IDL62se\external\call_external\C
\string_array.pro"
Compiled module: STRING_ARRAY.
IDL> .COMPILE "C:\RSI\IDL62se\external\call_external\C
\get_callext_exlib.pro"
Compiled module: GET_CALLEXT_EXLIB.
IDL> string_array, 'Hello, Cygwin!', /VERBOSE
Calling string_array with:
STRARR_L STRING = 'Hello, Cygwin!'
Hello, Cygwin!
Compiled module: FILEPATH.
Compiled module: PATH_SEP.
MAKE_DLL: Writing build script: C:\Documents and Settings\Topher Hughes
\.idl\rsi\compile_dir-118-idl_6_2-win32-x86-m32-
f64\call_external_examples_4900_UNAKA.bat
MAKE_DLL: Writing linker def file: C:\Documents and Settings\Topher
Hughes\.idl\rsi\compile_dir-118-idl_6_2-win32-x86-m32-
f64\call_external_examples_4900_UNAKA.def
MAKE_DLL: Running build script: C:\Documents and Settings\Topher Hughes
\.idl\rsi\compile_dir-118-idl_6_2-win32-x86-m32-
f64\call_external_examples_4900_UNAKA.bat
c:\cygwin\bin\gcc.exe -fPIC -mno-cygwin -I"/cygdrive/c/RSI/IDL62se/
external/include" -c -D_REENTRANT "C:\RSI\IDL62se\external
\call_external\C\incr_struct.c" -o "incr_struct_4900_UNAKA.obj"
Could Not Find C:\Documents and Settings\Topher Hughes\.idl\rsi
\compile_dir-118-idl_6_2-win32-x86-m32-
f64\call_external_examples_4900_UNAKA.exp
Could Not Find C:\Documents and Settings\Topher Hughes\.idl\rsi
\compile_dir-118-idl_6_2-win32-x86-m32-
f64\call_external_examples_4900_UNAKA.lib
Could Not Find C:\Documents and Settings\Topher Hughes\.idl\rsi
\compile_dir-118-idl_6_2-win32-x86-m32-f64\incr_struct_4900_ UNAKA.obj
Could Not Find C:\Documents and Settings\Topher Hughes\.idl\rsi
\compile_dir-118-idl_6_2-win32-x86-m32-f64\simple_vars_4900_ UNAKA.obj
Could Not Find C:\Documents and Settings\Topher Hughes\.idl\rsi
\compile_dir-118-idl_6_2-win32-x86-m32-f64\string_array_4900 _UNAKA.obj
Could Not Find C:\Documents and Settings\Topher Hughes\.idl\rsi
\compile_dir-118-idl_6_2-win32-x86-m32-f64\sum_array_4900_UN AKA.obj
Could Not Find C:\Documents and Settings\Topher Hughes\.idl\rsi
\compile_dir-118-idl_6_2-win32-x86-m32-f64\sum_2d_array_4900 _UNAKA.obj
CALL_EXTERNAL: Error loading sharable executable.
Symbol: string_array, File = C:\Documents and Settings
\Topher Hughes\.idl\rsi\compile_dir-118-idl_6_2-win32-x86-m32-
f64\call_external_examples.dll
The specified module could not be found.
Error occurred at: STRING_ARRAY 80 C:\RSI\IDL62se\external
\call_external\C\string_array.pro
$MAIN$
Execution halted at: $MAIN$
IDL> print, !make_dll.cc
c:\cygwin\bin\gcc.exe %X -fPIC -mno-cygwin -I"/cygdrive/c/RSI/IDL62se/
external/include" -c -D_REENTRANT %C -o %O
|
|
|