EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   CMAKE Error with Updated Source (https://www.eqemulator.org/forums/showthread.php?t=41292)

The_Beast 04-19-2017 03:42 PM

CMAKE Error with Updated Source
 
Cmake came up with errors when trying to compile current (today) updated source. I reverted back to April 14th code, just to make sure it wasn't me
and it compiled fine. I copied the error log if you're interested.
Code:

Performing C++ SOURCE FILE Test HAVE_STD_CPP11_FLAG failed with the following output:
Change Dir: D:/Build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTC_486c2.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.18408]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 4/19/2017 1:20:29 PM.

Project "D:\Build\CMakeFiles\CMakeTmp\cmTC_486c2.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_486c2.dir\Debug\".

  Creating directory "D:\Build\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_486c2.dir\Debug\cmTC_486c2.tlog\".

InitializeBuildStatus:

  Creating "cmTC_486c2.dir\Debug\cmTC_486c2.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_STD_CPP11_FLAG /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_486c2.dir\Debug\\" /Fd"cmTC_486c2.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue  -std=c++11 D:\Build\CMakeFiles\CMakeTmp\src.cxx

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_STD_CPP11_FLAG /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_486c2.dir\Debug\\" /Fd"cmTC_486c2.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue  -std=c++11 D:\Build\CMakeFiles\CMakeTmp\src.cxx

 

cl : Command line warning D9002: ignoring unknown option '-std=c++11' [D:\Build\CMakeFiles\CMakeTmp\cmTC_486c2.vcxproj]

  src.cxx

Link:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"D:\Build\CMakeFiles\CMakeTmp\Debug\cmTC_486c2.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"D:/Build/CMakeFiles/CMakeTmp/Debug/cmTC_486c2.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/Build/CMakeFiles/CMakeTmp/Debug/cmTC_486c2.lib" /MACHINE:X86 /SAFESEH  /machine:X86 /debug cmTC_486c2.dir\Debug\src.obj

  cmTC_486c2.vcxproj -> D:\Build\CMakeFiles\CMakeTmp\Debug\cmTC_486c2.exe

FinalizeBuildStatus:

  Deleting file "cmTC_486c2.dir\Debug\cmTC_486c2.tlog\unsuccessfulbuild".

  Touching "cmTC_486c2.dir\Debug\cmTC_486c2.tlog\cmTC_486c2.lastbuildstate".

Done Building Project "D:\Build\CMakeFiles\CMakeTmp\cmTC_486c2.vcxproj" (default targets).



Build succeeded.



"D:\Build\CMakeFiles\CMakeTmp\cmTC_486c2.vcxproj" (default target) (1) ->

(ClCompile target) ->

  cl : Command line warning D9002: ignoring unknown option '-std=c++11' [D:\Build\CMakeFiles\CMakeTmp\cmTC_486c2.vcxproj]



    1 Warning(s)

    0 Error(s)



Time Elapsed 00:00:00.45


Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test HAVE_STD_CPP0X_FLAG failed with the following output:
Change Dir: D:/Build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTC_f9ca1.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.18408]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 4/19/2017 1:20:30 PM.

Project "D:\Build\CMakeFiles\CMakeTmp\cmTC_f9ca1.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_f9ca1.dir\Debug\".

  Creating directory "D:\Build\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_f9ca1.dir\Debug\cmTC_f9ca1.tlog\".

InitializeBuildStatus:

  Creating "cmTC_f9ca1.dir\Debug\cmTC_f9ca1.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_STD_CPP0X_FLAG /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_f9ca1.dir\Debug\\" /Fd"cmTC_f9ca1.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue  -std=c++0x D:\Build\CMakeFiles\CMakeTmp\src.cxx

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_STD_CPP0X_FLAG /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_f9ca1.dir\Debug\\" /Fd"cmTC_f9ca1.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue  -std=c++0x D:\Build\CMakeFiles\CMakeTmp\src.cxx

 

cl : Command line warning D9002: ignoring unknown option '-std=c++0x' [D:\Build\CMakeFiles\CMakeTmp\cmTC_f9ca1.vcxproj]

  src.cxx

Link:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"D:\Build\CMakeFiles\CMakeTmp\Debug\cmTC_f9ca1.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"D:/Build/CMakeFiles/CMakeTmp/Debug/cmTC_f9ca1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/Build/CMakeFiles/CMakeTmp/Debug/cmTC_f9ca1.lib" /MACHINE:X86 /SAFESEH  /machine:X86 /debug cmTC_f9ca1.dir\Debug\src.obj

  cmTC_f9ca1.vcxproj -> D:\Build\CMakeFiles\CMakeTmp\Debug\cmTC_f9ca1.exe

FinalizeBuildStatus:

  Deleting file "cmTC_f9ca1.dir\Debug\cmTC_f9ca1.tlog\unsuccessfulbuild".

  Touching "cmTC_f9ca1.dir\Debug\cmTC_f9ca1.tlog\cmTC_f9ca1.lastbuildstate".

Done Building Project "D:\Build\CMakeFiles\CMakeTmp\cmTC_f9ca1.vcxproj" (default targets).



Build succeeded.



"D:\Build\CMakeFiles\CMakeTmp\cmTC_f9ca1.vcxproj" (default target) (1) ->

(ClCompile target) ->

  cl : Command line warning D9002: ignoring unknown option '-std=c++0x' [D:\Build\CMakeFiles\CMakeTmp\cmTC_f9ca1.vcxproj]



    1 Warning(s)

    0 Error(s)



Time Elapsed 00:00:00.42


Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test SUPPORTS_TYPE_TRAITS failed with the following output:
Change Dir: D:/Build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTC_1d0d2.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.18408]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 4/19/2017 1:20:32 PM.

Project "D:\Build\CMakeFiles\CMakeTmp\cmTC_1d0d2.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_1d0d2.dir\Debug\".

  Creating directory "D:\Build\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_1d0d2.dir\Debug\cmTC_1d0d2.tlog\".

InitializeBuildStatus:

  Creating "cmTC_1d0d2.dir\Debug\cmTC_1d0d2.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D SUPPORTS_TYPE_TRAITS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_1d0d2.dir\Debug\\" /Fd"cmTC_1d0d2.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue D:\Build\CMakeFiles\CMakeTmp\src.cxx

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D SUPPORTS_TYPE_TRAITS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_1d0d2.dir\Debug\\" /Fd"cmTC_1d0d2.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue D:\Build\CMakeFiles\CMakeTmp\src.cxx

 

  src.cxx

D:\Build\CMakeFiles\CMakeTmp\src.cxx(4): error C2338:  [D:\Build\CMakeFiles\CMakeTmp\cmTC_1d0d2.vcxproj]

Done Building Project "D:\Build\CMakeFiles\CMakeTmp\cmTC_1d0d2.vcxproj" (default targets) -- FAILED.



Build FAILED.



"D:\Build\CMakeFiles\CMakeTmp\cmTC_1d0d2.vcxproj" (default target) (1) ->

(ClCompile target) ->

  D:\Build\CMakeFiles\CMakeTmp\src.cxx(4): error C2338:  [D:\Build\CMakeFiles\CMakeTmp\cmTC_1d0d2.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.26


Source file was:

  #include <type_traits>
  class C { void operator=(const C&); };
  int main() { static_assert(!std::is_copy_assignable<C>::value, ""); }
Performing C++ SOURCE FILE Test SUPPORTS_USER_DEFINED_LITERALS failed with the following output:
Change Dir: D:/Build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTC_40f88.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine version 12.0.40629.0

[Microsoft .NET Framework, version 4.0.30319.18408]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 4/19/2017 1:20:32 PM.

Project "D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_40f88.dir\Debug\".

  Creating directory "D:\Build\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_40f88.dir\Debug\cmTC_40f88.tlog\".

InitializeBuildStatus:

  Creating "cmTC_40f88.dir\Debug\cmTC_40f88.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D SUPPORTS_USER_DEFINED_LITERALS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_40f88.dir\Debug\\" /Fd"cmTC_40f88.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue D:\Build\CMakeFiles\CMakeTmp\src.cxx

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D SUPPORTS_USER_DEFINED_LITERALS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_40f88.dir\Debug\\" /Fd"cmTC_40f88.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue D:\Build\CMakeFiles\CMakeTmp\src.cxx

 

  src.cxx

D:\Build\CMakeFiles\CMakeTmp\src.cxx(2): error C2833: 'operator string' is not a recognized operator or type [D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj]

D:\Build\CMakeFiles\CMakeTmp\src.cxx(2): warning C4091: '' : ignored on left of 'void' when no variable is declared [D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj]

D:\Build\CMakeFiles\CMakeTmp\src.cxx(2): error C2143: syntax error : missing ';' before 'newline' [D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj]

D:\Build\CMakeFiles\CMakeTmp\src.cxx(2): error C2059: syntax error : 'newline' [D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj]

Done Building Project "D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj" (default targets) -- FAILED.



Build FAILED.



"D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj" (default target) (1) ->

(ClCompile target) ->

  D:\Build\CMakeFiles\CMakeTmp\src.cxx(2): warning C4091: '' : ignored on left of 'void' when no variable is declared [D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj]





"D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj" (default target) (1) ->

(ClCompile target) ->

  D:\Build\CMakeFiles\CMakeTmp\src.cxx(2): error C2833: 'operator string' is not a recognized operator or type [D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj]

  D:\Build\CMakeFiles\CMakeTmp\src.cxx(2): error C2143: syntax error : missing ';' before 'newline' [D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj]

  D:\Build\CMakeFiles\CMakeTmp\src.cxx(2): error C2059: syntax error : 'newline' [D:\Build\CMakeFiles\CMakeTmp\cmTC_40f88.vcxproj]



    1 Warning(s)

    3 Error(s)



Time Elapsed 00:00:00.24


Source file was:

  void operator"" _udl(long double);
  int main() {}



All times are GMT -4. The time now is 11:59 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.