We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Unable to build firefox 45 source code on Windows 10 with Visual studio 2017

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I am trying to run "./mach build" using firefox version 45.9.0.esr source on Windows 10. I have installed Microsoft professional Visual studio 2017 as well.

My build fails with the below error in the MINGW32 console. Can you pls help fix the issue

...

2:44.36 configure: warning: Unknown version of the Microsoft (R) Manifest Tool.
2:44.95 checking for overridable _RAISE... yes
2:45.26 checking for highest Windows version supported by this SDK... #line 1 "conftest.h"
2:45.65 checking for Windows SDK being recent enough... syntax error at -e line 1, at EOF
2:45.65 Execution of -e aborted due to compilation errors.
2:45.65 no
2:45.65 configure: error: You are targeting Windows version 0x06030000, but your SDK only supports up to version #line 1 "conftest.h"0000. Install and use an updated SDK, or target a lower version using --with-windows-version. Alternatively, try running the Windows SDK Configuration Tool and selecting a newer SDK. See https://developer.mozilla.org/En/Windows_SDK_versions for more details on fixing this.
2:45.65 ------ config.log ------
2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\exception(146): error C3861: 'externallyDefinedFunction': identifier not found
2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\exception(174): error C3861: 'externallyDefinedFunction': identifier not found
2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(38): error C3861: 'externallyDefinedFunction': identifier not found
2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(66): error C3861: 'externallyDefinedFunction': identifier not found
2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(94): error C3861: 'externallyDefinedFunction': identifier not found
2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(122): error C3861: 'externallyDefinedFunction': identifier not found
2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(150): error C3861: 'externallyDefinedFunction': identifier not found
2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(178): error C3861: 'externallyDefinedFunction': identifier not found
2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(206): error C3861: 'externallyDefinedFunction': identifier not found
2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(234): error C3861: 'externallyDefinedFunction': identifier not found
2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(262): error C3861: 'externallyDefinedFunction': identifier not found
I am trying to run "./mach build" using firefox version 45.9.0.esr source on Windows 10. I have installed Microsoft professional Visual studio 2017 as well. My build fails with the below error in the MINGW32 console. Can you pls help fix the issue ... 2:44.36 configure: warning: Unknown version of the Microsoft (R) Manifest Tool. 2:44.95 checking for overridable _RAISE... yes 2:45.26 checking for highest Windows version supported by this SDK... #line 1 "conftest.h" 2:45.65 checking for Windows SDK being recent enough... syntax error at -e line 1, at EOF 2:45.65 Execution of -e aborted due to compilation errors. 2:45.65 no 2:45.65 configure: error: You are targeting Windows version 0x06030000, but your SDK only supports up to version #line 1 "conftest.h"0000. Install and use an updated SDK, or target a lower version using --with-windows-version. Alternatively, try running the Windows SDK Configuration Tool and selecting a newer SDK. See https://developer.mozilla.org/En/Windows_SDK_versions for more details on fixing this. 2:45.65 ------ config.log ------ 2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\exception(146): error C3861: 'externallyDefinedFunction': identifier not found 2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\exception(174): error C3861: 'externallyDefinedFunction': identifier not found 2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(38): error C3861: 'externallyDefinedFunction': identifier not found 2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(66): error C3861: 'externallyDefinedFunction': identifier not found 2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(94): error C3861: 'externallyDefinedFunction': identifier not found 2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(122): error C3861: 'externallyDefinedFunction': identifier not found 2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(150): error C3861: 'externallyDefinedFunction': identifier not found 2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(178): error C3861: 'externallyDefinedFunction': identifier not found 2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(206): error C3861: 'externallyDefinedFunction': identifier not found 2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(234): error C3861: 'externallyDefinedFunction': identifier not found 2:45.70 c:\Program Files (x86)\Microsoft Visual Studio 2017\Professional\VC\Tools\MSVC\14.13.26128\include\stdexcept(262): error C3861: 'externallyDefinedFunction': identifier not found

被選擇的解決方法

Try this mozillaZine forum.

Third Party/Unofficial Builds • mozillaZine Forums

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options
more options

選擇的解決方法

Try this mozillaZine forum.

Third Party/Unofficial Builds • mozillaZine Forums