after these code
cp -r $GARFIELD_HOME/Examples/Gem .
mkdir build
cd build
cmake ..
make
comes the error ,when I try to run the application ./gem
So what’s the problem and how to solve it
cp -r $GARFIELD_HOME/Examples/Gem .
mkdir build
cd build
cmake ..
make
comes the error ,when I try to run the application ./gem
So what’s the problem and how to solve it
I think when you use cmake ..
you actually call the CMakeLists.txt
at the path ~/garfieldpp/
which is not the one of gem example.
try:
cd $GARFIELD_HOME/Examples/Gem
mkdir build
cd build
cmake ..
make
Hi,
Thanks a lot for your reply
Indeed it’s the reason for the problem, I have tried it again, and that works.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.