Message: Re: Compiling application doesn't build executable Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Compiling application doesn't build executable 

Forum: Installation and Configuration
Re: None Compiling application doesn't build executable (Bethany)
Re: None Re: Compiling application doesn't build executable (Bethany)
Date: 05 Mar, 2013
From: Ben Morgan <Ben Morgan>

On Mon, 04 Mar 2013 21:31:38 GMT, Bethany wrote:
> -lG4zlib-L/net/local/software/RHEL_6.0_amd64/i3ports/v3/root-v5.30.05/lib

This is trying to locate a library named G4zlib-L/net/local/software/RHEL_6.0_amd64/i3ports/v3/root-v5.30.05/lib. You need a space between ${Geant4_LIBRARIES} and ${ROOT_LIBRARIES} in the target_link_libraries in your CMakeLists.txt:

target_link_libraries(dmicesimm ${Geant4_LIBRARIES} ${ROOT_LIBRARIES})
                                                   ^---- space

That should fix things...

Cheers,

Ben.

 Add Message Add Message
to: "Re: Compiling application doesn't build executable"

 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 ]