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 #93507 is a reply to message #93477] Tue, 09 August 2016 03:26 Go to previous messageGo to previous message
neil salmon is currently offline  neil salmon
Messages: 20
Registered: August 2011
Junior Member
Small progress, both gcc and cl compilers create and object files from the sources, however it does not proceed to the link phase. See what i mean in the following.

IDL script for gcc compiler:

make_dll, 'mg_callex_total', 'IDL_Load',export_rtns, $
INPUT_DIRECTORY=working_directory+'\test_call_external' , CC='gcc -c %C', $ ;

generates:

gcc -c " C:\USERS\NEIL\DOCUMENTS\IDL\test_call_external\mg_callex_tot al.c "
Could Not Find C:\Users\Neil\Documents\IDL\test_call_external\IDL_Load_4592 _NEIL-THINK.exp
Could Not Find C:\Users\Neil\Documents\IDL\test_call_external\IDL_Load_4592 _NEIL-THINK.lib
Could Not Find C:\Users\Neil\Documents\IDL\test_call_external\mg_callex_tot al_4592_NEIL-THINK.obj

------------------------------------------------------------ -
IDL script for cl compiler:

make_dll, "mg_callex_total", "IDL_Load", export_rtns, $
INPUT_DIRECTORY=working_directory+"\test_call_external", CC="cl %C %O"

generates:
mg_callex_total.c
Microsoft (R) Incremental Linker Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.

/out:mg_callex_total.exe
mg_callex_total.obj
mg_callex_total_4592_NEIL-THINK.obj
LINK : fatal error LNK1181: cannot open input file 'mg_callex_total_4592_NEIL-THINK.obj'
Could Not Find C:\Users\Neil\Documents\IDL\test_call_external\IDL_Load_4592 _NEIL-THINK.exp
Could Not Find C:\Users\Neil\Documents\IDL\test_call_external\IDL_Load_4592 _NEIL-THINK.lib
Could Not Find C:\Users\Neil\Documents\IDL\test_call_external\mg_callex_tot al_4592_NEIL-THINK.obj
------------------------------------------------------------ --------------

However, for some reason what should be the output file 'IDL_Load' it appends on to the end of this _4593_NEIL-THINK, which is the name of my machine on the net. I take it this should not happen? However, no such output file appears to be generated.

Any clues why this does not proceed to the link phase?

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 Nov 28 09:02:49 PST 2025

Total time taken to generate the page: 0.00987 seconds