VisualD how to create a 64-bit shared library project

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Mon Feb 29 00:39:42 PST 2016



On 27.02.2016 11:47, Dibyendu Majumdar wrote:
> On Sunday, 21 February 2016 at 17:43:52 UTC, Rainer Schuetze wrote:
>>
>> Yes, just open the "Configuration Manager" and add a new platform
>> "x64" to the project configurations.
>
> Thanks Rainer - when I tried this I still got an error. When adding a
> new x64 platform the only options are to copy settings from win32 or
> empty - I selected copy from win32.

What error? Copying from Win32 should be fine.

>
> Today I tried the same process but with a Console App as the project
> type and that appears to have worked. I will retry generating a shared
> library but I was wondering if you could advise any other settings I
> need to tweak?

One thing might be the output directory. Most templates just use 
$(ConfigurationName), but that makes both Win32 and x64 use the same 
directory. This can cause build issues. You might want to use something 
like $(ConfigurationName)-$(PlatformName) instead.



More information about the Digitalmars-d-ide mailing list