Closed manuel-j-diaz closed 1 year ago
Can you try reducing the number of cores when building?
Change
cmake --build . -j4
To
cmake --build . -j2
Yea i agree with @jasonmeverett , looks like it's running out of ram, if I remember correctly, unless you explicitly increase it, wsl2 is limited to 8 gigs of ram by default regardless of how much the computer has, -j4 would definitely saturate that and kill the process, try -j2 or j1 to be safe
If you don't care much for building by source, there's a pre-built ASSET image you can pull down with:
docker pull jasonmeverett/asset-docker
Thanks! That did it. My WSL2 was using 4GB of RAM. After I bumped it to 12GB, I never saw more than 7GB being used.
Thanks again for the suggestions.
@manuel-j-diaz you could also consider using the example project layout, avoiding the need to build ASSET: https://github.com/jasonmeverett/asset-example-project
Host OS: WSL2
Running
docker build -t asset .
on Dockerfile, steps 6 of 7 build successfully, but the last does not:I'm not sure why
ASSET_Astro.cpp.o
fails to build.