YutaItoh / 3D-Eye-Tracker

MIT License
348 stars 103 forks source link

Unable to start program #27

Open JulianSL opened 4 years ago

JulianSL commented 4 years ago

I'm using Visual Studio 2019 to compile the program and got an error message when trying to debug the program. image

In the output log, got an output: 1>------ Build started: Project: main, Configuration: Debug x64 ------ 1>main.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately.

NuncObdurat commented 4 years ago

Check that your OS and compiler are both 64 bit.

JulianSL commented 4 years ago

My OS is Windows 10 64bit and the compiler are x64 to

NuncObdurat commented 4 years ago

Hmm... Maybe check to see if you selected the right compiler during the build process (i.e. step 4 in the instructions). You may have selected the wrong compiler there.

JulianSL commented 4 years ago

This is my configuration in CMAKE

Screenshot_6

alitoufighi commented 4 years ago

@JulianSL Set main project as startup project in Visual Studio, then try again. In "ALL_BUILD" project there is only CMakeLists.txt which is not a valid c++ project, and if you check the last lines of your log, you could see that building this project was skipped, hence there is no file to execute.

Lukeskywalker147 commented 3 years ago

@JulianSL from source code->docs->cmake-2.png may show you the recommended compiler.