Re: Error 42: Symbol Undefined __D3std7process10spawnShellFNeMAxaMxHAyaAyaEQBpQBo6ConfigMQBbMQzZCQClQCk3Pid

2019-03-02 Thread Robert M. Münch via Digitalmars-d-learn
Ok, seems to be related to an older installed DMD 2.079.0, updating to 2.085.0 fixed the problem. Robert On 2019-03-02 21:15:05 +, Robert M. Münch said: Hi, trying to compile some stuff on Windows and get a bunch of undefined symbol errors, but these look as some standard modules are

Error 42: Symbol Undefined __D3std7process10spawnShellFNeMAxaMxHAyaAyaEQBpQBo6ConfigMQBbMQzZCQClQCk3Pid

2019-03-02 Thread Robert M. Münch via Digitalmars-d-learn
Hi, trying to compile some stuff on Windows and get a bunch of undefined symbol errors, but these look as some standard modules are missing. See full output at: https://pastebin.com/e9xLrQAF Any idea how this can happen? Or how to fix this? -- Robert M. Münch http://www.saphirion.com smarter

Re: Error 42: Symbol Undefined __lseeki64

2015-12-17 Thread Byron Heads via Digitalmars-d-learn
On Thursday, 17 December 2015 at 04:11:56 UTC, tcak wrote: I searched the function "__lseek64" under /usr/include/dmd" with "grep -R __lseek64", but nothing is found. I work on Linux 64-bit. So, I guess it is either Windows related, or 32bit dmd related. "lseek64" is found in "unistd.d", but

Re: Error 42: Symbol Undefined __lseeki64

2015-12-17 Thread Basile B. via Digitalmars-d-learn
On Thursday, 17 December 2015 at 04:11:56 UTC, tcak wrote: On Wednesday, 16 December 2015 at 18:30:41 UTC, Byron Heads wrote: On Wednesday, 16 December 2015 at 18:21:33 UTC, Byron Heads wrote: On Wednesday, 16 December 2015 at 18:14:35 UTC, Byron Heads I searched the function "__lseek64" under

Re: Error 42: Symbol Undefined __lseeki64

2015-12-16 Thread Byron Heads via Digitalmars-d-learn
) Error 42: Symbol Undefined __lseeki64 The code was compiling in 2.067. Not clear on where to look to fix this issue. I can reproduce with this code... Windows dmd 2.069.2 32bit import std.stream; import std.exception; // todo: add bzip support.. class GZipBufferedFile : BufferedFile

Error 42: Symbol Undefined __lseeki64

2015-12-16 Thread Byron Heads via Digitalmars-d-learn
Seeing this issue on 2.069.2 using etc.c.zlib. C:\d\dmd2\windows\bin\..\lib\phobos.lib(gzlib) Error 42: Symbol Undefined __lseeki64 The code was compiling in 2.067. Not clear on where to look to fix this issue.

Re: Error 42: Symbol Undefined __lseeki64

2015-12-16 Thread Byron Heads via Digitalmars-d-learn
On Wednesday, 16 December 2015 at 17:23:15 UTC, Byron Heads wrote: Seeing this issue on 2.069.2 using etc.c.zlib. C:\d\dmd2\windows\bin\..\lib\phobos.lib(gzlib) Error 42: Symbol Undefined __lseeki64 The code was compiling in 2.067. Not clear on where to look to fix this issue. I can

Re: Error 42: Symbol Undefined __lseeki64

2015-12-16 Thread Byron Heads via Digitalmars-d-learn
On Wednesday, 16 December 2015 at 18:14:35 UTC, Byron Heads wrote: On Wednesday, 16 December 2015 at 17:23:15 UTC, Byron Heads wrote: Seeing this issue on 2.069.2 using etc.c.zlib. C:\d\dmd2\windows\bin\..\lib\phobos.lib(gzlib) Error 42: Symbol Undefined __lseeki64 The code was compiling

Re: Error 42: Symbol Undefined __lseeki64

2015-12-16 Thread tcak via Digitalmars-d-learn
On Wednesday, 16 December 2015 at 18:30:41 UTC, Byron Heads wrote: On Wednesday, 16 December 2015 at 18:21:33 UTC, Byron Heads wrote: On Wednesday, 16 December 2015 at 18:14:35 UTC, Byron Heads wrote: [...] Commenting out gzclose(fpGZip); allows it to compile.. Submitted reduced case as

Re: Error 42: Symbol Undefined for asserts

2014-05-03 Thread FrankLike via Digitalmars-d-learn
The problem I am running in to now is that Xamarin Studio now launches Test.pdb.exe which doesn't seem to do anything at all. Use visual d,it's simple for using pdb.exe

Re: Error 42: Symbol Undefined for asserts

2014-05-03 Thread Andre Steenveld via Digitalmars-d-learn
On Saturday, 3 May 2014 at 13:18:13 UTC, FrankLike wrote: The problem I am running in to now is that Xamarin Studio now launches Test.pdb.exe which doesn't seem to do anything at all. Use visual d,it's simple for using pdb.exe Which isn't really an option, Visual D is for Visual Studio

Error 42: Symbol Undefined for asserts

2014-05-02 Thread Andre Steenveld via Digitalmars-d-learn
\Test.obj(Test) Error 42: Symbol Undefined _D3rdx12Notification8__assertFiZv obj\Unittest\Test.obj(Test) Error 42: Symbol Undefined _D3rdx8Observer8__assertFiZv obj\Unittest\Test.obj(Test) Error 42: Symbol Undefined _D3rdx17AnonymousObserver8__assertFiZv obj\Unittest\Test.obj(Test) Error 42

Re: Error 42: Symbol Undefined for asserts

2014-05-02 Thread FrankLike via Digitalmars-d-learn
Maybe not add -L+somelib.lib

Re: Error 42: Symbol Undefined for asserts

2014-05-02 Thread Andre Steenveld via Digitalmars-d-learn
I seem to have partially solved the problem myself. It seems that when using the Unittest target makes the linker look in to the /bin/Unittest directory even though project can be build using a different target. (right click the solution - options - configurations - Configuration Mappings)

Error 42 Symbol Undefined

2012-03-17 Thread Chris Pons
/set function that interacts with the array that stores the values for the vector. I've tried something like this: alias Vector!(float, 2) vect2; vect2 position; position = vect2(0.0f, 0.0f); However, both methods give the same error: Error 42: Symbol Undefined pure nothrow @property @safe void

Re: dmd linker (OPTLINK) gives Error 42: Symbol Undefined when using extern

2011-12-27 Thread dmd linker (OPTLINK) gives Error 42: Symbol Undefined when using extern
Thanks, this is it!

dmd linker (OPTLINK) gives Error 42: Symbol Undefined when using extern

2011-12-25 Thread Tal
() { return hello; } the error I get is: Error 42: Symbol Undefined _D1a4testFZAya` ---errorlevel 1 What is wrong ?

Re: dmd linker (OPTLINK) gives Error 42: Symbol Undefined when using extern

2011-12-25 Thread Tal
I want to save the hInstance of WinMain so I would be able to use it later in some other module. So how do I accomplish that ?

Re: dmd linker (OPTLINK) gives Error 42: Symbol Undefined when using extern

2011-12-25 Thread Joshua Reusch
Am 25.12.2011 22:37, schrieb Tal: I want to save the hInstance of WinMain so I would be able to use it later in some other module. So how do I accomplish that ? just define a public variable in the global scope.

Re: dmd linker (OPTLINK) gives Error 42: Symbol Undefined when using extern

2011-12-25 Thread Tal
I'm quite new to this language, could you please provide a short snippet of code to clarify ?

Re: dmd linker (OPTLINK) gives Error 42: Symbol Undefined when using extern

2011-12-25 Thread Joshua Reusch
Am 25.12.2011 23:26, schrieb Tal: I'm quite new to this language, could you please provide a short snippet of code to clarify ? --- a.d: import std.stdio; import b; void main() { writeln(some_var from Module b: \, b.some_var, \); } --- b.d: public string some_var = Hello, world!; //you

Re: dmd linker (OPTLINK) gives Error 42: Symbol Undefined when using extern

2011-12-25 Thread Joshua Reusch
Am 25.12.2011 22:37, schrieb Tal: I want to save the hInstance of WinMain so I would be able to use it later in some other module. So how do I accomplish that ? If you don't know: You can also get the HINSTANCE with GetModuleHandle(NULL);

Re: dmd linker (OPTLINK) gives Error 42: Symbol Undefined when using extern

2011-12-25 Thread Jakob Ovrum
On Sunday, 25 December 2011 at 22:46:33 UTC, Joshua Reusch wrote: public string some_var = Hello, world!; It's important to note that public is the default access level here.

Error 1: Previous Definition Different, Error 42: Symbol Undefined

2009-06-09 Thread Joel Christensen
\bin\..\lib\SNN.lib(cinit) Offset 08C2CH Record Type 0090 Error 1: Previous Definition Different : _errno main.obj(main) Error 42: Symbol Undefined _D22TypeInfo_C3jec3snd3Snd6__initZ

Re: my first link error: Error 42: Symbol Undefined __moduleUnitTests

2009-03-02 Thread Sergey Gromov
Fri, 27 Feb 2009 20:37:56 -0500, Fei wrote: I'm trying to compile my first d sample, winsamp.d, using dmd 2.025 for windows. dmd winsamp.d gdi32.lib everything seem ok but I got a link error : Error 42: Symbol Undefined __moduleUnitTests what lib should I include for moduleUnitTetst

my first link error: Error 42: Symbol Undefined __moduleUnitTests

2009-02-27 Thread Fei
I'm trying to compile my first d sample, winsamp.d, using dmd 2.025 for windows. dmd winsamp.d gdi32.lib everything seem ok but I got a link error : Error 42: Symbol Undefined __moduleUnitTests what lib should I include for moduleUnitTetst?

Re: my first link error: Error 42: Symbol Undefined __moduleUnitTests

2009-02-27 Thread Jarrett Billingsley
On Fri, Feb 27, 2009 at 8:37 PM, Fei flyin...@gmail.com wrote: I'm trying to compile my first d sample, winsamp.d, using dmd 2.025 for windows. dmd winsamp.d gdi32.lib everything seem ok but I got a link error : Error 42: Symbol Undefined __moduleUnitTests what lib should I include