Re: [racket-users] Re: error with pdf-read / libpoppler on Windows

2018-03-23 Thread Joel Dueck
OK, I am a bit of an idiot, but in case someone else reads this thread looking for answers, here are the resolutions I've chased down so far. 1. **I did not read the docs for pdf-read well enough** because right there at the top of the main page, it says it only works on Linux and macOS. *facep

Re: [racket-users] Re: error with pdf-read / libpoppler on Windows

2018-03-23 Thread Matthew Flatt
At Fri, 23 Mar 2018 09:39:41 -0700 (PDT), Joel Dueck wrote: > On Friday, March 23, 2018 at 9:16:55 AM UTC-5, Greg Trzeciak wrote: > > > > So it's clear it's not the path issue, see neighbouring thread on another > > possibility - some dependency of libpoppler is missing on Windows > > > > > Ok, I

[racket-users] Re: error with pdf-read / libpoppler on Windows

2018-03-23 Thread Greg Trzeciak
hmm... I've tried to see what dependencies would dumpbin show on my machine for libpoppler and it fails with "e:\libpoppler-glib-8.dll : warning LNK4048: Invalid format file; ignored" so it may be that something is wrong with a binary on Windows 10. Still my previous advice (ignore anything belo

[racket-users] Re: error with pdf-read / libpoppler on Windows

2018-03-23 Thread Greg Trzeciak
That's why I actually prefer dumpbin (see the other thread) from depedency walker - simpler without so many confusing details. But since you probably don't have VS here is my advice: collapse entire result tree from dependency walker - leave only top level libraries to see which ones are missin

[racket-users] Re: error with pdf-read / libpoppler on Windows

2018-03-23 Thread Joel Dueck
On Friday, March 23, 2018 at 9:16:55 AM UTC-5, Greg Trzeciak wrote: > > So it's clear it's not the path issue, see neighbouring thread on another > possibility - some dependency of libpoppler is missing on Windows > > Ok, I tried Dependency Walker on libpoppler-glib-8.dll, and got all kinds of m

[racket-users] Re: error with pdf-read / libpoppler on Windows

2018-03-23 Thread Greg Trzeciak
BTW, you can use forward slashes on windows for the path "C:/Users/Joel...", I've found it more digestible than "\\" On Friday, March 23, 2018 at 3:05:07 PM UTC+1, Joel Dueck wrote: > > > ; (B) tried absolute path: >(define-ffi-definer define-poppler (ffi-lib > "C:\\Users\\Joel\\AppData\\Ro

[racket-users] Re: error with pdf-read / libpoppler on Windows

2018-03-23 Thread Greg Trzeciak
So it's clear it's not the path issue, see neighbouring thread on another possibility - some dependency of libpoppler is missing on Windows On Friday, March 23, 2018 at 3:05:07 PM UTC+1, Joel Dueck wrote: > > On Thursday, March 22, 2018 at 6:14:59 PM UTC-5, Greg Trzeciak wrote: >> >> Last few tim

[racket-users] Re: error with pdf-read / libpoppler on Windows

2018-03-23 Thread Joel Dueck
On Thursday, March 22, 2018 at 6:14:59 PM UTC-5, Greg Trzeciak wrote: > > Last few times I had this error it was one of the following: > 1. Incorrect version (32 vs 64bit) > 2. Problem with Path. > > For 2. have you tried setting it up with absolute path to eliminate Path > as a problem? > The p

[racket-users] Re: error with pdf-read / libpoppler on Windows

2018-03-22 Thread Greg Trzeciak
Last few times I had this error it was one of the following: 1. Incorrect version (32 vs 64bit) 2. Problem with Path. For 2. have you tried setting it up with absolute path to eliminate Path as a problem? G. On Thursday, March 22, 2018 at 10:54:59 PM UTC+1, Joel Dueck wrote: > > Trying to test