1. Grant Singleton
  2. Valentina Database ADK
  3. Sunday, October 09 2016, 09:00 AM
  4.  Subscribe via email
Can anyone please advise how to setup VSDK C++ for Visual Studio so that I can compile some of the example projects?

Please be easy on me. I'm still learning.

Cheers
Grant
Comment
There are no comments made yet.
Ruslan Zasukhin Accepted Answer
Hi Grant,

1) do you mean that you have open Examples.sln
and it not compiles for you?
If yes, then what errors you see?

Examples should work from scratch.
MAY BE - please check this, you have install VSDK x64,
but in examples Win32 is selected -- this is the top middle menu in toolbar of visual.


2) This tutorial explains major steps todo to start a new project, add VSDK libs, the first lines of code.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 1
Grant Singleton Accepted Answer
Still not working after checking the tutorial.

Build errors:

1>------ Build started: Project: Common_Init_Shutdown, Configuration: Debug Win32 ------
1> stdafx.cpp
1> Examples.cpp
1>c:\users\csnsw\documents\paradigma software\vsdk_6\sources\vclient\publ\headers\vclient.h(39): error C2143: syntax error : missing ';' before 'namespace'
1>c:\users\csnsw\documents\paradigma software\vsdk_6\sources\vclient\publ\headers\vclient.h(39): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1> Init_Shutdown.cpp
1>c:\users\csnsw\documents\paradigma software\vsdk_6\sources\vclient\publ\headers\vclient.h(39): error C2143: syntax error : missing ';' before 'namespace'
1>c:\users\csnsw\documents\paradigma software\vsdk_6\sources\vclient\publ\headers\vclient.h(39): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1> Generating Code...
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 2
Ruslan Zasukhin Accepted Answer
But note, Win32 Debug

Most probably you have installed VSDK x64 to Win64
right?

Switch menu Configuration to x64
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 3
Ruslan Zasukhin Accepted Answer
Aha, compile error is shown - let me check with guys

What version of VSDK you have installed?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 4
Ruslan Zasukhin Accepted Answer
I downloaded latest 6.6.1 x64 and installed it
Then opened Example.sln

* Choose x64 Debug -- all right success
* Choose Win32 -- link error (this is okay because VSDK32 is not installed) but there is no compile error as you have.

May be you have older VSDK archive?
Try please reinstall latest
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 5
Grant Singleton Accepted Answer
Thanks for your reply. Working now. Possibly must have inadvertently installed x64 instead of x86.

Thanks again.
Grant
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 6
Ruslan Zasukhin Accepted Answer
okay, this issue I will mark as solved.

Any other questions please start as another thread :)

I think you will have yet some questions on C++

Make sure you have see in WIKI section about VSDK, it gives some points.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.