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

Home » Public Forums » archive » Pros & cons of methods 1) DLM and 2) Call_External of calling C from 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
Re: Pros & cons of methods 1) DLM and 2) Call_External of calling C from IDL [message #93505 is a reply to message #93477] Mon, 08 August 2016 14:41 Go to previous messageGo to previous message
neil salmon is currently offline  neil salmon
Messages: 20
Registered: August 2011
Junior Member
Yes, i'm operating Windows 7, with IDL Version 6.0. I've also put the path of the MSVC version 10.0 compiler (cl.exe) in the Windows Environment Variables, PATH, however MAKE_DLL does not seem to recognise. The gcc.exe compiler directory is also in the Windows Environment Variable, and MAKE_DLL does recognise it - so at least some small progress.

--------------------------------------------------
However, running the script:

make_dll, 'mg_callex_total', 'IDL_Load', $
INPUT_DIRECTORY=working_directory+'\test_call_external' , $
CC='gcc -c %C -o %O', $
OUTPUT_DIRECTORY = working_directory+'\test_call_external', $
COMPILE_DIRECTORY = working_directory+'\test_call_external', $
VERBOSE=verbose, SHOW_ALL_OUTPUT=verbose

------------------------------------------------------------ -------
generates:


link: extra operand `/nodefaultlib'
Try `link --help' for more information.
gcc -c " C:\USERS\NEIL\DOCUMENTS\IDL\test_call_external\mg_callex_tot al.c " -o "mg_callex_total_12888_NEIL-THINK.obj"
link /out:"mg_callex_total_12888_NEIL-THINK.dll" /nologo /nodefaultlib /dll "mg_callex_total_12888_NEIL-THINK.obj" /def:"mg_callex_total_12888_NEIL-THINK.def" "C:\Program Files (x86)\RSI\IDL60\bin\bin.x86\idl32.lib" msvcrt.lib kernel32.lib
Could Not Find C:\Users\Neil\Documents\IDL\test_call_external\mg_callex_tot al_12888_NEIL-THINK.exp
Could Not Find C:\Users\Neil\Documents\IDL\test_call_external\mg_callex_tot al_12888_NEIL-THINK.lib

-------------------------------------

I'm uncertain why "_12888_NEIL-THINK.obj" appears appended on to the end of the object file name, any ideas?

Furthermore, the object file "mg_callex_total_12888_NEIL-THINK.obj" i can't find on my system, and is not appearing in my specified OUTPUT_DIRECTORY.

- so i'm not at all certain what's going off. Grateful for any suggestions.

many thanks,
neil
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cgcontour and cgcolorbar irregular levels
Next Topic: Code for network analyses

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

Current Time: Fri Oct 10 06:34:28 PDT 2025

Total time taken to generate the page: 0.40022 seconds