1

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)...

halfer
  • 19,824
  • 17
  • 99
  • 186
Mohammad
  • 7,344
  • 15
  • 48
  • 76
  • 1
    You import the source into a new project file as existing items. – πάντα ῥεῖ Jan 30 '15 at 11:24
  • 1
    possible duplicate of [Microsoft Visual C++, compiling small source codes without project file](http://stackoverflow.com/questions/4393740/microsoft-visual-c-compiling-small-source-codes-without-project-file) –  Jan 30 '15 at 11:25
  • Figure out if a makefile exists in source code. Visual Studio supports makefiles. – Alexander Perechnev Jan 30 '15 at 11:27
  • Remember I am a absolute beginner. I am coming from a world of run time program languages and that perspective. When I am looking at this src folder https://github.com/MastaLomaster/bkb/tree/master/source is there a Index file that everything starts with? – Mohammad Jan 30 '15 at 11:29
  • @πάνταῥεῖ Thank you I will try that. – Mohammad Jan 30 '15 at 11:30
  • @Poldie Thank you. I've seen and read that question. If there are some answers that answer my questions there, they are far too complex for a beginner to understand. For example in my case, which file is the file that I ask the command prompt to compile? In the languages I am familiar with there is always an Index or go to file that initiates everything, how does one know which file that is this folder? https://github.com/MastaLomaster/bkb/tree/master/source – Mohammad Jan 30 '15 at 11:33

1 Answers1

3

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.

Community
  • 1
  • 1
Naseef Chowdhury
  • 2,357
  • 3
  • 28
  • 52