Zentitle SDK and Library
Visual Studio Information

General Overview:

The various example programs can be built by creating a "win32 console application", importing the necessary files (see the file listings below) and building. One caveat is the header file inttypes.h. Prior to VS2015 this header file was either missing completely from Visual Studio or was incomplete. An opensource version of this header file has been included with the SDK. You are free to use this header file and it will work with all past and present versions of the SDK. Alternatively, if you are using VS2015 or newer you can use the inttypes.h file included with your system.

Currently in VS2017 for x86_64 builds you will need to add WIN32 to the project's preprocessor defintions.

See README.ckit for using VS2017 with cmake to build ckit.

Binaries and their required files

Project Creation

Open Visual Studio and from the File->new->project menu select new. Select "Win32 Console Application" then choose a name for your project and a storage location. In the "Win32 Application Wizard" pop-up select "next" and in the resulting frame, under "Additional options" select "Empty project" and "finish".

In the Visual Studio "Solution Explorer" right click on your solution and choose Add->Existing Item and select all the files listed above for the binary you wish to compile.

Finally, right click on your solution and select "properties" from the resulting menu. The "Property Pages" window will open. From it

1.) Select "C/C++" -> General and in the "Additional Include Directories" on the right add your source directory (ie some\path\CSDK\src). Select "Apply" at the bottom of the page.

2.) Optional Select "C/C++" -> Advanced and enter 4996 into the "Disable Specific Warnings" box on the right. Select "Apply" at the bottom of the page. Microsoft renamed many of the POSIX standard function names. This action disables a warning for each function which is called with its POSIX name rather than the new names Microsoft asigned them. As the Nalpeiron libraries as POSIX complient all Nalpeiron code uses the POSIX names. The resulting spurious error messages hide meaningful errors and it is highly recommended that you suppress them. NOTE This step is not optional in VS2017 as C4996 has been promoted to an error.