comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: rIDL command line replacement
items: Re: rIDL command line replacement

rIDL command line replacement
type: item
description: For those interested in my command line replacement for IDL that offers tab completion and other similar features, I added a real build system to it this weekend. If you were interested in rIDL before, but couldn't build it on your system, this should be a huge improvement. I'm betting there are still kinks in the system, but it builds on my Mac OS X and Linux system easily. The new system should even work on Windows, but I don't have experience there (though I would help a Windows developer get it going if they were interested). For details on how to get the code and build it, see the article on my site: http://michaelgalloy.com/2011/05/23/ridl-cmake-ified.html Mike -- Michael Galloy www.michaelgalloy.com Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com Research Mathematician Tech-X Corporation
creator: Michael Galloy
date: 2011-05-23T19:59:06-00:00

Re: rIDL command line replacement
type: item
description: Hey, having some issues with the install, can I post here for help? Thanks, G
creator: cgguido
date: 2011-05-25T17:45:32-00:00

Re: rIDL command line replacement
type: item
description: That's like asking if I can ask a question.... how overcomplicated of me :-( Here we go. I am on Mac OS X 10.5.8 and run : sudo cmake -DReadline_INCLUDE_DIR=/sw/include/readline \ -DReadline_LIBRARY=/sw/lib/libreadline.5.0.dylib and get: -- IDL library: /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libidl.dyl ib -- IDL include: /Applications/itt/idl/idl80/external/include -- Found GNU Readline: /sw/lib/libreadline.5.0.dylib -- Configuring done -- Generating done -- Build files have been written to: /Users/cgguido/ridl So far so good. Then I run: sudo gnumake and get: Scanning dependencies of target ridl [ 14%] Building C object src/CMakeFiles/ridl.dir/ridl.c.o /Users/cgguido/trunk/src/ridl.c: In function 'ridl_printfunmap': /Users/cgguido/trunk/src/ridl.c:393: warning: initialization makes pointer from integer without a cast /Users/cgguido/trunk/src/ridl.c: In function 'main': /Users/cgguido/trunk/src/ridl.c:835: error: 'rl_event_hook' undeclared (first use in this function) /Users/cgguido/trunk/src/ridl.c:835: error: (Each undeclared identifier is reported only once /Users/cgguido/trunk/src/ridl.c:835: error: for each function it appears in.) gnumake[2]: *** [src/CMakeFiles/ridl.dir/ridl.c.o] Error 1 gnumake[1]: *** [src/CMakeFiles/ridl.dir/all] Error 2 gnumake: *** [all] Error 2 Any ideas? Many thanks, Gianguido
creator: cgguido
date: 2011-05-25T18:42:51-00:00

Re: rIDL command line replacement
type: item
description: On 5/25/11 12:42 PM, Gianguido Cianci wrote: > That's like asking if I can ask a question.... how overcomplicated of me :-( > > Here we go. I am on Mac OS X 10.5.8 and run : > > sudo cmake -DReadline_INCLUDE_DIR=/sw/include/readline \ > -DReadline_LIBRARY=/sw/lib/libreadline.5.0.dylib > > and get: > > -- IDL library: /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libidl.dyl ib > -- IDL include: /Applications/itt/idl/idl80/external/include > -- Found GNU Readline: /sw/lib/libreadline.5.0.dylib > -- Configuring done > -- Generating done > -- Build files have been written to: /Users/cgguido/ridl > > > So far so good. Then I run: > > sudo gnumake > > and get: > > Scanning dependencies of target ridl > [ 14%] Building C object src/CMakeFiles/ridl.dir/ridl.c.o > /Users/cgguido/trunk/src/ridl.c: In function 'ridl_printfunmap': > /Users/cgguido/trunk/src/ridl.c:393: warning: initialization makes pointer from integer without a cast > /Users/cgguido/trunk/src/ridl.c: In function 'main': > /Users/cgguido/trunk/src/ridl.c:835: error: 'rl_event_hook' undeclared (first use in this function) > /Users/cgguido/trunk/src/ridl.c:835: error: (Each undeclared identifier is reported only once > /Users/cgguido/trunk/src/ridl.c:835: error: for each function it appears in.) > gnumake[2]: *** [src/CMakeFiles/ridl.dir/ridl.c.o] Error 1 > gnumake[1]: *** [src/CMakeFiles/ridl.dir/all] Error 2 > gnumake: *** [all] Error 2 Yes, your Readline version is too old. I'm still researching which version you really need; 6.1 will work, probably 6.0 also. I'm trying to figure out a way to test the Readline version when configuring so that you will get a more reasonable error message. By the way, do "svn up" regularly because I've been making a lot of updates as people give feedback on their particular systems. Also, you shouldn't have to do a "sudo" until you do your "make install". Mike -- Michael Galloy www.michaelgalloy.com Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com Research Ma…
creator: Michael Galloy
date: 2011-05-25T20:47:51-00:00

Re: rIDL command line replacement
type: item
description: #0 Thanks for your help and for leading me too #1 below :-) #1 Homebrew is awesome: Have installed readline 6.2.1 and pointed cmake to it. All seems fine there now. #2 Next issue: gnumake quits because it doesn't like my IDL installation? Linking C executable ridl ld: warning in /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libXm.dyli b, file is not of required architecture ld: warning in /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libMesaGL6 _2.dylib, file is not of required architecture ld: warning in /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libMesaGLU 6_2.dylib, file is not of required architecture ld: warning in /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libOSMesa6 _2.dylib, file is not of required architecture ld: warning in /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libidl.dyl ib, file is not of required architecture Undefined symbols: "_IDL_ToutPush", referenced from: _ridl_initnotebook in ridl_logging.c.o _ridl_initlog in ridl_logging.c.o "_IDL_Initialize", referenced from: _main in ridl.c.o "_IDL_Cleanup", referenced from: _ridl_exit in ridl.c.o _ridl_executeline in ridl.c.o _main in ridl.c.o _main in ridl.c.o "_IDL_UicbRegExitDone", referenced from: _main in ridl.c.o "_IDL_RuntimeExec", referenced from: _main in ridl.c.o "_IDL_UicbRegShowCompileErr", referenced from: _main in ridl.c.o "_IDL_DebugGetStackDepth", referenced from: _ridl_printsource in ridl.c.o "_IDL_UicbRegWorkingDirChange", referenced from: _main in ridl.c.o "_IDL_UicbRegPromptChange", referenced from: _main in ridl.c.o "_IDL_MessageDefineBlock", referenced from: _main in ridl.c.o "_IDL_UicbRegRlineFromKbrd", referenced from: _main in ridl.c.o "_IDL_FindNamedVariable", referenced from: _ridl_get_structurefields_list in ridl_completion.c.o _ridl_get_localvariables_list in ridl_completion.c.o "_IDL_UicbRegInitTextDone", referenced from: _main in ridl.c.o "_IDL_UicbRegDeathHint", referenced from: _main in ridl.c.o "_IDL_GetUserInfo", referenced from: _main in ri…
creator: cgguido
date: 2011-05-26T16:14:45-00:00

Re: rIDL command line replacement
type: item
description: On 5/26/11 10:14 AM, Gianguido Cianci wrote: > #0 Thanks for your help and for leading me too #1 below :-) > > #1 Homebrew is awesome: > > Have installed readline 6.2.1 and pointed cmake to it. All seems fine there now. > > #2 Next issue: gnumake quits because it doesn't like my IDL installation? > > Linking C executable ridl > ld: warning in /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libXm.dyli b, file is not of required architecture > ld: warning in /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libMesaGL6 _2.dylib, file is not of required architecture > ld: warning in /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libMesaGLU 6_2.dylib, file is not of required architecture > ld: warning in /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libOSMesa6 _2.dylib, file is not of required architecture > ld: warning in /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/libidl.dyl ib, file is not of required architecture > Undefined symbols: > "_IDL_ToutPush", referenced from: > _ridl_initnotebook in ridl_logging.c.o > _ridl_initlog in ridl_logging.c.o > "_IDL_Initialize", referenced from: > _main in ridl.c.o > "_IDL_Cleanup", referenced from: > _ridl_exit in ridl.c.o > _ridl_executeline in ridl.c.o > _main in ridl.c.o > _main in ridl.c.o > "_IDL_UicbRegExitDone", referenced from: > _main in ridl.c.o > "_IDL_RuntimeExec", referenced from: > _main in ridl.c.o > "_IDL_UicbRegShowCompileErr", referenced from: > _main in ridl.c.o > "_IDL_DebugGetStackDepth", referenced from: > _ridl_printsource in ridl.c.o > "_IDL_UicbRegWorkingDirChange", referenced from: > _main in ridl.c.o > "_IDL_UicbRegPromptChange", referenced from: > _main in ridl.c.o > "_IDL_MessageDefineBlock", referenced from: > _main in ridl.c.o > "_IDL_UicbRegRlineFromKbrd", referenced from: > _main in ridl.c.o > "_IDL_FindNamedVariable", referenced from: > _ridl_get_structurefields_list in ridl_completion.c.o > _ridl_get_localvariables_list in ridl_completion.c.o > "_IDL_UicbRegInitTextDone", referenc…
creator: Michael Galloy
date: 2011-05-26T16:49:07-00:00