Thank you!
I created a main.cpp within src folder and copied the code block from the “First-Project” link that you provided. I presume this is what you intended as your instructions were vague. I apologise. I created this thread asking for an “idiots guide” because the instructions provided from the start to start my first project have been completely vague. I am getting information in dips and when I follow them to the letter, as you would expect from a computer, always result in errors. I do find it odd that programmers who understand how specific you have to be to programme a computer fail to write a guide to the same standard.
Please accept the log from the attempt…
The system is: Windows - 10.0.18362 - AMD64
Compiling the C compiler identification source file “CMakeCCompilerId.c” succeeded.
Compiler:
Build flags:
Id flags:
The output was:
0
Microsoft ® Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright © Microsoft Corporation. All rights reserved.
Build started 06/04/2020 05:32:26.
Project “X:\Urho3D\Projects_T3\build\CMakeFiles\3.17.0-rc3\CompilerIdC\CompilerIdC.vcxproj” on node 1 (default targets).
PrepareForBuild:
Creating directory “Debug”.
Creating directory “Debug\CompilerIdC.tlog”.
InitializeBuildStatus:
Creating “Debug\CompilerIdC.tlog\unsuccessfulbuild” because “AlwaysCreate” was specified.
ClCompile:
Y:\Games\Microsoft Visual Studio\IDE\VC\Tools\MSVC\14.24.28314\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c
CMakeCCompilerId.c
Link:
Y:\Games\Microsoft Visual Studio\IDE\VC\Tools\MSVC\14.24.28314\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:“level=‘asInvoker’ uiAccess=‘false’” /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
CompilerIdC.vcxproj -> X:\Urho3D\Projects_T3\build\CMakeFiles\3.17.0-rc3\CompilerIdC.\CompilerIdC.exe
PostBuildEvent:
for %%i in (cl.exe) do
@echo
CMAKE_C_COMPILER=%%~$PATH:i
:VCEnd
CMAKE_C_COMPILER=Y:\Games\Microsoft Visual Studio\IDE\VC\Tools\MSVC\14.24.28314\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
Deleting file “Debug\CompilerIdC.tlog\unsuccessfulbuild”.
Touching “Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate”.
Done Building Project “X:\Urho3D\Projects_T3\build\CMakeFiles\3.17.0-rc3\CompilerIdC\CompilerIdC.vcxproj” (default targets).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:01.36
Compilation of the C compiler identification source “CMakeCCompilerId.c” produced “CompilerIdC.exe”
Compilation of the C compiler identification source “CMakeCCompilerId.c” produced “CompilerIdC.vcxproj”
The C compiler identification is MSVC, found in “X:/Urho3D/Projects/_T3/build/CMakeFiles/3.17.0-rc3/CompilerIdC/CompilerIdC.exe”
Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” succeeded.
Compiler:
Build flags:
Id flags:
The output was:
0
Microsoft ® Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright © Microsoft Corporation. All rights reserved.
Build started 06/04/2020 05:32:28.
Project “X:\Urho3D\Projects_T3\build\CMakeFiles\3.17.0-rc3\CompilerIdCXX\CompilerIdCXX.vcxproj” on node 1 (default targets).
PrepareForBuild:
Creating directory “Debug”.
Creating directory “Debug\CompilerIdCXX.tlog”.
InitializeBuildStatus:
Creating “Debug\CompilerIdCXX.tlog\unsuccessfulbuild” because “AlwaysCreate” was specified.
ClCompile:
Y:\Games\Microsoft Visual Studio\IDE\VC\Tools\MSVC\14.24.28314\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue CMakeCXXCompilerId.cpp
CMakeCXXCompilerId.cpp
Link:
Y:\Games\Microsoft Visual Studio\IDE\VC\Tools\MSVC\14.24.28314\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:“level=‘asInvoker’ uiAccess=‘false’” /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj
CompilerIdCXX.vcxproj -> X:\Urho3D\Projects_T3\build\CMakeFiles\3.17.0-rc3\CompilerIdCXX.\CompilerIdCXX.exe
PostBuildEvent:
for %%i in (cl.exe) do
@echo
CMAKE_CXX_COMPILER=%%~$PATH:i
:VCEnd
CMAKE_CXX_COMPILER=Y:\Games\Microsoft Visual Studio\IDE\VC\Tools\MSVC\14.24.28314\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
Deleting file “Debug\CompilerIdCXX.tlog\unsuccessfulbuild”.
Touching “Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate”.
Done Building Project “X:\Urho3D\Projects_T3\build\CMakeFiles\3.17.0-rc3\CompilerIdCXX\CompilerIdCXX.vcxproj” (default targets).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.69
Compilation of the CXX compiler identification source “CMakeCXXCompilerId.cpp” produced “CompilerIdCXX.exe”
Compilation of the CXX compiler identification source “CMakeCXXCompilerId.cpp” produced “CompilerIdCXX.vcxproj”
The CXX compiler identification is MSVC, found in “X:/Urho3D/Projects/_T3/build/CMakeFiles/3.17.0-rc3/CompilerIdCXX/CompilerIdCXX.exe”
Determining if the C compiler works passed with the following output:
Change Dir: X:/Urho3D/Projects/_T3/build/CMakeFiles/CMakeTmp
Run Build Command(s):Y:/Games/Microsoft Visual Studio/IDE/MSBuild/Current/Bin/MSBuild.exe cmTC_cc479.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft ® Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright © Microsoft Corporation. All rights reserved.
Microsoft ® C/C++ Optimizing Compiler Version 19.24.28314 for x64
testCCompiler.c
Copyright © Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D “CMAKE_INTDIR=“Debug”” /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_cc479.dir\Debug\" /Fd"cmTC_cc479.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue X:\Urho3D\Projects_T3\build\CMakeFiles\CMakeTmp\testCCompiler.c
cmTC_cc479.vcxproj -> X:\Urho3D\Projects_T3\build\CMakeFiles\CMakeTmp\Debug\cmTC_cc479.exe
Detecting C compiler ABI info compiled with the following output:
Change Dir: X:/Urho3D/Projects/_T3/build/CMakeFiles/CMakeTmp
Run Build Command(s):Y:/Games/Microsoft Visual Studio/IDE/MSBuild/Current/Bin/MSBuild.exe cmTC_671bf.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft ® Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright © Microsoft Corporation. All rights reserved.
Microsoft ® C/C++ Optimizing Compiler Version 19.24.28314 for x64
CMakeCCompilerABI.c
Copyright © Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D “CMAKE_INTDIR=“Debug”” /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_671bf.dir\Debug\" /Fd"cmTC_671bf.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue “Y:\Program Files\CMake\share\cmake-3.17\Modules\CMakeCCompilerABI.c”
cmTC_671bf.vcxproj -> X:\Urho3D\Projects_T3\build\CMakeFiles\CMakeTmp\Debug\cmTC_671bf.exe
Determining if the CXX compiler works passed with the following output:
Change Dir: X:/Urho3D/Projects/_T3/build/CMakeFiles/CMakeTmp
Run Build Command(s):Y:/Games/Microsoft Visual Studio/IDE/MSBuild/Current/Bin/MSBuild.exe cmTC_bb7cd.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft ® Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright © Microsoft Corporation. All rights reserved.
Microsoft ® C/C++ Optimizing Compiler Version 19.24.28314 for x64
testCXXCompiler.cxx
Copyright © Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D “CMAKE_INTDIR=“Debug”” /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_bb7cd.dir\Debug\" /Fd"cmTC_bb7cd.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue X:\Urho3D\Projects_T3\build\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
cmTC_bb7cd.vcxproj -> X:\Urho3D\Projects_T3\build\CMakeFiles\CMakeTmp\Debug\cmTC_bb7cd.exe
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: X:/Urho3D/Projects/_T3/build/CMakeFiles/CMakeTmp
Run Build Command(s):Y:/Games/Microsoft Visual Studio/IDE/MSBuild/Current/Bin/MSBuild.exe cmTC_55c1b.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft ® Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright © Microsoft Corporation. All rights reserved.
Microsoft ® C/C++ Optimizing Compiler Version 19.24.28314 for x64
CMakeCXXCompilerABI.cpp
Copyright © Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D “CMAKE_INTDIR=“Debug”” /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_55c1b.dir\Debug\" /Fd"cmTC_55c1b.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue “Y:\Program Files\CMake\share\cmake-3.17\Modules\CMakeCXXCompilerABI.cpp”
cmTC_55c1b.vcxproj -> X:\Urho3D\Projects_T3\build\CMakeFiles\CMakeTmp\Debug\cmTC_55c1b.exe