Visual Studio Community Edition and Fu7 SDK

User avatar
pingking
Fusionista
Posts: 733
Joined: Thu Aug 14, 2014 9:10 am
Been thanked: 9 times

Visual Studio Community Edition and Fu7 SDK

#1

Post by pingking » Sun May 31, 2015 2:24 pm

hi,

did anybody some work with the Fu7 SDK and VS 2013 Community Edition?

i installed now the VS2013 Community Edition and tried to compile some of my plugins against the Fu7 SDK but i get a lot of errors. even if i try to compile the SDK examples i get a lot of errors.

should it work?

User avatar
PeterLoveday
Fusioneer
Posts: 147
Joined: Sun Sep 14, 2014 6:09 pm
Answers: 6
Been thanked: 16 times

Re: Visual Studio Community Edition and Fu7 SDK

#2

Post by PeterLoveday » Tue Jun 02, 2015 3:53 pm

Could you elaborate on what errors you are seeing?

You may need to install MBCS support (https://www.microsoft.com/en-us/downloa ... x?id=40770) ?

Love, Light and Peace,
- Peter Loveday

User avatar
pingking
Fusionista
Posts: 733
Joined: Thu Aug 14, 2014 9:10 am
Been thanked: 9 times

Re: Visual Studio Community Edition and Fu7 SDK

#3

Post by pingking » Sat Jun 06, 2015 2:47 pm

i justed installed the community edition, opended the SDK example project and tried to compile the Sample_Brightness plugin

1>------ Build started: Project: Sample_Brightness, Configuration: Debug x64 ------
1> Sample_Brightness.cpp
1>c:\users\michael\downloads\fusionsdk_7.0.0.1435\fusionsdk_7.0.0.1435\fusionsdk_7.0.0.1435\include\Text.h(31): error C2440: 'type cast' : cannot convert from 'const CString' to 'const char *'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

User avatar
bfloch
Fusioneer
Posts: 91
Joined: Wed Aug 06, 2014 4:25 pm
Been thanked: 4 times

Re: Visual Studio Community Edition and Fu7 SDK

#4

Post by bfloch » Wed Jun 10, 2015 6:52 am

I did not try with the community edition but with 2013 professional, and the MFC lib Peter mentioned it works as expected.
It is part of the SDK user guide how to set it up.

I'd assume that the project is setup correctly by default but after installing the library check that Project Properties -> General -> Character Set is set to "Use Multi-Byte Character Set"

User avatar
pingking
Fusionista
Posts: 733
Joined: Thu Aug 14, 2014 9:10 am
Been thanked: 9 times

Re: Visual Studio Community Edition and Fu7 SDK

#5

Post by pingking » Thu Jun 11, 2015 3:17 am

thanks all, now everything works