Problem 2107 - Using cmake 3.11 to configure G4,and Using visual studio 2017 community to build,Several errors occurs,they will be listed in the Description region.
Summary: Using cmake 3.11 to configure G4,and Using visual studio 2017 community to bu...
Status: CLOSED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: cmake (show other problems)
Version: 10.5
Hardware: PC Windows
: P4 minor
Assignee: Ben Morgan
URL:
Depends on:
Blocks:
 
Reported: 2018-12-09 07:42 CET by Li Lihua
Modified: 2019-04-23 13:36 CEST (History)
0 users

See Also:


Attachments
errors by visual studio 2017 community (208.33 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-12-09 07:42 CET, Li Lihua
Details

Note You need to log in before you can comment on or make changes to this problem.
Description Li Lihua 2018-12-09 07:42:29 CET
Created attachment 522 [details]
errors by visual studio 2017 community

here are the errors in the building using visual studio 2017 community
严重性	代码	说明	项目	文件	行	禁止显示状态
错误	LNK1104	无法打开文件“..\..\BuildProducts\Debug\lib\G4processes.lib”	G4parmodels	D:\g4install\build\source\parameterisations\LINK	1	
错误	LNK1104	无法打开文件“..\..\BuildProducts\Debug\lib\G4processes.lib”	G4tracking	D:\g4install\build\source\tracking\LINK	1	
错误	LNK1104	无法打开文件“..\..\BuildProducts\Debug\lib\G4tracking.lib”	G4event	D:\g4install\build\source\event\LINK	1	
错误	LNK1104	无法打开文件“..\..\BuildProducts\Debug\lib\G4event.lib”	G4run	D:\g4install\build\source\run\LINK	1	
错误	LNK1104	无法打开文件“..\..\BuildProducts\Debug\lib\G4run.lib”	G4readout	D:\g4install\build\source\readout\LINK	1	
错误	LNK1104	无法打开文件“..\..\BuildProducts\Debug\lib\G4run.lib”	G4error_propagation	D:\g4install\build\source\error_propagation\LINK	1	
错误	LNK1104	无法打开文件“..\..\..\BuildProducts\Debug\lib\G4run.lib”	G4modeling	D:\g4install\build\source\visualization\modeling\LINK	1	
错误	LNK1104	无法打开文件“..\..\BuildProducts\Debug\lib\G4run.lib”	G4physicslists	D:\g4install\build\source\physics_lists\LINK	1	
错误	LNK1104	无法打开文件“..\..\BuildProducts\Debug\lib\G4run.lib”	G4persistency	D:\g4install\build\source\persistency\LINK	1	
错误	LNK1104	无法打开文件“..\..\..\BuildProducts\Debug\lib\G4modeling.lib”	G4vis_management	D:\g4install\build\source\visualization\management\LINK	1	
错误	LNK1104	无法打开文件“..\..\..\BuildProducts\Debug\lib\G4vis_management.lib”	G4FR	D:\g4install\build\source\visualization\FukuiRenderer\LINK	1	
错误	LNK1104	无法打开文件“..\..\..\BuildProducts\Debug\lib\G4vis_management.lib”	G4VRML	D:\g4install\build\source\visualization\VRML\LINK	1	
错误	LNK1104	无法打开文件“..\..\..\BuildProducts\Debug\lib\G4vis_management.lib”	G4visXXX	D:\g4install\build\source\visualization\XXX\LINK	1	
错误	LNK1104	无法打开文件“..\..\..\BuildProducts\Debug\lib\G4vis_management.lib”	G4visHepRep	D:\g4install\build\source\visualization\HepRep\LINK	1	
错误	LNK1104	无法打开文件“..\..\..\BuildProducts\Debug\lib\G4vis_management.lib”	G4Tree	D:\g4install\build\source\visualization\Tree\LINK	1	
错误	LNK1104	无法打开文件“..\..\..\BuildProducts\Debug\lib\G4vis_management.lib”	G4RayTracer	D:\g4install\build\source\visualization\RayTracer\LINK	1	
错误	LNK1104	无法打开文件“..\..\..\BuildProducts\Debug\lib\G4FR.lib”	G4GMocren	D:\g4install\build\source\visualization\gMocren\LINK	1	
错误	LNK1189	超过 65535 对象的库限制	G4processes	D:\g4install\build\source\processes\LINK	1	
错误	MSB3073	命令“setlocal
"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd”已退出,代码为 1。	INSTALL	C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets	138	
错误	MSB6006	“link.exe”已退出,代码为 2。	G4digits_hits	C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets	720
Comment 1 Ben Morgan 2019-01-24 12:01:59 CET
Please send the error listing in plain text format
Comment 2 Ben Morgan 2019-04-23 13:36:31 CEST
Closing due to lack of response.