Thread overview
VisualD how to create a 64-bit shared library project
Feb 21, 2016
Dibyendu Majumdar
Feb 21, 2016
Rainer Schuetze
Feb 27, 2016
Dibyendu Majumdar
Feb 29, 2016
Rainer Schuetze
February 21, 2016
Hi

I used the project wizard to create a Shared Library project. I am using Visual Studio 2015 on Windows 10 64-bit. The generated project only has 32-bit configured. Does VisualD support 64-bit configuration?

Regards
Dibyendu
February 21, 2016

On 21.02.2016 15:38, Dibyendu Majumdar wrote:
> Hi
>
> I used the project wizard to create a Shared Library project. I am using
> Visual Studio 2015 on Windows 10 64-bit. The generated project only has
> 32-bit configured. Does VisualD support 64-bit configuration?

Yes, just open the "Configuration Manager" and add a new platform "x64" to the project configurations.
February 27, 2016
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.

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?

Regards
Dibyendu

February 29, 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.