digitalmars.D.learn - AMD & Windows 7
- Chris (2/2) Jun 12 2015 Has anyone run into problems with D on AMD processors? I'm
- Rikki Cattermole (2/4) Jun 12 2015 Have you checked the issue tracker?
- weaselcat (2/4) Jun 12 2015 Can you be any more specific? What kind of problems?
- Chris (7/11) Jun 12 2015 A DLL in D is loaded into a Python program, but not recognized
- Alex Parrill (2/14) Jun 12 2015 That's an error in your Python code.
- Chris (9/24) Jun 12 2015 I wish it were an error in the Python code so I could fix it, but
- Benjamin Thaut (11/20) Jun 12 2015 That sounds more like its the software installed on the machine
- Chris (8/30) Jun 12 2015 Thanks, I will look into it.
Has anyone run into problems with D on AMD processors? I'm talking about Windows 7 on a HP625 laptop in particular.
Jun 12 2015
On 12/06/2015 10:54 p.m., Chris wrote:Has anyone run into problems with D on AMD processors? I'm talking about Windows 7 on a HP625 laptop in particular.Have you checked the issue tracker?
Jun 12 2015
On Friday, 12 June 2015 at 10:54:46 UTC, Chris wrote:Has anyone run into problems with D on AMD processors? I'm talking about Windows 7 on a HP625 laptop in particular.Can you be any more specific? What kind of problems?
Jun 12 2015
On Friday, 12 June 2015 at 12:41:23 UTC, weaselcat wrote:On Friday, 12 June 2015 at 10:54:46 UTC, Chris wrote:A DLL in D is loaded into a Python program, but not recognized later. It says: "NoneType doesn't have method called..." It's only on this machine (or processor?). I recompiled it on the machine, but I still get the same error. Unfortunately, we only have Intel processors, so I cannot test it on other AMD processors.Has anyone run into problems with D on AMD processors? I'm talking about Windows 7 on a HP625 laptop in particular.Can you be any more specific? What kind of problems?
Jun 12 2015
On Friday, 12 June 2015 at 13:16:32 UTC, Chris wrote:On Friday, 12 June 2015 at 12:41:23 UTC, weaselcat wrote:That's an error in your Python code.On Friday, 12 June 2015 at 10:54:46 UTC, Chris wrote:A DLL in D is loaded into a Python program, but not recognized later. It says: "NoneType doesn't have method called..." It's only on this machine (or processor?). I recompiled it on the machine, but I still get the same error. Unfortunately, we only have Intel processors, so I cannot test it on other AMD processors.Has anyone run into problems with D on AMD processors? I'm talking about Windows 7 on a HP625 laptop in particular.Can you be any more specific? What kind of problems?
Jun 12 2015
On Friday, 12 June 2015 at 14:20:58 UTC, Alex Parrill wrote:On Friday, 12 June 2015 at 13:16:32 UTC, Chris wrote:I wish it were an error in the Python code so I could fix it, but it works on all other machines (at least those with Intel). It's only on the HP625 with AMD that this error occurs. Another DLL (which isn't mine) also failed to load, although with a different error message. It might be just this particular model, or AMD, I dunno. I couldn't find anything about it on the internet. Atm I'm using dmd 2.067.1, maybe compiling with GDC or LDC will fix it.On Friday, 12 June 2015 at 12:41:23 UTC, weaselcat wrote:That's an error in your Python code.On Friday, 12 June 2015 at 10:54:46 UTC, Chris wrote:A DLL in D is loaded into a Python program, but not recognized later. It says: "NoneType doesn't have method called..." It's only on this machine (or processor?). I recompiled it on the machine, but I still get the same error. Unfortunately, we only have Intel processors, so I cannot test it on other AMD processors.Has anyone run into problems with D on AMD processors? I'm talking about Windows 7 on a HP625 laptop in particular.Can you be any more specific? What kind of problems?
Jun 12 2015
On Friday, 12 June 2015 at 14:39:55 UTC, Chris wrote:I wish it were an error in the Python code so I could fix it, but it works on all other machines (at least those with Intel). It's only on the HP625 with AMD that this error occurs. Another DLL (which isn't mine) also failed to load, although with a different error message. It might be just this particular model, or AMD, I dunno. I couldn't find anything about it on the internet. Atm I'm using dmd 2.067.1, maybe compiling with GDC or LDC will fix it.That sounds more like its the software installed on the machine and not the processor. Are you sure that all microsoft runtime libraries are installed? If you did use the vs 2012 linker to create the D-dll you need to install this redistributable package: http://www.microsoft.com/en-US/download/details.aspx?id=30679 Did you run Depends on the dll? Usually depends will tell you why the dll does not load: http://www.dependencywalker.com/ Kind Regards Benjamin Thaut
Jun 12 2015
On Friday, 12 June 2015 at 14:55:15 UTC, Benjamin Thaut wrote:On Friday, 12 June 2015 at 14:39:55 UTC, Chris wrote:Thanks, I will look into it. The problem is that I don't have the machine anymore (had to return it to user). The weird thing is that the DLL loads correctly (else there would be an error message in the log file), but is a NoneType (i.e. null) when methods are called (e.g. mydll.getSomething()). If it were not loaded, it wouldn't even come to the point at which it calls functions in the DLL.I wish it were an error in the Python code so I could fix it, but it works on all other machines (at least those with Intel). It's only on the HP625 with AMD that this error occurs. Another DLL (which isn't mine) also failed to load, although with a different error message. It might be just this particular model, or AMD, I dunno. I couldn't find anything about it on the internet. Atm I'm using dmd 2.067.1, maybe compiling with GDC or LDC will fix it.That sounds more like its the software installed on the machine and not the processor. Are you sure that all microsoft runtime libraries are installed? If you did use the vs 2012 linker to create the D-dll you need to install this redistributable package: http://www.microsoft.com/en-US/download/details.aspx?id=30679 Did you run Depends on the dll? Usually depends will tell you why the dll does not load: http://www.dependencywalker.com/ Kind Regards Benjamin Thaut
Jun 12 2015