Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7937953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:39:59+00:00 2026-06-03T22:39:59+00:00

I am trying to get started with Cmake and started with a simple tutorial

  • 0

I am trying to get started with Cmake and started with a simple tutorial found on the site. The c++ code is as simple as possible here:

#include <iostream>

int main(int argc, char *argv[])
{
std::cout << "Hello, World!" << std::endl;
return 0;
}

The Cmake file is:

cmake_minimum_required (VERSION 2.6)
project (Tutorial)
add_executable(Tutorial main.cpp)

I generate the Visual Studio C++ solution and project files using the cmake-gui. I am able to build the project, but when I try to run the project I get a prompt stating that the ZERO_CHECK project is out of date and asks if I would like to rebuild it. When I select ‘Yes’ I get an error stating: ‘Unable to start program ..Path../Debug/ALL_BUILD The system cannot find the file specified’. I did a lot of searching but was unable to find anyone who has had a similar error. Has anyone encountered something like this before?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T22:40:01+00:00Added an answer on June 3, 2026 at 10:40 pm

    Usually CMake sets the ALL_BUILD project as the startup project. You should right click on your Tutorial project in the solution explorer and set it as startup project. Then it should work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get started with the C++ API for SQLite. #include <iostream> #include
I am trying to get started on opengl programming from the videotutorialsrock.com site. It
Trying to get started with subsonic but have a simple question about stored procedures
I'm trying to get started with EC2 running a django site on a micro-linux
I'm trying to get started with spine.js following the steps here: http://spinejs.com/docs/started When i
I am trying to get started with WebSockets, and trying to write a simple
Trying to get started with Amazon SNS. API is very simple REST. I seem
Im trying to get started with silverlight for wp7 and I understand its Silverlight
I am trying to get started with scons . I have Python 3.0.1 and
I'm trying to get started with Hibernate, and when executing my program I get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.