www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - DerelictAL Symbol undefined

reply "Jack" <Jackoz530 gmail.com> writes:
Code: http://pastebin.com/pQjH3jRs

Error code is this:

Error 42: Symbol Undefined
_D3std7windows8syserror14sysErrorStringFNekZAya
--- errorlevel 1

I'm currently using Xamarin Studio and the compiler spewed this
error out.

I searched around and it said that it had to do with my phobos
installation...
Though my previous project(that used curl and a sql driver)
worked without a problem whatsoever. Anyone can point me to the
right direction?
May 19 2014
parent reply Mike Parker <aldacron gmail.com> writes:
On 5/19/2014 10:59 PM, Jack wrote:
 Code: http://pastebin.com/pQjH3jRs

 Error code is this:

 Error 42: Symbol Undefined
 _D3std7windows8syserror14sysErrorStringFNekZAya
 --- errorlevel 1

 I'm currently using Xamarin Studio and the compiler spewed this
 error out.

 I searched around and it said that it had to do with my phobos
 installation...
 Though my previous project(that used curl and a sql driver)
 worked without a problem whatsoever. Anyone can point me to the
 right direction?
These sort of errors often occur when you are linking with libraries that are compiled with a different version of DMD (though, usually, they involve the Object class or ModuleInfo). There are a number of possible causes. Maybe someone more familiar with MonoD has seen a similar issue. I haven't, so I can really do is guess. However, there are several things you can check on your end in the meantime. Some possibilities off the top of my head... I understand that MonoD can use dub to manage the project. Is that what you are doing here? If not, did you build the Derelict libraries from the command line? Do you have multiple versions of DMD installed? Did you recently replace an older version with a newer one? Are you able to compile the file from the command line (assuming you have dub installed, set up a simple dub.json and try it out)?
May 19 2014
parent reply "Jack" <Jackoz530 gmail.com> writes:
On Monday, 19 May 2014 at 15:15:37 UTC, Mike Parker wrote:
 Do you have multiple versions of DMD installed? Did you 
 recently replace an >older version with a newer one?
I think this is the main issue. I'll try to reinstall dmd2 again.
May 19 2014
parent "Jack" <Jackoz530 gmail.com> writes:
On Tuesday, 20 May 2014 at 00:43:03 UTC, Jack wrote:
 On Monday, 19 May 2014 at 15:15:37 UTC, Mike Parker wrote:
 Do you have multiple versions of DMD installed? Did you 
 recently replace an >older version with a newer one?
I think this is the main issue. I'll try to reinstall dmd2 again.
The main problem was the Derelict Libraries not being compatible with the latest compiler. So I just re downloaded it from the main site.
May 19 2014