C++ additional support needed, simple program for Lesson01
Budget: €8 – €30 EUR
I have a very short program Visual Studio 2022 Windows 11.
I want to move it to a completely new project, ultimately to MFC, but now it has to compile as a Command Line program and that's where the problems start.
#include "stdafx.h"
#include "mwgeolibif.hpp"
#include <iostream>
int main()
{
mwGeoLib::Ptr geoLib = new mwGeoLib(measures::mwUnitsFactory::METRIC, 1);
std::cout << "Hello World" << std::endl;
// Waiting for a key to be entered before ending the program
std::cout << "Press any key to continue..." << std::endl;
std::cin.get();
return 0;
}
and it uses an external folder where the lib and hpp files are
Problems:
I see that in this project the External Dependencies files are displayed, but mine are not, and the program, although it contains the same instructions, does not want to compile.
Of course, I also give it the paths, I copied the directories, but it does not work for me.
I want to move it to a completely new project, ultimately to MFC, but now it has to compile as a Command Line program and that's where the problems start.
#include "stdafx.h"
#include "mwgeolibif.hpp"
#include <iostream>
int main()
{
mwGeoLib::Ptr geoLib = new mwGeoLib(measures::mwUnitsFactory::METRIC, 1);
std::cout << "Hello World" << std::endl;
// Waiting for a key to be entered before ending the program
std::cout << "Press any key to continue..." << std::endl;
std::cin.get();
return 0;
}
and it uses an external folder where the lib and hpp files are
Problems:
I see that in this project the External Dependencies files are displayed, but mine are not, and the program, although it contains the same instructions, does not want to compile.
Of course, I also give it the paths, I copied the directories, but it does not work for me.