지원 프로그램
home
슬기로운 데모생활
home

Configure Project Settings

생성일
2024/03/14 05:07
태그
From the PC SDK download page, download the latest version of the Native (C/C++) distribution file (starting now referred to as StovePCSDK). After downloading and unpacking, copy the entire file under the HelloStove_Native folder.
After StovePCSDK copy is complete, run Visual Studio and select HelloStove.sln to load the project.

1. C/C++ : Additional Include Directories Settings

Open the project property page (Alt + F7) and add the path StovePCSDK_{version number}/include to Additional include directories in the C/C++ configuration properties.
$(SolutionDir)StovePCSDK_2.1.0\include
C++
복사

2. Linker : Additional Library Directories Settings

Add the path to the folder StovePCSDK_{version number}/bin in the Additional library directory of the Linker-General configuration property on the project property page.
$(SolutionDir)StovePCSDK_2.1.0\bin\$(Platform)\$(Configuration)
C++
복사

3. Additional Dependencies Settings

Add StovePCSDK.lib to the project property page’s Additional Dependencies.
StovePCSDK.lib
C++
복사
After following up to this point, build the project and check whether any errors occur. If an error occurs, check the above steps to solve the problem.

4. Modifying HelloStoveDlg.h header file

Open the HelloStoveDlg.h file of the HelloStove project and add the code below.
#pragma once#include "afxwin.h" /*Add the 'Follow Through' code here.*/ #include "StovePCSDK.h"
C++
복사

5. Building

Run Build Solution from the Build menu. If you have done all the settings in the previous tutorial, it will generally build without any errors. If a build error occurs, check the error message and check whether there is an error in the path of the project settings or missing in the StovePCSDK file copy.