1. Grant Singleton
  2. Valentina Database ADK
  3. Sonntag, Oktober 09 2016, 09:00 AM
  4.  Abonnieren via E-Mail
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
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
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.
Kommentar
There are no comments made yet.
Grant Singleton Akzeptierte Antwort
Thanks for your reply. Working now. Possibly must have inadvertently installed x64 instead of x86.

Thanks again.
Grant
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
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
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
Aha, compile error is shown - let me check with guys

What version of VSDK you have installed?
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
But note, Win32 Debug

Most probably you have installed VSDK x64 to Win64
right?

Switch menu Configuration to x64
Kommentar
There are no comments made yet.
Grant Singleton Akzeptierte Antwort
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...
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
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.
Kommentar
There are no comments made yet.
  • Seite :
  • 1


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