Thread: [q-lang-users] magick.q: error loading module
Brought to you by:
agraef
From: Brian W. <drc...@gm...> - 2005-06-25 19:18:42
|
Hi folks, I'm a new user. I grabbed the windows executable bundle: Q-pad. When I try to run magicktest.q, I get 116 unresolved symbols. (See output including debug output below.) I did a search for "magick.dll" files on my disk and only have the one: c:\Program Files\Qpad\lib\magick.dll so I don't think it's a conflicting version. Any thoughts? Thanks very much. Brian ----------------------- % C:\Program Files\Qpad\examples\magick\magicktest.q C:\Program Files\Qpad\lib/magick.q: error loading module Warning: 116 unresolved external symbols ! Value mismatch in definition ** clib::sys_vars =3D=3D> (1,2,4,...) -- def (SIZEOF_CHAR,SIZEOF_SHORT,SIZEOF_INT,...) =3D (1,2,4,...) -- def SIG_IGN =3D -1 -- def SIG_DFL =3D 0 -- def SIG_TRP =3D 1 -- def SCHED_OTHER =3D 0 -- def SCHED_RR =3D 1 -- def SCHED_FIFO =3D 2 -- def AF_UNIX =3D -1 -- def AF_FILE =3D -1 -- def S_ISUID =3D 2048 -- def S_ISGID =3D 1024 -- def S_ISVTX =3D 512 -- def S_IRWXU =3D 448 -- def S_IRUSR =3D 256 -- def S_IWUSR =3D 128 -- def S_IXUSR =3D 64 -- def S_IRWXG =3D 56 -- def S_IRGRP =3D 32 -- def S_IWGRP =3D 16 -- def S_IXGRP =3D 8 -- def S_IRWXO =3D 7 -- def S_IROTH =3D 4 -- def S_IWOTH =3D 2 -- def S_IXOTH =3D 1 ** this_thread =3D=3D> <<Thread>> -- def clib::MAIN_THREAD =3D <<Thread>> ** ggi::ggi_vars =3D=3D> (1,0,1,...) -- def (GGI_FLAG_ASYNC,GGI_EV_NOTHING,GGI_EV_COMMAND,...) =3D (1,0,1,...) -- def DEFAULT =3D 0 |
From: Albert G. <Dr....@t-...> - 2005-06-26 00:08:53
|
Brian Wilfley wrote: > I grabbed the windows executable bundle: Q-pad. When I try to run > magicktest.q, I get 116 unresolved symbols. (See output including > debug output below.) Which ImageMagick version do you have installed? And are you sure that the ImageMagick dlls are somewhere on the PATH? -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: Brian W. <drc...@gm...> - 2005-06-26 23:26:19
|
Hello Dr. Gr"af, Thanks for your comments. Based on them, I made some progress. I installed version 6.2.3 of imagemagick, which gave "signal 11 caught" which caused things to fail. Then I down-graded to version 5.5.7. Now, I'm getting further, but when I use read_image I get the following sort of problems: =3D=3D> read_image "mozilla.png" () ** read_image "mozilla.png" () =3D=3D> magick_error "430: UnableToOpenFi= le ()" magick_error "430: UnableToOpenFile ()" =3D=3D> read_image "logo:" () ** read_image "logo:" () =3D=3D> magick_error "430: UnableToOpenFile ()" magick_error "430: UnableToOpenFile ()" =3D=3D> read_image "xc:white" (100,100,0,8) ** read_image "xc:white" (100,100,0,...) =3D=3D> magick_error "430: UnableToOpenFile ()" magick_error "430: UnableToOpenFile ()" By virtue of at least the last example, I conclude that the problem is not one of paths: xc: creates an image without reference to the file system, I gather. Any further comments would be greatly appreciated. Thanks again. Brian On 6/25/05, Albert Graef <Dr....@t-...> wrote: > Brian Wilfley wrote: > > I grabbed the windows executable bundle: Q-pad. When I try to run > > magicktest.q, I get 116 unresolved symbols. (See output including > > debug output below.) >=20 > Which ImageMagick version do you have installed? And are you sure that > the ImageMagick dlls are somewhere on the PATH? >=20 > -- > Dr. Albert Gr"af > Dept. of Music-Informatics, University of Mainz, Germany > Email: Dr....@t-..., ag...@mu... > WWW: http://www.musikwissenschaft.uni-mainz.de/~ag >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic= k > _______________________________________________ > q-lang-users mailing list > q-l...@li... > https://lists.sourceforge.net/lists/listinfo/q-lang-users > |
From: Albert G. <Dr....@t-...> - 2005-06-27 01:02:30
|
Brian Wilfley wrote: > I installed version 6.2.3 of imagemagick, which gave "signal 11 > caught" which caused things to fail. Yes, the necessary fix for IM 6.x support is in cvs already, will be in the Q 6.1 release, so the next version of Qpad will be linked against the newest IM release. > Then I down-graded to version > 5.5.7. Now, I'm getting further, but when I use read_image I get the > following sort of problems: [...] All this works without a problem on my WinXP system. Which version do you have, _exactly_? Note that there are two different variants, 5.5.7-Q16 and -Q8. Qpad-6.0 is linked against the former. HTH, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |
From: Brian W. <drc...@gm...> - 2005-06-27 06:21:57
|
Ahhh, very good. I'm running pretty good now. (I had Q8, switched to 5.5.7-= Q16.) Thanks very much. One other question: do you have a suggestion for a plotting library that could be used by Q? Thanks again. Brian |
From: Albert G. <Dr....@t-...> - 2005-06-27 06:52:11
|
Brian Wilfley wrote: > One other question: do you have a suggestion for a plotting library > that could be used by Q? Well, under Linux I'd probably use opendx, or gnuplot (via octave). The latter might even work under Windows as well, I haven't tried that yet. Do you have something specific in mind? If you have a C or C++ library which does the job, you could wrap it as a Q module using Q-SWIG. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikwissenschaft.uni-mainz.de/~ag |