mumble-voip / mumble-releng

Mumble Release Engineering
Other
17 stars 21 forks source link

1.4.x 64-bit win32 jom fails #88

Closed kroppt closed 3 years ago

kroppt commented 5 years ago

On the last part of building Mumble.

C:\MumbleBuild\win64-static-1.4.x-...\mumble> jom
...
LINK : fatal error LNK1181: cannot open input file 'libboost_system-mt.lib'
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\src\mumble\Makefile.Release [..\..\release\mumble_app.dll] Error 1181
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\src\mumble\Makefile [release] Error 2
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\Makefile [sub-src-mumble-make_first-ordered] Error 2

I suspect this is why:

C:\MumbleBuild\win64-static-1.4.x-...\mumble> ls ../Boost/lib | grep libboost_system
libboost_system-mt-x64.lib
davidebeatrici commented 5 years ago

Definitely, try to rename or copy libboost_system-mt-x64.lib to libboost_system-mt.lib.

kroppt commented 5 years ago

When I fixed one, another popped up, as every lib file had the extension. So I ran something in bash while in that directory:

for FILE in $list; do old=$FILE; new=$(echo $FILE | sed -e 's/-x64//g'); cp $old $new; done

Those errors went away, and now I get this error:

...
        "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe" /D_USING_V110_SDK71_ -c -nologo -Zc:wchar_t -Zi -Zc:threadSafeInit- -FS -Zc:throwingNew -WX -Zm200 -wd4091 -Ox -GF /fp:fast -arch:SSE -MT -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DWIN32 -DWIN64 -DUSE_BUILDENV -DRESTRICT= -DNDEBUG -D_WINDLL -I. -I"..\..\..\..\Program Files (x86)\Microsoft DirectX SDK (June 2010)\include" -I"..\..\..\..\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include" -I"..\..\..\..\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include" -I"..\..\..\..\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include" -I"C:\Program Files (x86)\Windows Kits\10\\include\shared" -I"C:\Program Files (x86)\Windows Kits\10\\include\um" -I"C:\Program Files (x86)\Windows Kits\10\\include\winrt" -I..\..\Boost\include -I..\..\OpenSSL\include -I..\..\sndfile\include -I..\..\Qt5\mkspecs\win32-msvc2015 -Fo..\release\.obj\mumble_ol\ @C:\Users\User\AppData\Local\Temp\dxgi.obj.8576.94.jom
dxgi.cpp
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(125): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(140): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(155): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(170): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(186): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(201): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(216): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(231): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(247): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(262): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(277): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(292): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(111): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(124): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(137): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(150): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(164): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(177): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(190): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(203): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(217): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(230): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(243): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\Boost\include\boost/type_traits/detail/is_function_cxx_11.hpp(256): error C2215: '__vectorcall' cannot be used with '/arch:SSE'
        "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe" /D_USING_V110_SDK71_ -c -nologo -Zc:wchar_t -Zi -Zc:threadSafeInit- -FS -Zc:throwingNew -WX -Zm200 -wd4091 -Ox -GF /fp:fast -arch:SSE -MT -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DWIN32 -DWIN64 -DUSE_BUILDENV -DRESTRICT= -DNDEBUG -D_WINDLL -I. -I"..\..\..\..\Program Files (x86)\Microsoft DirectX SDK (June 2010)\include" -I"..\..\..\..\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include" -I"..\..\..\..\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include" -I"..\..\..\..\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include" -I"C:\Program Files (x86)\Windows Kits\10\\include\shared" -I"C:\Program Files (x86)\Windows Kits\10\\include\um" -I"C:\Program Files (x86)\Windows Kits\10\\include\winrt" -I..\..\Boost\include -I..\..\OpenSSL\include -I..\..\sndfile\include -I..\..\Qt5\mkspecs\win32-msvc2015 -Fo..\release\.obj\mumble_ol\ @C:\Users\User\AppData\Local\Temp\HardHook.obj.8576.875.jom
HardHook.cpp
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\overlay\Makefile.Release [..\release\.obj\mumble_ol\dxgi.obj] Error 2
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\overlay\Makefile.Release [..\release\.obj\mumble_ol\excludecheck.obj] Error 2
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\overlay\Makefile.Release [..\release\.obj\mumble_ol\lib.obj] Error 2
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\overlay\Makefile.Release [..\release\.obj\mumble_ol\opengl.obj] Error 2
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\overlay\Makefile.Release [..\release\.obj\mumble_ol\olsettings.obj] Error 2
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\overlay\Makefile.Release [..\release\.obj\mumble_ol\d3d9.obj] Error 2
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\overlay\Makefile [release] Error 2
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\Makefile [sub-overlay-make_first-ordered] Error 2
Kissaki commented 3 years ago

We are not using this mumble-releng for 1.4.x anymore. We implemented a new cmake and vcpkg based build system in https://github.com/mumble-voip/mumble-releng-vcpkg and integrated that into the main repository https://github.com/mumble-voip/mumble.