Discussion:
[ros-bugs] [jira] (CORE-12936) Visual Studio 2015 cant build reactos solution
DigitalSpirit (JIRA)
2017-03-14 13:17:00 UTC
Permalink
DigitalSpirit created CORE-12936:
------------------------------------

Summary: Visual Studio 2015 cant build reactos solution
Key: CORE-12936
URL: https://jira.reactos.org/browse/CORE-12936
Project: Core ReactOS
Issue Type: Bug
Reporter: DigitalSpirit
Assignee: Bug Zilla


module ext2fs need exclude 4189 from WarningsAsErrors in ext2fs.vcxproj
module livecd_links send errors
error MSB3754
error MSB3755
error MSB4036




--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Thomas Faber (JIRA)
2017-03-16 14:34:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-12936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=90701#comment-90701 ]

Thomas Faber commented on CORE-12936:
-------------------------------------

Could you please assume we cannot reproduce this (or else someone would have fixed it already) and give us the full error messages?
Thanks!
Post by DigitalSpirit (JIRA)
Visual Studio 2015 cant build reactos solution
----------------------------------------------
Key: CORE-12936
URL: https://jira.reactos.org/browse/CORE-12936
Project: Core ReactOS
Issue Type: Bug
Reporter: DigitalSpirit
Assignee: Bug Zilla
module ext2fs need exclude 4189 from WarningsAsErrors in ext2fs.vcxproj
module livecd_links send errors
error MSB3754
error MSB3755
error MSB4036
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
DigitalSpirit (JIRA)
2017-03-23 07:25:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-12936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=90977#comment-90977 ]

DigitalSpirit commented on CORE-12936:
--------------------------------------

cannot launch Visual Studio 2015 right now 

i open project in Visual Studio 2017

same errors(in russian)

Ошибка MSB3754 Справочная сборка "System" является недопустимой. "Не удалось загрузить файл или сборку "System" либо одну из их зависимостей. Была сделана попытка загрузить программу, имеющую неверный формат." livecd_links C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\VisualStudio\v15.0\CodeAnalysis\Microsoft.CodeAnalysis.targets 220
Ошибка MSB3755 не удалось найти ссылку "System". Если эта ссылка необходима для кода, при компиляции могут возникнуть ошибки. livecd_links C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\VisualStudio\v15.0\CodeAnalysis\Microsoft.CodeAnalysis.targets 220
Ошибка MSB4036 задача "SetEnvironmentVariable" не найдена. Убедитесь в следующем. 1. Имя задачи в файле проекта совпадает с именем класса задачи. 2. Класс задачи является открытым и реализует интерфейс Microsoft.Build.Framework.ITask. 3. Задача правильно объявлена с помощью <UsingTask> в файле проекта или в TASKS-файлах в каталоге "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin". livecd_links C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\VisualStudio\v15.0\CodeAnalysis\Microsoft.CodeAnalysis.targets 220
Post by DigitalSpirit (JIRA)
Visual Studio 2015 cant build reactos solution
----------------------------------------------
Key: CORE-12936
URL: https://jira.reactos.org/browse/CORE-12936
Project: Core ReactOS
Issue Type: Bug
Reporter: DigitalSpirit
Assignee: Bug Zilla
module ext2fs need exclude 4189 from WarningsAsErrors in ext2fs.vcxproj
module livecd_links send errors
error MSB3754
error MSB3755
error MSB4036
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Mark Jansen (JIRA)
2017-03-23 08:11:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-12936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=90980#comment-90980 ]

Mark Jansen commented on CORE-12936:
------------------------------------

Then disable code analysis.
Post by DigitalSpirit (JIRA)
Visual Studio 2015 cant build reactos solution
----------------------------------------------
Key: CORE-12936
URL: https://jira.reactos.org/browse/CORE-12936
Project: Core ReactOS
Issue Type: Bug
Reporter: DigitalSpirit
Assignee: Bug Zilla
module ext2fs need exclude 4189 from WarningsAsErrors in ext2fs.vcxproj
module livecd_links send errors
error MSB3754
error MSB3755
error MSB4036
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Thomas Faber (JIRA)
2017-03-23 10:38:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-12936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=90987#comment-90987 ]

Thomas Faber commented on CORE-12936:
-------------------------------------

I can repro the ext2 error:
{noformat}
C:\ROS\reactos\reactos\drivers\filesystems\ext2\src\memory.c(3276): error C4189: 'wake': local variable is initialized but not referenced
{noformat}

VS says the compiler command line is:
{noformat}
/X /hotpatch /MP /we"4013" /we"4020" /we"4022" /we"4047" /we"4098" /we"4113" /we"4129" /we"4163" /we"4229" /we"4700" /we"4603" /we"4716" /we"4189" /GS- /TC /analyze- /W3 /wd"4244" /wd"4290" /wd"4800" /wd"4200" /wd"4214" /wd"4018" /wd"4189" /wd"4142" /wd"4101" /Gy /Zc:wchar_t /I"C:\ROS\reactos\reactos\output-VS14-sln\drivers\filesystems\ext2" /I"C:\ROS\reactos\reactos\drivers\filesystems\ext2" /I"C:\ROS\reactos\reactos\sdk\include" /I"C:\ROS\reactos\reactos\sdk\include\psdk" /I"C:\ROS\reactos\reactos\sdk\include\dxsdk" /I"C:\ROS\reactos\reactos\output-VS14-sln\sdk\include" /I"C:\ROS\reactos\reactos\output-VS14-sln\sdk\include\psdk" /I"C:\ROS\reactos\reactos\output-VS14-sln\sdk\include\dxsdk" /I"C:\ROS\reactos\reactos\output-VS14-sln\sdk\include\ddk" /I"C:\ROS\reactos\reactos\output-VS14-sln\sdk\include\reactos" /I"C:\ROS\reactos\reactos\output-VS14-sln\sdk\include\reactos\mc" /I"C:\ROS\reactos\reactos\sdk\include\crt" /I"C:\ROS\reactos\reactos\sdk\include\ddk" /I"C:\ROS\reactos\reactos\sdk\include\ndk" /I"C:\ROS\reactos\reactos\sdk\include\reactos" /I"C:\ROS\reactos\reactos\sdk\include\reactos\libs" /I"C:\ROS\reactos\reactos\sdk\include\reactos\drivers" /I"C:\ROS\reactos\reactos\drivers\filesystems\ext2\inc" /Zi /Gm- /Od /Ob0 /Fd"ext2fs.dir\Debug\vc140.pdb" /Zc:inline /fp:precise /D "__REACTOS__" /D "DBG=1" /D "_SEH_ENABLE_TRACE" /D "_WINKD_=1" /D "WINVER=0x502" /D "_WIN32_IE=0x600" /D "_WIN32_WINNT=0x502" /D "_WIN32_WINDOWS=0x502" /D "_SETUPAPI_VER=0x502" /D "_M_IX86" /D "_X86_" /D "__i386__" /D "i386" /D "USE_COMPILER_EXCEPTIONS" /D "_USE_32BIT_TIME_T" /D "WIN32" /D "_WINDOWS" /D "inline=__inline" /D "__STDC__=1" /D "LANGUAGE_EN_US" /D "__KERNEL__" /D "CMAKE_INTDIR=\"Debug\"" /D "ext2fs_EXPORTS" /D "_WINDLL" /errorReport:prompt /WX- /Zc:forScope /GR- /arch:IA32 /Gd /Oy- /Fa"Debug/" /nologo /Zl /Fo"ext2fs.dir\Debug\" /Fp"ext2fs.dir\Debug\ext2fs.pch"
{noformat}

So our replace_compile_flags is apparently not working here.
Post by DigitalSpirit (JIRA)
Visual Studio 2015 cant build reactos solution
----------------------------------------------
Key: CORE-12936
URL: https://jira.reactos.org/browse/CORE-12936
Project: Core ReactOS
Issue Type: Bug
Reporter: DigitalSpirit
Assignee: Bug Zilla
module ext2fs need exclude 4189 from WarningsAsErrors in ext2fs.vcxproj
module livecd_links send errors
error MSB3754
error MSB3755
error MSB4036
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Mark Jansen (JIRA)
2017-03-23 12:16:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-12936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=90990#comment-90990 ]

Mark Jansen commented on CORE-12936:
------------------------------------

We replace global C/CXX options, but we add target options,
maybe we also need to replace target options?
Post by DigitalSpirit (JIRA)
Visual Studio 2015 cant build reactos solution
----------------------------------------------
Key: CORE-12936
URL: https://jira.reactos.org/browse/CORE-12936
Project: Core ReactOS
Issue Type: Bug
Reporter: DigitalSpirit
Assignee: Bug Zilla
module ext2fs need exclude 4189 from WarningsAsErrors in ext2fs.vcxproj
module livecd_links send errors
error MSB3754
error MSB3755
error MSB4036
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Serge Gautherie (JIRA)
2018-05-12 03:53:01 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-12936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103960#comment-103960 ]

Serge Gautherie commented on CORE-12936:
----------------------------------------

This is a duplicate of CORE-11836.
Post by DigitalSpirit (JIRA)
Visual Studio 2015 cant build reactos solution
----------------------------------------------
Key: CORE-12936
URL: https://jira.reactos.org/browse/CORE-12936
Project: Core ReactOS
Issue Type: Bug
Reporter: DigitalSpirit
Assignee: Bug Zilla
module ext2fs need exclude 4189 from WarningsAsErrors in ext2fs.vcxproj
module livecd_links send errors
error MSB3754
error MSB3755
error MSB4036
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)

Loading...