Windows 10 64-bit: Cannot find GLUT

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
the_mtn_who_glides
Merchant
Merchant
Posts: 51
Joined: Thu Aug 29, 2019 2:07 pm

Windows 10 64-bit: Cannot find GLUT

Post by the_mtn_who_glides »

I am trying to build Vega Strike from GitHub, on Windows 10 Pro x64. No matter what I do, I can't get it to build. It always says:

Code: Select all

Could NOT find GLUT (missing: GLUT_glut_LIBRARY)
It says this even though I have downloaded and built freeglut, and followed freeglut's instructions about where to put the libraries and such. Is the problem that I am missing libxmu-dev? if so, where do I get that for Windows?

CMakeOutput.log (Is this the right file?):

Code: Select all

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 (R) Build Engine version 16.3.0+0f4c62fea for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 10/6/2019 12:06:13 PM.
Project "C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\3.15.19080502-MSVC_2\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:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\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:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\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 -> C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\3.15.19080502-MSVC_2\CompilerIdC\.\CompilerIdC.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild".
  Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate".
Done Building Project "C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\3.15.19080502-MSVC_2\CompilerIdC\CompilerIdC.vcxproj" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.40


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 "C:/Projects/repos/git/GitHub/stephengtuggy/Vega-Strike-Engine-Source/CMakeFiles/3.15.19080502-MSVC_2/CompilerIdC/CompilerIdC.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler:  
Build flags: 
Id flags:  

The output was:
0
Microsoft (R) Build Engine version 16.3.0+0f4c62fea for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 10/6/2019 12:06:15 PM.
Project "C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\3.15.19080502-MSVC_2\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:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\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:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\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 -> C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\3.15.19080502-MSVC_2\CompilerIdCXX\.\CompilerIdCXX.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild".
  Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate".
Done Building Project "C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\3.15.19080502-MSVC_2\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.85


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 "C:/Projects/repos/git/GitHub/stephengtuggy/Vega-Strike-Engine-Source/CMakeFiles/3.15.19080502-MSVC_2/CompilerIdCXX/CompilerIdCXX.exe"

Determining if the C compiler works passed with the following output:
Change Dir: C:/Projects/repos/git/GitHub/stephengtuggy/Vega-Strike-Engine-Source/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_55be3.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.3.0+0f4c62fea for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Microsoft (R) C/C++ Optimizing Compiler Version 19.23.28105.4 for x64
  Copyright (C) Microsoft Corporation.  All rights reserved.
  testCCompiler.c
  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_55be3.dir\Debug\\" /Fd"cmTC_55be3.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue "C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\CMakeTmp\testCCompiler.c"
  cmTC_55be3.vcxproj -> C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\CMakeTmp\Debug\cmTC_55be3.exe



Detecting C compiler ABI info compiled with the following output:
Change Dir: C:/Projects/repos/git/GitHub/stephengtuggy/Vega-Strike-Engine-Source/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_bdfac.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.3.0+0f4c62fea for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Microsoft (R) C/C++ Optimizing Compiler Version 19.23.28105.4 for x64
  Copyright (C) Microsoft Corporation.  All rights reserved.
  CMakeCCompilerABI.c
  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_bdfac.dir\Debug\\" /Fd"cmTC_bdfac.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.15\Modules\CMakeCCompilerABI.c"
  cmTC_bdfac.vcxproj -> C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\CMakeTmp\Debug\cmTC_bdfac.exe



Determining if the CXX compiler works passed with the following output:
Change Dir: C:/Projects/repos/git/GitHub/stephengtuggy/Vega-Strike-Engine-Source/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_9a019.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.3.0+0f4c62fea for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Microsoft (R) C/C++ Optimizing Compiler Version 19.23.28105.4 for x64
  Copyright (C) Microsoft Corporation.  All rights reserved.
  testCXXCompiler.cxx
  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_9a019.dir\Debug\\" /Fd"cmTC_9a019.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue "C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\CMakeTmp\testCXXCompiler.cxx"
  cmTC_9a019.vcxproj -> C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\CMakeTmp\Debug\cmTC_9a019.exe



Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/Projects/repos/git/GitHub/stephengtuggy/Vega-Strike-Engine-Source/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_1cf0a.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.3.0+0f4c62fea for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Microsoft (R) C/C++ Optimizing Compiler Version 19.23.28105.4 for x64
  Copyright (C) Microsoft Corporation.  All rights reserved.
  CMakeCXXCompilerABI.cpp
  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_1cf0a.dir\Debug\\" /Fd"cmTC_1cf0a.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.15\Modules\CMakeCXXCompilerABI.cpp"
  cmTC_1cf0a.vcxproj -> C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\CMakeTmp\Debug\cmTC_1cf0a.exe



Determining size of void* passed with the following output:
Change Dir: C:/Projects/repos/git/GitHub/stephengtuggy/Vega-Strike-Engine-Source/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_5b8d0.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.3.0+0f4c62fea for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Microsoft (R) C/C++ Optimizing Compiler Version 19.23.28105.4 for x64
  Copyright (C) Microsoft Corporation.  All rights reserved.
  SIZEOF_VOID_P.c
  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_5b8d0.dir\Debug\\" /Fd"cmTC_5b8d0.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue "C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\CheckTypeSize\SIZEOF_VOID_P.c"
  cmTC_5b8d0.vcxproj -> C:\Projects\repos\git\GitHub\stephengtuggy\Vega-Strike-Engine-Source\CMakeFiles\CMakeTmp\Debug\cmTC_5b8d0.exe
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Windows 10 64-bit: Cannot find GLUT

Post by loki1950 »

I do not see any reference to GLUT in the cMake log at all so it in deed may not be the right log file.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Post Reply