Message: LINK : fatal error LNK1181 cannot open G4Tree.lib Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None LINK : fatal error LNK1181 cannot open G4Tree.lib 

Forum: Installation and Configuration
Date: Feb 01, 06:46
From: Domenico Impiombato <Domenico Impiombato>

Hello,

I installed geant4_10_05, for two times, on windows 7 using visual studio
2017 professional.

I typed the command [< C:\Users\inaf\Geant4\B1-build> <cmake
-DGeant4_DIR="%HOMEPATH%\Geant4-install\lib\

Geant4-G4VERSION" "%HOMEPATH%\Geant4\B1" ] (from Commands Prompt Visual
Studio 2017)  to build the example B1 and i obtain this following result :

----------------------------------------------------------------------------
------------------------------

-- Building for: Visual Studio 15 2017

-- Selecting Windows SDK version 10.0.17763.0 to target Windows 6.

-- The C compiler identification is MSVC 19.16.27026.1

-- The CXX compiler identification is MSVC 19.16.27026.1

-- Check for working C compiler: C:/Program Files (x86)/Microsoft

2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe

-- Check for working C compiler: C:/Program Files (x86)/Microsoft

2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: C:/Program Files (x86)/Microsof

o/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.e

-- Check for working CXX compiler: C:/Program Files (x86)/Microsof

o/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.e

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Configuring done

-- Generating done

-- Build files have been written to: C:/Users/inaf/Geant4/B1-build

----------------------------------------------------------------------------
------------------------------

that seems ok !

 

then i typed the command [cmake --build. --config Release]

 

and i obtain the result below:

----------------------------------------------------------------------------
------------------------------

Microsoft (R) Build Engine versione 15.9.21+g9802d43bc3 per .NET Framework

Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

 

Compilazione avviata 01/02/2019 14:29:06.

Progetto "C:\Users\inaf\Geant4\B1-build\ALL_BUILD.vcxproj" sul nodo 1
(destinaz

ioni predefinite).

Compilazione di "C:\Users\inaf\Geant4\B1-build\ZERO_CHECK.vcxproj" (2) dal
prog

etto "C:\Users\inaf\Geant4\B1-build\ALL_BUILD.vcxproj" (1) sul nodo 1
(destinaz

ioni predefinite).

PrepareForBuild:

  Creazione directory "Win32\Release\ZERO_CHECK\".

  Creazione directory "C:\Users\inaf\Geant4\B1-build\Release\".

  Creazione directory "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\".

InitializeBuildStatus:

  Creazione di "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
È

  stato specificato "AlwaysCreate".

CustomBuild:

  Checking Build System

  CMake does not need to re-run because
C:/Users/inaf/Geant4/B1-build/CMakeFile

  s/generate.stamp is up-to-date.

FinalizeBuildStatus:

  Eliminazione del file
"Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulb

  uild" in corso.

  Aggiornamento timestamp di
"Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHE

  CK.lastbuildstate".

Compilazione progetto "C:\Users\inaf\Geant4\B1-build\ZERO_CHECK.vcxproj"
(desti

nazioni predefinite) completata.

 

Compilazione di "C:\Users\inaf\Geant4\B1-build\exampleB1.vcxproj" (3) dal
proge

tto "C:\Users\inaf\Geant4\B1-build\ALL_BUILD.vcxproj" (1) sul nodo 1
(destinazi

oni predefinite).

PrepareForBuild:

  Creazione directory "exampleB1.dir\Release\".

  Creazione directory "exampleB1.dir\Release\exampleB1.tlog\".

InitializeBuildStatus:

  Creazione di "exampleB1.dir\Release\exampleB1.tlog\unsuccessfulbuild". È
stat

  o specificato "AlwaysCreate".

CustomBuild:

  Building Custom Rule /Users/inaf/Geant4/B1/CMakeLists.txt

  CMake does not need to re-run because
C:/Users/inaf/Geant4/B1-build/CMakeFile

  s/generate.stamp is up-to-date.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual
Studio\2017\Professional\VC\Tools\MSV

  C\14.16.27023\bin\HostX86\x86\CL.exe /c /I\Users\inaf\Geant4\B1\include
/I\Us

  ers\inaf\Geant4\geant4_10_05\source\analysis\g4tools\include
/I\Users\inaf\Ge

  ant4\geant4_10_05\source\analysis\accumulables\include
/I\Users\inaf\Geant4\g

  eant4_10_05\source\analysis\csv\include
/I\Users\inaf\Geant4\geant4_10_05\sou

  rce\analysis\hntools\include
/I\Users\inaf\Geant4\geant4_10_05\source\analysi

  s\management\include
/I\Users\inaf\Geant4\geant4_10_05\source\analysis\root\i

  nclude /I\Users\inaf\Geant4\geant4_10_05\source\analysis\xml\include
/I\Users

  \inaf\Geant4\geant4_10_05\source\digits_hits\detector\include
/I\Users\inaf\G

  eant4\geant4_10_05\source\digits_hits\digits\include
/I\Users\inaf\Geant4\gea

  nt4_10_05\source\digits_hits\hits\include
/I\Users\inaf\Geant4\geant4_10_05\s

  ource\digits_hits\scorer\include
/I\Users\inaf\Geant4\geant4_10_05\source\dig

  its_hits\utils\include
/I\Users\inaf\Geant4\geant4_10_05\source\error_propaga

  tion\include /I\Users\inaf\Geant4\geant4_10_05\source\event\include
/I\Users\

  inaf\Geant4\geant4_10_05\source\externals\clhep\include
/I\Users\inaf\Geant4\

  geant4_10_05\source\externals\expat\include
/I\Users\inaf\Geant4\geant4_10_05

  \source\externals\zlib\include
/I\Users\inaf\Geant4\geant4_10_05\source\geome

  try\biasing\include
/I\Users\inaf\Geant4\geant4_10_05\source\geometry\divisio

  ns\include
/I\Users\inaf\Geant4\geant4_10_05\source\geometry\magneticfield\in

  clude /I\Users\inaf\Geant4\geant4_10_05\source\geometry\management\include
/I

  \Users\inaf\Geant4\geant4_10_05\source\geometry\navigation\include
/I\Users\i

  naf\Geant4\geant4_10_05\source\geometry\solids\Boolean\include
/I\Users\inaf\

  Geant4\geant4_10_05\source\geometry\solids\CSG\include
/I\Users\inaf\Geant4\g

  eant4_10_05\source\geometry\solids\specific\include
/I\Users\inaf\Geant4\gean

  t4_10_05\source\geometry\volumes\include
/I\Users\inaf\Geant4\geant4_10_05\so

  urce\global\HEPGeometry\include
/I\Users\inaf\Geant4\geant4_10_05\source\glob

  al\HEPNumerics\include
/I\Users\inaf\Geant4\geant4_10_05\source\global\HEPRan

  dom\include
/I\Users\inaf\Geant4\geant4_10_05\source\global\management\includ

  e /I\Users\inaf\Geant4\geant4_10_05\source\graphics_reps\include
/I\Users\ina

  f\Geant4\geant4_10_05\source\intercoms\include
/I\Users\inaf\Geant4\geant4_10

  _05\source\interfaces\GAG\include
/I\Users\inaf\Geant4\geant4_10_05\source\in

  terfaces\basic\include
/I\Users\inaf\Geant4\geant4_10_05\source\interfaces\co

  mmon\include /I\Users\inaf\Geant4\geant4_10_05\source\materials\include
/I\Us

  ers\inaf\Geant4\geant4_10_05\source\parameterisations\gflash\include
/I\Users

  \inaf\Geant4\geant4_10_05\source\particles\adjoint\include
/I\Users\inaf\Gean

  t4\geant4_10_05\source\particles\bosons\include
/I\Users\inaf\Geant4\geant4_1

  0_05\source\particles\hadrons\barions\include
/I\Users\inaf\Geant4\geant4_10_

  05\source\particles\hadrons\ions\include
/I\Users\inaf\Geant4\geant4_10_05\so

  urce\particles\hadrons\mesons\include
/I\Users\inaf\Geant4\geant4_10_05\sourc

  e\particles\leptons\include
/I\Users\inaf\Geant4\geant4_10_05\source\particle

  s\management\include
/I\Users\inaf\Geant4\geant4_10_05\source\particles\short

  lived\include
/I\Users\inaf\Geant4\geant4_10_05\source\particles\utils\includ

  e /I\Users\inaf\Geant4\geant4_10_05\source\persistency\ascii\include
/I\Users

  \inaf\Geant4\geant4_10_05\source\persistency\mctruth\include
/I\Users\inaf\Ge

  ant4\geant4_10_05\source\physics_lists\builders\include
/I\Users\inaf\Geant4\

  geant4_10_05\source\physics_lists\constructors\decay\include
/I\Users\inaf\Ge

 
ant4\geant4_10_05\source\physics_lists\constructors\electromagnetic\include
/

 
I\Users\inaf\Geant4\geant4_10_05\source\physics_lists\constructors\factory\i
n

  clude
/I\Users\inaf\Geant4\geant4_10_05\source\physics_lists\constructors\gam

  ma_lepto_nuclear\include
/I\Users\inaf\Geant4\geant4_10_05\source\physics_lis

  ts\constructors\hadron_elastic\include
/I\Users\inaf\Geant4\geant4_10_05\sour

  ce\physics_lists\constructors\hadron_inelastic\include
/I\Users\inaf\Geant4\g

  eant4_10_05\source\physics_lists\constructors\ions\include
/I\Users\inaf\Gean

  t4\geant4_10_05\source\physics_lists\constructors\limiters\include
/I\Users\i

  naf\Geant4\geant4_10_05\source\physics_lists\constructors\stopping\include
/I

  \Users\inaf\Geant4\geant4_10_05\source\physics_lists\lists\include
/I\Users\i

  naf\Geant4\geant4_10_05\source\physics_lists\util\include
/I\Users\inaf\Geant

  4\geant4_10_05\source\processes\biasing\management\include
/I\Users\inaf\Gean

  t4\geant4_10_05\source\processes\biasing\generic\include
/I\Users\inaf\Geant4

  \geant4_10_05\source\processes\biasing\importance\include
/I\Users\inaf\Geant

  4\geant4_10_05\source\processes\cuts\include
/I\Users\inaf\Geant4\geant4_10_0

  5\source\processes\decay\include
/I\Users\inaf\Geant4\geant4_10_05\source\pro

  cesses\electromagnetic\adjoint\include
/I\Users\inaf\Geant4\geant4_10_05\sour

  ce\processes\electromagnetic\dna\processes\include
/I\Users\inaf\Geant4\geant

  4_10_05\source\processes\electromagnetic\dna\models\include
/I\Users\inaf\Gea

  nt4\geant4_10_05\source\processes\electromagnetic\dna\utils\include
/I\Users\

 
inaf\Geant4\geant4_10_05\source\processes\electromagnetic\dna\management\inc
l

  ude
/I\Users\inaf\Geant4\geant4_10_05\source\processes\electromagnetic\dna\mo

  lecules\management\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes

  \electromagnetic\dna\molecules\types\include
/I\Users\inaf\Geant4\geant4_10_0

  5\source\processes\electromagnetic\highenergy\include
/I\Users\inaf\Geant4\ge

  ant4_10_05\source\processes\electromagnetic\lowenergy\include
/I\Users\inaf\G

  eant4\geant4_10_05\source\processes\electromagnetic\muons\include
/I\Users\in

  af\Geant4\geant4_10_05\source\processes\electromagnetic\pii\include
/I\Users\

 
inaf\Geant4\geant4_10_05\source\processes\electromagnetic\polarisation\inclu
d

  e
/I\Users\inaf\Geant4\geant4_10_05\source\processes\electromagnetic\standard

  \include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\electromagnetic\u

  tils\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\electromagnet

  ic\xrays\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadronic\

  cross_sections\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\had

  ronic\management\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\h

  adronic\models\abla\include
/I\Users\inaf\Geant4\geant4_10_05\source\processe

  s\hadronic\models\abrasion\include
/I\Users\inaf\Geant4\geant4_10_05\source\p

  rocesses\hadronic\models\binary_cascade\include
/I\Users\inaf\Geant4\geant4_1

  0_05\source\processes\hadronic\models\cascade\cascade\include
/I\Users\inaf\G

 
eant4\geant4_10_05\source\processes\hadronic\models\coherent_elastic\include

 
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadronic\models\de_excita
t

  ion\ablation\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadro

  nic\models\de_excitation\evaporation\include
/I\Users\inaf\Geant4\geant4_10_0

  5\source\processes\hadronic\models\de_excitation\fermi_breakup\include
/I\Use

 
rs\inaf\Geant4\geant4_10_05\source\processes\hadronic\models\de_excitation\f
i

  ssion\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadronic\mod

  els\de_excitation\gem_evaporation\include
/I\Users\inaf\Geant4\geant4_10_05\s

  ource\processes\hadronic\models\de_excitation\handler\include
/I\Users\inaf\G

 
eant4\geant4_10_05\source\processes\hadronic\models\de_excitation\management
\

  include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadronic\models\de

  _excitation\multifragmentation\include
/I\Users\inaf\Geant4\geant4_10_05\sour

  ce\processes\hadronic\models\de_excitation\photon_evaporation\include
/I\User

 
s\inaf\Geant4\geant4_10_05\source\processes\hadronic\models\de_excitation\ut
i

  l\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadronic\models\

  em_dissociation\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\ha

  dronic\models\fission\include
/I\Users\inaf\Geant4\geant4_10_05\source\proces

  ses\hadronic\models\im_r_matrix\include
/I\Users\inaf\Geant4\geant4_10_05\sou

  rce\processes\hadronic\models\inclxx\utils\include
/I\Users\inaf\Geant4\geant

  4_10_05\source\processes\hadronic\models\inclxx\incl_physics\include
/I\Users

 
\inaf\Geant4\geant4_10_05\source\processes\hadronic\models\inclxx\interface\
i

  nclude
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadronic\models\gam

  ma_nuclear\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadroni

  c\models\lend\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadr

  onic\models\lepto_nuclear\include
/I\Users\inaf\Geant4\geant4_10_05\source\pr

  ocesses\hadronic\models\management\include
/I\Users\inaf\Geant4\geant4_10_05\

  source\processes\hadronic\models\particle_hp\include
/I\Users\inaf\Geant4\gea

 
nt4_10_05\source\processes\hadronic\models\parton_string\diffraction\include

 
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadronic\models\parton_st
r

  ing\hadronization\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\

  hadronic\models\parton_string\management\include
/I\Users\inaf\Geant4\geant4_

  10_05\source\processes\hadronic\models\parton_string\qgsm\include
/I\Users\in

 
af\Geant4\geant4_10_05\source\processes\hadronic\models\pre_equilibrium\exci
t

  on_model\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadronic\

  models\qmd\include
/I\Users\inaf\Geant4\geant4_10_05\source\processes\hadroni

  c\models\quasi_elastic\include
/I\Users\inaf\Geant4\geant4_10_05\source\proce

  sses\hadronic\models\radioactive_decay\include
/I\Users\inaf\Geant4\geant4_10

  _05\source\processes\hadronic\models\rpg\include
/I\Users\inaf\Geant4\geant4_

  10_05\source\processes\hadronic\models\theo_high_energy\include
/I\Users\inaf

  \Geant4\geant4_10_05\source\processes\hadronic\models\util\include
/I\Users\i

  naf\Geant4\geant4_10_05\source\processes\hadronic\processes\include
/I\Users\

  inaf\Geant4\geant4_10_05\source\processes\hadronic\stopping\include
/I\Users\

  inaf\Geant4\geant4_10_05\source\processes\hadronic\util\include
/I\Users\inaf

  \Geant4\geant4_10_05\source\processes\management\include
/I\Users\inaf\Geant4

  \geant4_10_05\source\processes\optical\include
/I\Users\inaf\Geant4\geant4_10

  _05\source\processes\solidstate\phonon\include
/I\Users\inaf\Geant4\geant4_10

  _05\source\processes\solidstate\channeling\include
/I\Users\inaf\Geant4\geant

  4_10_05\source\processes\parameterisation\include
/I\Users\inaf\Geant4\geant4

  _10_05\source\processes\scoring\include
/I\Users\inaf\Geant4\geant4_10_05\sou

  rce\processes\transportation\include
/I\Users\inaf\Geant4\geant4_10_05\source

  \readout\include /I\Users\inaf\Geant4\geant4_10_05\source\run\include
/I\User

  s\inaf\Geant4\geant4_10_05\source\track\include
/I\Users\inaf\Geant4\geant4_1

  0_05\source\tracking\include
/I\Users\inaf\Geant4\geant4_10_05\source\visuali

  zation\FukuiRenderer\include
/I\Users\inaf\Geant4\geant4_10_05\source\visuali

  zation\HepRep\include
/I\Users\inaf\Geant4\geant4_10_05\source\visualization\

  RayTracer\include
/I\Users\inaf\Geant4\geant4_10_05\source\visualization\Tree

  \include
/I\Users\inaf\Geant4\geant4_10_05\source\visualization\VRML\include

  /I\Users\inaf\Geant4\geant4_10_05\source\visualization\XXX\include
/I\Users\i

  naf\Geant4\geant4_10_05\source\visualization\gMocren\include
/I\Users\inaf\Ge

  ant4\geant4_10_05\source\visualization\management\include
/I\Users\inaf\Geant

  4\geant4_10_05\source\visualization\modeling\include
/I"C:\Users\inaf\Geant4\

  geant4_10_05-build\source\externals\zlib" /nologo /W1 /WX-
/diagnostics:class

  ic /Ox /Oy- /D _CONSOLE /D _WIN32 /D WIN32 /D OS /D XPNET /D
_CRT_SECURE_NO_D

  EPRECATE /D G4USE_STD11 /D NDEBUG /D G4_STORE_TRAJECTORY /D G4VERBOSE /D
G4UI

  _USE /D G4VIS_USE /D G4LIB_BUILD_DLL /D "CMAKE_INTDIR=\"Release\"" /D
_MBCS /

  Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR
/Fo"exa

  mpleB1.dir\Release\\" /Fd"exampleB1.dir\Release\vc141.pdb" /Gd /TP
/analyze-

  /errorReport:queue  -Zm200 \Users\inaf\Geant4\B1\exampleB1.cc

  exampleB1.cc

Link:

  C:\Program Files (x86)\Microsoft Visual
Studio\2017\Professional\VC\Tools\MSV

  C\14.16.27023\bin\HostX86\x86\link.exe /ERRORREPORT:QUEUE
/OUT:"C:\Users\inaf

  \Geant4\B1-build\Release\exampleB1.exe" /INCREMENTAL:NO /NOLOGO
"C:\Users\ina

  f\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4Tree.lib"
"C:\Users\i

  naf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4GMocren.lib"
"C:\Us

 
ers\inaf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4visHepRep.lib
"

 
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4RayTrac

  er.lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4

  VRML.lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\

  G4interfaces.lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Rele

  ase\lib\G4persistency.lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProd

  ucts\Release\lib\G4error_propagation.lib"
"C:\Users\inaf\Geant4\geant4_10_05-

  build\BuildProducts\Release\lib\G4readout.lib"
"C:\Users\inaf\Geant4\geant4_1

  0_05-build\BuildProducts\Release\lib\G4physicslists.lib"
"C:\Users\inaf\Geant

  4\geant4_10_05-build\BuildProducts\Release\lib\G4parmodels.lib"
"C:\Users\ina

  f\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4FR.lib"
"C:\Users\ina

 
f\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4vis_management.lib"
"

 
C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4modeling
.

  lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4run

  .lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4ev

  ent.lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G

  4tracking.lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Release

  \lib\G4processes.lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\

  Release\lib\G4analysis.lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildPro

  ducts\Release\lib\G4expat.lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\Build

  Products\Release\lib\G4zlib.lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\Bui

  ldProducts\Release\lib\G4digits_hits.lib"
"C:\Users\inaf\Geant4\geant4_10_05-

  build\BuildProducts\Release\lib\G4track.lib"
"C:\Users\inaf\Geant4\geant4_10_

  05-build\BuildProducts\Release\lib\G4particles.lib"
"C:\Users\inaf\Geant4\gea

  nt4_10_05-build\BuildProducts\Release\lib\G4geometry.lib"
"C:\Users\inaf\Gean

  t4\geant4_10_05-build\BuildProducts\Release\lib\G4materials.lib"
"C:\Users\in

 
af\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4graphics_reps.lib"
"

 
C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4intercom
s

  .lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4gl

  obal.lib"
"C:\Users\inaf\Geant4\geant4_10_05-build\BuildProducts\Release\lib\

  G4clhep.lib" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib
ole32

  .lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST
/MANIFESTUAC:"

  level='asInvoker' uiAccess='false'" /manifest:embed
/PDB:"C:/Users/inaf/Geant

  4/B1-build/Release/exampleB1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE
/N

  XCOMPAT /IMPLIB:"C:/Users/inaf/Geant4/B1-build/Release/exampleB1.lib"
/MACHIN

  E:X86 /SAFESEH  /machine:X86 exampleB1.dir\Release\exampleB1.obj

LINK : fatal error LNK1181: impossibile aprire il file di input
'C:\Users\inaf\

Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4Tree.lib'
[C:\Users\inaf\

Geant4\B1-build\exampleB1.vcxproj]

Compilazione progetto "C:\Users\inaf\Geant4\B1-build\exampleB1.vcxproj"
(destin

azioni predefinite) NON COMPLETATA.

 

Compilazione progetto "C:\Users\inaf\Geant4\B1-build\ALL_BUILD.vcxproj"
(destin

azioni predefinite) NON COMPLETATA.

 

 

Compilazione NON RIUSCITA.

 

"C:\Users\inaf\Geant4\B1-build\ALL_BUILD.vcxproj" (destinazione predefinita)
(1

) ->

"C:\Users\inaf\Geant4\B1-build\exampleB1.vcxproj" (destinazione predefinita)
(3

) ->

(destinazione: Link) ->

  LINK : fatal error LNK1181: impossibile aprire il file di input
'C:\Users\ina

f\Geant4\geant4_10_05-build\BuildProducts\Release\lib\G4Tree.lib'
[C:\Users\ina

f\Geant4\B1-build\exampleB1.vcxproj]

 

    Avvisi: 0

    Errori: 1

 

Tempo trascorso 00:00:04.66

----------------------------------------------------------------------------
------------------------

 

 

In other words, i always obtain the same error on link 1181. 

I opened the project “ exampleB1.vcxproj”  directly with visual studio,
trying to 

change the linker path with C: \ Users \ inaf \ Geant4 \ geant4_10_05 \
source 

where the libraries called from exampleB1, are listed (in as many
subdirectories) in the correspondent directory “…\source”

 

Moreover,

i inserted the environment variable "G4LIB_USE_DLL" path 

(C: \ Users \ inaf \ Geant4 \ geant4_10_05 \ source) 

 

 

Despite several attempts i always obtain the same error.

It is clear that the linker does not refer only to the G4Tree.lib  but also
G4GMocren.lib, 

G4visHepRep.lib etc....., that is, to all the libraries called by the linker
in thr the following path 

"C: \ Users \ inaf \ Geant4 \ geant4_10_05-build \ BuildProducts \ Release \
lib \"  à that does NOT EXIST.

 

 

I would ask for courtesy if there is someone who can help me solve this
problem.

 

 

Thanks!


 [ MIME part of type text/html without a name stripped ]

 Add Message Add Message
to: "LINK : fatal error LNK1181 cannot open G4Tree.lib"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]