Closed Bug 931554 Opened 11 years ago Closed 11 years ago

How to compile with VS 2013 for Windows 8.1 64Bit ?

Categories

(SeaMonkey :: Build Config, defect)

SeaMonkey 2.24 Branch
x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: vlposta, Unassigned)

References

Details

Attachments

(2 files)

Attached file Error.txt (deleted) —
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24a1 (Beta/Release) Build ID: 20131009142630 Steps to reproduce: I compile for AMD64 in Visual Studio 2013, SDK 8.1, Windows 8.1 64 bit and use "ac_add_options --with-windows-version=603" Actual results: I have this error "configure: error: Invalid value for --with-windows-version (603)" See attachment plase ... Expected results: Compile to 64Bit for WIndows 8.1 (603)
Hardware: x86 → x86_64
Just do not add "ac_add_options --with-windows-version=603".
Thang You, but i have error - see https://bug931554.bugzilla.mozilla.org/attachment.cgi?id=822998 please Use my start-msvc12-x64.bat (my isteself edited) from start-msvc11-x64.bat
Attached file start-msvc12-x64.bat (deleted) —
(In reply to Sladky Vladimir from comment #3) > Created attachment 823196 [details] > start-msvc12-x64.bat VS2013 support is included in next release (1.8.1) of mozilla-build. Also, --with-windows-version accepts 601 and 602 only now.
see https://hg.mozilla.org/mozilla-build repository if needed.
Depends on: VC12
(In reply to Sladky Vladimir from comment #2) > Thang You, but i have error - see > https://bug931554.bugzilla.mozilla.org/attachment.cgi?id=822998 please > Use my start-msvc12-x64.bat (my isteself edited) from start-msvc11-x64.bat I said do NOT add "ac_add_options --with-windows-version=603". You build log still contains "--with-windows-version=603". Maybe IRC or dev.platform list would be the better place to ask the question than the bug tracking system.
Resolving bug as invalid for now, the original bug/comment does not mention a new issue. Sladky: I suggest you CC yourself to Bug 930616 to get notified when building with VS2013 will work.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Build for Windows 603 now resolved please ??? I always mus compile for 602 ... :-( Thank You C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -D_WIN32_WINNT=0x0602 -D_AVAIL_WINVER_=0x0602 -Ic:\mozilla-build\python\include -Ic:\Users\Vlada\comm-central\obj-x86_64-pc-mingw32\_virtualenv\PC /Tcpsutil/arch/mswindows/security.c /Fobuild\temp.win32-2.7\Release\psutil/arch/mswindows/security.obj security.c psutil/arch/mswindows/security.c(86) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:c:\mozilla-build\python\Libs /LIBPATH:c:\Users\Vlada\comm-central\obj-x86_64-pc-mingw32\_virtualenv\libs /LIBPATH:c:\Users\Vlada\comm-central\obj-x86_64-pc-mingw32\_virtualenv\PCbuild psapi.lib kernel32.lib advapi32.lib shell32.lib netapi32.lib iphlpapi.lib wtsapi32.lib /EXPORT:init_psutil_mswindows build\temp.win32-2.7\Release\psutil/_psutil_mswindows.obj build\temp.win32-2.7\Release\psutil/_psutil_common.obj build\temp.win32-2.7\Release\psutil/arch/mswindows/process_info.obj build\temp.win32-2.7\Release\psutil/arch/mswindows/process_handles.obj build\temp.win32-2.7\Release\psutil/arch/mswindows/security.obj /OUT:build\lib.win32-2.7\_psutil_mswindows.pyd /IMPLIB:build\temp.win32-2.7\Release\psutil\_psutil_mswindows.lib /MANIFESTFILE:build\temp.win32-2.7\Release\psutil\_psutil_mswindows.pyd.manifest Creating library build\temp.win32-2.7\Release\psutil\_psutil_mswindows.lib and object build\temp.win32-2.7\Release\psutil\_psutil_mswindows.exp _psutil_mswindows.obj : error LNK2019: unresolved external symbol _GetIfEntry@4 referenced in function _get_net_io_counters _psutil_mswindows.obj : error LNK2019: unresolved external symbol _GetAdaptersAddresses@20 referenced in function _get_net_io_counters _psutil_mswindows.obj : error LNK2019: unresolved external symbol _WTSOpenServerA@4 referenced in function _get_system_users _psutil_mswindows.obj : error LNK2019: unresolved external symbol _WTSCloseServer@4 referenced in function _get_system_users _psutil_mswindows.obj : error LNK2019: unresolved external symbol _WTSEnumerateSessionsA@20 referenced in function _get_system_users _psutil_mswindows.obj : error LNK2019: unresolved external symbol _WTSQuerySessionInformationA@20 referenced in function _get_system_users _psutil_mswindows.obj : error LNK2019: unresolved external symbol _WTSFreeMemory@4 referenced in function _get_system_users process_info.obj : error LNK2019: unresolved external symbol __imp__CommandLineToArgvW@8 referenced in function _psutil_get_arg_list build\lib.win32-2.7\_psutil_mswindows.pyd : fatal error LNK1120: 8 unresolved externals error: command '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\link.exe"' failed with exit status 1120 Error processing command. Ignoring because optional. (optional:setup.py:python/psutil:build_ext:--inplace) checking Python environment is Mozilla virtualenv... yes checking for perl5... no checking for perl... /bin/perl checking for gcc... cl checking whether the C compiler (cl ) works... yes checking whether the C compiler (cl ) is a cross-compiler... no checking whether we are using GNU C... no checking whether cl accepts -g... no checking for c++... cl checking whether the C++ compiler (cl ) works... yes checking whether the C++ compiler (cl ) is a cross-compiler... no checking whether we are using GNU C++... no checking whether cl accepts -g... no checking for ranlib... : checking for ml64... /c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/BIN/amd64/ml64 checking for ar... no checking for ld... link checking for strip... no checking for windres... no configure: error: Invalid value for --with-windows-version (603) ------ config.log ------ Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release conftest.C Microsoft (R) Incremental Linker Version 12.00.30723.0 Copyright (C) Microsoft Corporation. All rights reserved. /out:conftest.exe /out:conftest.exe conftest.obj configure:3456: checking whether the C++ compiler (cl ) is a cross-compiler configure:3461: checking whether we are using GNU C++ configure:3470: cl -E conftest.C Microsoft (R) C/C++ Optimizing Compiler Version 18.00.30723 for x64 Copyright (C) Microsoft Corporation. All rights reserved. conftest.C configure:3489: checking whether cl accepts -g configure:3523: checking for ranlib configure:3555: checking for ml64 configure:3609: checking for ar configure:3644: checking for ld configure:3679: checking for strip configure:3714: checking for windres configure: error: Invalid value for --with-windows-version (603) *** Fix above errors and then restart with\ "c:/mozilla-build/mozmake/mozmake -f client.mk build" client.mk:361: recipe for target 'configure' failed mozmake: *** [configure] Error 1 Vlada@PC1 ~/comm-central $
Please remove --with-windows-version from your mozconfig. This configure option is virtually dead.
Thank you - i remove it, but now i have (another) error :-( 13:00.82 nsSyncRunnableHelpers.cpp 13:14.94 generating out/tmp/curr/res_index.txt (list of installed currency name locales) 13:15.15 generating out/tmp/lang/res_index.txt (list of installed language name locales) 13:15.21 ./out/tmp/lang\res_index.txt:3: warning: Encountered empty array 13:15.27 generating out/tmp/region/res_index.txt (list of installed region name locales) 13:15.33 ./out/tmp/region\res_index.txt:3: warning: Encountered empty array 13:32.59 generating out/tmp/zone/res_index.txt (list of installed time zone name locales) 14:01.08 generating out/tmp/coll/res_index.txt (list of installed collation locales) 14:01.26 generating out/tmp/brkitr/res_index.txt (list of installed break locales) 14:01.32 ./out/tmp/brkitr\res_index.txt:3: warning: Encountered empty array 14:01.34 generating out/tmp/rbnf/res_index.txt (list of installed RBNF locales) 14:01.40 ./out/tmp/rbnf\res_index.txt:3: warning: Encountered empty array 14:01.44 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.44 see icu/source/common/unicode/uconfig.h 14:01.48 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.48 see icu/source/common/unicode/uconfig.h 14:01.52 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.52 see icu/source/common/unicode/uconfig.h 14:01.55 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.56 see icu/source/common/unicode/uconfig.h 14:01.59 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.59 see icu/source/common/unicode/uconfig.h 14:01.63 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.63 see icu/source/common/unicode/uconfig.h 14:01.67 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.67 see icu/source/common/unicode/uconfig.h 14:01.70 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.70 see icu/source/common/unicode/uconfig.h 14:01.74 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.74 see icu/source/common/unicode/uconfig.h 14:01.78 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.78 see icu/source/common/unicode/uconfig.h 14:01.82 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.82 see icu/source/common/unicode/uconfig.h 14:01.85 gensprep writes dummy icudt52l_sprep.spp because UCONFIG_NO_IDNA is set, 14:01.85 see icu/source/common/unicode/uconfig.h 14:01.87 ALL_CFU_SOURCE: c:/Users/Vlada/comm-central/mozilla/intl/icu/source/data/unidata/confusables.txt c:/Users/Vlada/comm-central/mozilla/intl/icu/source/data/unidata/confusablesWholeScript.txt 14:01.89 CFU_FILES: ./out/build/icudt52l/confusables.cfu 14:01.90 CFU_FILES_SHORT: confusables.cfu 14:01.93 gencfu writes dummy out/build/icudt52l/confusables.cfu because of UCONFIG_NO_REGULAR_EXPRESSIONS and/or UCONFIG_NO_NORMALIZATION and/or UCONFIG_NO_FILE_IO, see uconfig.h 14:01.95 generating out/tmp/icudata.lst (list of data files) 14:02.87 genccode: --match-arch cpu=34404 bits=64 big-endian=0 14:02.87 pkgdata: LIB.exe /nologo /out:"../lib/sicudt.lib" "./out/tmp\icudt52l_dat.obj" 14:02.93 Note: rebuild with "mozmake VERBOSE=1 all-local" to show all compiler parameters. 14:04.71 icu.lib.desc 14:04.79 c:/Users/Vlada/comm-central/mozilla/config/recurse.mk:36: recipe for target 'compile' failed 14:04.79 mozmake[2]: *** [compile] Error 2 14:04.79 c:/Users/Vlada/comm-central/mozilla/config/rules.mk:551: recipe for target 'default' failed 14:04.79 mozmake[1]: *** [default] Error 2 14:04.79 client.mk:404: recipe for target 'build' failed 14:04.79 mozmake.EXE: *** [build] Error 2 14:04.80 399 compiler warnings present. 2 Vlada@PC1 ~/comm-central
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: