DifferentiableCloth icon indicating copy to clipboard operation
DifferentiableCloth copied to clipboard

compile failure

Open BingyangZHOU opened this issue 2 years ago • 4 comments

when I cd arcsim/dependencies and make,I got the error as follows: make cd jsoncpp && /scratch0/scons/bin/scons platform=linux-gcc /bin/sh: 1: /scratch0/scons/bin/scons: not found Makefile:12: recipe for target 'lib/libjson.a' failed make: *** [lib/libjson.a] Error 127

BingyangZHOU avatar Aug 31 '22 07:08 BingyangZHOU

solve it by use scons platform=linux-gcc to replace /scratch0/scons/bin/scons platform=linux-gcc

BingyangZHOU avatar Aug 31 '22 11:08 BingyangZHOU

solve it by use scons platform=linux-gcc to replace /scratch0/scons/bin/scons platform=linux-gcc

I meet the same problem with you and I try to replace it with scons platform=linux-gcc as well, but this lead to the same error:

cd jsoncpp && scons platform=linux-gcc /bin/sh: 1: scons: not found Makefile:12: recipe for target 'lib/libjson.a' failed make: *** [lib/libjson.a] Error 127

So can you tell me why you change it to scons platform=linux-gcc and why it works for you? I think this can help me! Thanks a lot!

sihengz02 avatar Sep 06 '22 03:09 sihengz02

solve it by use scons platform=linux-gcc to replace /scratch0/scons/bin/scons platform=linux-gcc

I think there should be a scons.sh or scons.py or something under the directory jsoncpp, but there isn't one in this source code.

sihengz02 avatar Sep 06 '22 03:09 sihengz02

solve it by use scons platform=linux-gcc to replace /scratch0/scons/bin/scons platform=linux-gcc

I think there should be a scons.sh or scons.py or something under the directory jsoncpp, but there isn't one in this source code.

Are you sure you have already installed scons? You may check this:https://installati.one/ubuntu/18.04/scons/ to install scons Then try to make again?

BingyangZHOU avatar Sep 06 '22 03:09 BingyangZHOU