Re: etc.c.zlib help

2015-07-03 Thread Matthew Gamble via Digitalmars-d-learn
On Friday, 3 July 2015 at 02:16:45 UTC, Mike Parker wrote: On 7/3/2015 8:44 AM, Matthew Gamble wrote: [...] The Phobos source actually includes the C source for zlib. You can find it in the DMD distribution in src/phobos/etc/c/zlib/. When Phobos is compiled, it also compiles zlib and pulls

Re: etc.c.zlib help

2015-07-03 Thread Mike Parker via Digitalmars-d-learn
On 7/4/2015 1:28 AM, Matthew Gamble wrote: Wow Mike. This seems like the most likely explanation to me. I'm a bit hesitant to compile phobos from source on this machine with -m32mscoff. Perhaps a similar test would be to compile my program on a 32-bit windows machine? I can do this at work on

Re: etc.c.zlib help

2015-07-03 Thread Mike Parker via Digitalmars-d-learn
Oh, and issues should be reported at https://issues.dlang.org/.

Re: etc.c.zlib help

2015-07-03 Thread Laeeth Isharc via Digitalmars-d-learn
On Friday, 3 July 2015 at 16:28:29 UTC, Matthew Gamble wrote: On Friday, 3 July 2015 at 02:16:45 UTC, Mike Parker wrote: On 7/3/2015 8:44 AM, Matthew Gamble wrote: [...] The Phobos source actually includes the C source for zlib. You can find it in the DMD distribution in

Re: etc.c.zlib help

2015-07-02 Thread Nicholas Wilson via Digitalmars-d-learn
On Thursday, 2 July 2015 at 03:07:43 UTC, Matthew Gamble wrote: I am trying to make the transition from C++ to D. I've hit a snag with the etc.c.zlib module where any attempt to use this module to open a file yields an error: Error 42: Symbol Undefined __lseeki64. Here is a simple example of

Re: etc.c.zlib help

2015-07-02 Thread Matthew Gamble via Digitalmars-d-learn
On Thursday, 2 July 2015 at 20:19:49 UTC, Laeeth Isharc wrote: On Thursday, 2 July 2015 at 03:07:43 UTC, Matthew Gamble wrote: I am trying to make the transition from C++ to D. I've hit a snag with the etc.c.zlib module where any attempt to use this module to open a file yields an error:

Re: etc.c.zlib help

2015-07-02 Thread Mike Parker via Digitalmars-d-learn
On 7/3/2015 8:44 AM, Matthew Gamble wrote: Thanks to Nicholas and Laeeth for all the suggestions. In the process of trying to explicitly link to zlib.dll like a do for C++, I came across a strange development. I changed the platform to x64 (Visual D) and now the program compiles and runs fine

Re: etc.c.zlib help

2015-07-02 Thread Matthew Gamble via Digitalmars-d-learn
On Thursday, 2 July 2015 at 12:36:35 UTC, Nicholas Wilson wrote: On Thursday, 2 July 2015 at 03:07:43 UTC, Matthew Gamble wrote: I am trying to make the transition from C++ to D. I've hit a snag with the etc.c.zlib module where any attempt to use this module to open a file yields an error:

Re: etc.c.zlib help

2015-07-02 Thread Laeeth Isharc via Digitalmars-d-learn
On Thursday, 2 July 2015 at 03:07:43 UTC, Matthew Gamble wrote: I am trying to make the transition from C++ to D. I've hit a snag with the etc.c.zlib module where any attempt to use this module to open a file yields an error: Error 42: Symbol Undefined __lseeki64. Here is a simple example of

etc.c.zlib help

2015-07-01 Thread Matthew Gamble via Digitalmars-d-learn
I am trying to make the transition from C++ to D. I've hit a snag with the etc.c.zlib module where any attempt to use this module to open a file yields an error: Error 42: Symbol Undefined __lseeki64. Here is a simple example of code that gives the error upon compilation. import std.stdio;