So ~/atomspace/build$ make -j$(nproc)  works now, but the same command 
fails for opencog:

~/opencog/build$ make -j$(nproc)
[  1%] Built target json_spirit
[  2%] Built target blopex
[  3%] Built target serial_driver
[  7%] Built target server
[  7%] Building CXX object 
opencog/learning/dimensionalembedding/CMakeFiles/dimensionalembedding.dir/DimEmbedModule.cc.o
/home/ubuntu/opencog/opencog/learning/dimensionalembedding/DimEmbedModule.cc:33:44:
 
fatal error: opencog/atoms/proto/NameServer.h: No such file or directory
compilation terminated.
opencog/learning/dimensionalembedding/CMakeFiles/dimensionalembedding.dir/build.make:62:
 
recipe for target 
'opencog/learning/dimensionalembedding/CMakeFiles/dimensionalembedding.dir/DimEmbedModule.cc.o'
 
failed
make[2]: *** 
[opencog/learning/dimensionalembedding/CMakeFiles/dimensionalembedding.dir/DimEmbedModule.cc.o]
 
Error 1
CMakeFiles/Makefile2:624: recipe for target 
'opencog/learning/dimensionalembedding/CMakeFiles/dimensionalembedding.dir/all' 
failed
make[1]: *** 
[opencog/learning/dimensionalembedding/CMakeFiles/dimensionalembedding.dir/all] 
Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2


On Thursday, December 20, 2018 at 4:43:59 PM UTC, Johannes Castner wrote:
>
> Hi everyone, 
>
> I’m trying to rebuild the Atom Space after I had an outdated version and 
> I’m getting the following error now after typing make-j4: 
>
> virtual memory exhausted: Cannot allocate memory 
> opencog/rule-engine/CMakeFiles/ruleengine.dir/build.make:278: recipe for 
> target 'opencog/rule-engine/CMakeFiles/ruleengine.dir/InferenceSCM.cc.o' 
> failed 
> make[2]: *** 
> [opencog/rule-engine/CMakeFiles/ruleengine.dir/InferenceSCM.cc.o] Error 1 
> CMakeFiles/Makefile2:1837: recipe for target 
> 'opencog/rule-engine/CMakeFiles/ruleengine.dir/all' failed 
> make[1]: *** [opencog/rule-engine/CMakeFiles/ruleengine.dir/all] Error 2 
> make[1]: *** Waiting for unfinished jobs.... 
> Correct GHC version installed. 
> [ 88%] Built target haskell-atomspace-lib 
> [ 88%] Linking CXX shared library atomspace.so 
> [ 90%] Built target atomspace_cython 
> Makefile:149: recipe for target 'all' failed 
> make: *** [all] Error 2 
> ubuntu@ip-172-31-38-255:~/atomspace/build$ 

-- 
You received this message because you are subscribed to the Google Groups 
"opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/opencog/e3432d2c-9004-447b-8d96-0438f0fc0af2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to