Search code examples
c++visual-studio-2013compilation

How to compile source C++ code that doesn't have a project file?


I have just started learning more about C/C++ and I am using Visual Studio 2013 to manage the code.

A project I am working on to use the Tobii EyeX eye gaze system requires me to be able to tweak this code slightly, however I do not understand how I can compile this code to an exe file without a Microsoft Visual Studio project file. This is that code:

https://github.com/MastaLomaster/bkb

In the source folder you see all the project's files but not an actual project file. How would I go about compiling this code? Where do I start? I can not seem to be able to load this is Visual Studio at all - the programmer of the code says (at the bottom of the Github page):

Compiling the source codes As for now, you have to use Microsoft Visual Studio 2012 (latest update preferred)...


Solution

  • Either create a makefile(if no makefile is exist) for visual studio using nmake or you can use the suggestion provided in this link.

    Additionally you can create a project by adding these codes as source. follow this link.