1. Grant Singleton
  2. Valentina Database ADK
  3. Воскресенье, Октябрь 09 2016, 09:00 AM
  4.  Подписаться через 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
Комментарий
There are no comments made yet.
Ruslan Zasukhin Ответ принят
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.
Комментарий
There are no comments made yet.
Grant Singleton Ответ принят
Thanks for your reply. Working now. Possibly must have inadvertently installed x64 instead of x86.

Thanks again.
Grant
Комментарий
There are no comments made yet.
Ruslan Zasukhin Ответ принят
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
Комментарий
There are no comments made yet.
Ruslan Zasukhin Ответ принят
Aha, compile error is shown - let me check with guys

What version of VSDK you have installed?
Комментарий
There are no comments made yet.
Ruslan Zasukhin Ответ принят
But note, Win32 Debug

Most probably you have installed VSDK x64 to Win64
right?

Switch menu Configuration to x64
Комментарий
There are no comments made yet.
Grant Singleton Ответ принят
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...
Комментарий
There are no comments made yet.
Ruslan Zasukhin Ответ принят
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.
Комментарий
There are no comments made yet.
  • Страница :
  • 1


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

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories