r14598 (x64) не собирается в MS VS 2015 Update 3.
Вот такая ошибка: 1>cl : Command line error D8016: '/ZI' and '/GL' command-line options are incompatible
DrKnS wrote: Thu 10 Dec, 2015 00:17Но у нас стратегический компилятор - VS
А какая минимальная версия VS для сборки Far и плагинов ? Подойдет ли VS2010 SP1 Express ? Вчера собрал только Far x64 с помощью MinGW 7.1, а вот с плагинами сходу не пошло и я решил использовать VS.
1. https://sourceforge.net/projects/win32svn/
2. svn co http://svn.code.sf.net/p/farmanager/code/trunk fardev
3. VS2017 CE U2 - только Desktop toolchain
4. Run "x86 Native Tools Command Prompt for VS 2017"
cd c:\temp\fardev\unicode_far
build clean 32
cd c:\temp\fardev\plugins
nmake -f makefile_all_vc
cd C:\Temp\fardev\misc\fexcept
nmake -f makefile_vc
5. Run x64 "Native Tools Command Prompt for VS 2017"
cd c:\temp\fardev\unicode_far
build clean 64
cd c:\temp\fardev\plugins
nmake -f makefile_all_vc CPU=AMD64
6. Вызов cmd файла для сборки всего воедино
Конечно все это можно свести в один cmd скрипт. В \fardev\misc\nightly есть bat файлы которые явно делают это удобнее но я с ними не сладил. В base_32.bat и base_64.bat нужно изменить путь к vcvarsall.bat, а в остальные bat файлы добавить команды типа cd ..\..\plugins ? Судя по *.sh файлам сборка делается на Linux сервере под Wine. Еще нужно собрать NetBox и Colorer.
Поделитесь пожалуйста рецептами по сборке FAR под Windows.
r15097 - не собирается: 1>c:\soft\fardev\farbuild\trunk\unicode_far\format.hpp(40): fatal error C1083: Cannot open include file: 'thirdparty/fmt/string.h': No such file or directory.
Привет всем
Пытаюсь собрать Far из исходников на svn в VStudio 2015
Вайлы проектов есть в исходниках
Плагины собираются нормально
Но сам Far не компилится
Кто нибудь может что-нибуть сказать по этому поводу
поспешилл
не компилится
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.env.hpp(37): error C2039: 'env': is not a member of 'os'
1> d:\prj\_freelance\farapi\unicode_far_15232\platform.hpp(38): note: see declaration of 'os'
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(37): error C2039: 'fs': is not a member of 'os'
1> d:\prj\_freelance\farapi\unicode_far_15232\platform.hpp(38): note: see declaration of 'os'
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(68): error C2065: 'default_buffer_size': undeclared identifier
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(68): error C2975: 'Size': invalid template argument for 'block_ptr', expected compile-time constant expression
1> d:\prj\_freelance\farapi\unicode_far_15232\common\smart_ptr.hpp(120): note: see declaration of 'Size'
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(202): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(202): error C2143: syntax error: missing ';' before '&'
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(202): error C2238: unexpected token(s) preceding ';'
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(207): error C2327: 'fs::file::handle': is not a type name, static, or enumerator
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(207): error C3646: 'm_Handle': unknown override specifier
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(207): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(171): error C2789: 'fs::file::handle': an object of const-qualified type must be initialized
1> d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(202): note: see declaration of 'fs::file::handle'
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(296): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.fs.hpp(296): error C2146: syntax error: missing ';' before identifier 'create_file'
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.memory.hpp(37): error C2039: 'memory': is not a member of 'os'
1> d:\prj\_freelance\farapi\unicode_far_15232\platform.hpp(38): note: see declaration of 'os'
1>d:\prj\_freelance\farapi\unicode_far_15232\platform.reg.hpp(37): error C2039: 'reg': is not a member of 'os'
1> d:\prj\_freelance\farapi\unicode_far_15232\platform.hpp(38): note: see declaration of 'os'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========