Topics

Error building NVDA with VS 2019

Cyrille
 

Hello

 

I do not succeed in building NVDA alpha with VS 2019.

 

I have first tried on an existing local repo. Since it did not work, I have tried by cloning a brand new local repo:

 

Here is the end of the build log with the error:

 

ia2_i.c

cl /Fobuild\arm64\ia2_p.obj /c build\arm64\ia2_p.c /nologo /W3 /WX /std:c++17 /Od /MT /DUNICODE=_CRT_SECURE_NO_DEPRECATE

/DWIN32 /DPROXY_CLSID_IS={0x62d295fe,0x2062,0x4369,{0xa0,0x10,0x4f,0x59,0xb5,0xe3,0x2d,0x5e}} /Iinclude /Imiscdeps\incl

ude /Ibuild\arm64 /Z7

ia2_p.c

cl /Fobuild\arm64\ia2_data.obj /c build\arm64\ia2_data.c /nologo /W3 /WX /std:c++17 /Od /MT /DUNICODE=_CRT_SECURE_NO_DEP

RECATE /DWIN32 /DPROXY_CLSID_IS={0x62d295fe,0x2062,0x4369,{0xa0,0x10,0x4f,0x59,0xb5,0xe3,0x2d,0x5e}} /Iinclude /Imiscdep

s\include /Ibuild\arm64 /Z7

ia2_data.c

Creating 'build\arm64\IAccessible2proxy.manifest'

link /nologo /incremental:no /WX /subsystem:windows,6.02 /release /OPT:REF /export:DllGetClassObject,private /export:Dll

CanUnloadNow,private /export:GetProxyDllInfo,private /manifest:embed /manifestinput:build\arm64\IAccessible2proxy.manife

st /dll /out:build\arm64\IAccessible2proxy.dll /implib:build\arm64\IAccessible2proxy.lib rpcrt4.lib oleaut32.lib ole32.l

ib /PDB:build\arm64\IAccessible2proxy.dll.pdb /DEBUG build\arm64\ia2_i.obj build\arm64\ia2_p.obj build\arm64\ia2_data.ob

j

LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'LIBCMT.lib'

scons: *** [build\arm64\IAccessible2proxy.dll] Error 1104

scons: building terminated because of errors.

 

Any idea why I get this error? Did I miss something during VS 2019 installation?
Note: I have first uninstalled VS 2017 and then re-installed VS 2019.

 

Thanks in advance.

Cheers,

 

Cyrille

 

Reef Turner
 

Did you get it to build? Since the error is with the Arm64 build, it may be that you did not install the correct Arm64 dependencies? Can you check the readme, and confirm these are installed please?

 

From: nvda-devel@groups.io On Behalf Of Cyrille via Groups.Io
Sent: Saturday, 22 February 2020 11:56 AM
To: nvda-devel@groups.io
Subject: [nvda-devel] Error building NVDA with VS 2019

 

Hello

 

I do not succeed in building NVDA alpha with VS 2019.

 

I have first tried on an existing local repo. Since it did not work, I have tried by cloning a brand new local repo:

 

Here is the end of the build log with the error:

 

ia2_i.c

cl /Fobuild\arm64\ia2_p.obj /c build\arm64\ia2_p.c /nologo /W3 /WX /std:c++17 /Od /MT /DUNICODE=_CRT_SECURE_NO_DEPRECATE

/DWIN32 /DPROXY_CLSID_IS={0x62d295fe,0x2062,0x4369,{0xa0,0x10,0x4f,0x59,0xb5,0xe3,0x2d,0x5e}} /Iinclude /Imiscdeps\incl

ude /Ibuild\arm64 /Z7

ia2_p.c

cl /Fobuild\arm64\ia2_data.obj /c build\arm64\ia2_data.c /nologo /W3 /WX /std:c++17 /Od /MT /DUNICODE=_CRT_SECURE_NO_DEP

RECATE /DWIN32 /DPROXY_CLSID_IS={0x62d295fe,0x2062,0x4369,{0xa0,0x10,0x4f,0x59,0xb5,0xe3,0x2d,0x5e}} /Iinclude /Imiscdep

s\include /Ibuild\arm64 /Z7

ia2_data.c

Creating 'build\arm64\IAccessible2proxy.manifest'

link /nologo /incremental:no /WX /subsystem:windows,6.02 /release /OPT:REF /export:DllGetClassObject,private /export:Dll

CanUnloadNow,private /export:GetProxyDllInfo,private /manifest:embed /manifestinput:build\arm64\IAccessible2proxy.manife

st /dll /out:build\arm64\IAccessible2proxy.dll /implib:build\arm64\IAccessible2proxy.lib rpcrt4.lib oleaut32.lib ole32.l

ib /PDB:build\arm64\IAccessible2proxy.dll.pdb /DEBUG build\arm64\ia2_i.obj build\arm64\ia2_p.obj build\arm64\ia2_data.ob

j

LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'LIBCMT.lib'

scons: *** [build\arm64\IAccessible2proxy.dll] Error 1104

scons: building terminated because of errors.

 

Any idea why I get this error? Did I miss something during VS 2019 installation?
Note: I have first uninstalled VS 2017 and then re-installed VS 2019.

 

Thanks in advance.

Cheers,

 

Cyrille

 

Cyrille
 

Hello

 

Yes, I have double-checked in the readme the components required for VS 2019 to build NVDA and checked missing checkbox in VS 2019.

With fixed installation of VS2019, NVDA builds successfully.

 

Thanks.

Cheers

 

Cyrille

 

De : nvda-devel@groups.io <nvda-devel@groups.io> De la part de Reef Turner
Envoyé : mercredi 4 mars 2020 16:56
À : nvda-devel@groups.io
Objet : Re: [nvda-devel] Error building NVDA with VS 2019

 

Did you get it to build? Since the error is with the Arm64 build, it may be that you did not install the correct Arm64 dependencies? Can you check the readme, and confirm these are installed please?

 

From: nvda-devel@groups.io On Behalf Of Cyrille via Groups.Io
Sent: Saturday, 22 February 2020 11:56 AM
To: nvda-devel@groups.io
Subject: [nvda-devel] Error building NVDA with VS 2019

 

Hello

 

I do not succeed in building NVDA alpha with VS 2019.

 

I have first tried on an existing local repo. Since it did not work, I have tried by cloning a brand new local repo:

 

Here is the end of the build log with the error:

 

ia2_i.c

cl /Fobuild\arm64\ia2_p.obj /c build\arm64\ia2_p.c /nologo /W3 /WX /std:c++17 /Od /MT /DUNICODE=_CRT_SECURE_NO_DEPRECATE

/DWIN32 /DPROXY_CLSID_IS={0x62d295fe,0x2062,0x4369,{0xa0,0x10,0x4f,0x59,0xb5,0xe3,0x2d,0x5e}} /Iinclude /Imiscdeps\incl

ude /Ibuild\arm64 /Z7

ia2_p.c

cl /Fobuild\arm64\ia2_data.obj /c build\arm64\ia2_data.c /nologo /W3 /WX /std:c++17 /Od /MT /DUNICODE=_CRT_SECURE_NO_DEP

RECATE /DWIN32 /DPROXY_CLSID_IS={0x62d295fe,0x2062,0x4369,{0xa0,0x10,0x4f,0x59,0xb5,0xe3,0x2d,0x5e}} /Iinclude /Imiscdep

s\include /Ibuild\arm64 /Z7

ia2_data.c

Creating 'build\arm64\IAccessible2proxy.manifest'

link /nologo /incremental:no /WX /subsystem:windows,6.02 /release /OPT:REF /export:DllGetClassObject,private /export:Dll

CanUnloadNow,private /export:GetProxyDllInfo,private /manifest:embed /manifestinput:build\arm64\IAccessible2proxy.manife

st /dll /out:build\arm64\IAccessible2proxy.dll /implib:build\arm64\IAccessible2proxy.lib rpcrt4.lib oleaut32.lib ole32.l

ib /PDB:build\arm64\IAccessible2proxy.dll.pdb /DEBUG build\arm64\ia2_i.obj build\arm64\ia2_p.obj build\arm64\ia2_data.ob

j

LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'LIBCMT.lib'

scons: *** [build\arm64\IAccessible2proxy.dll] Error 1104

scons: building terminated because of errors.

 

Any idea why I get this error? Did I miss something during VS 2019 installation?
Note: I have first uninstalled VS 2017 and then re-installed VS 2019.

 

Thanks in advance.

Cheers,

 

Cyrille