Message: Re: Running example fails Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Running example fails 

Forum: Installation and Configuration
Re: None Running example fails (Alexis Kalogeropoulos)
Date: 16 Dec, 2014
From: Gunter Folger <Gunter Folger>


I see two problems. First $HOME/B1 is the source code of teh example, and your build directory is the same directory. This is not recommended, and causes the error:
 make: *** No rule to make target `../../../config/binmake.gmk'.  Stop.

So, please build in a directory seperate from the example source directory.

Then, I just found that you also need to set the compiler for cmake explicitely:

export CXX=`which g++`;export CC=`which gcc`

before running cmake

Hope this helps, Gunter

 Add Message Add Message
to: "Re: Running example fails"

 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 ]