Hello, all. I am a relatively new Linux user, and this is my first time using the software “scons.” I am trying to compile a piece of software called “Mitsuba Renderer.” It is set up so that in the main directory, there are folders of various source code and libraries, and an SConstruct file as well as a Config file. It’s all set up as near as I can tell, and I have g++ installed in the form of the “gcc-g++” and “gcc48-g++” packages. When I run scons in the directory, it tells me it could not find g++ and could not compile a “simple c++ fragment.” It also tells me to look in config.log for more information. Here is an excerpt from it that may contain the error:
g++ -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o -lboost_system -lboost_filesystem -lboost_thread -ldl -lm -lpthread -lgomp
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lboost_system
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lboost_filesystem
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lboost_thread
collect2: error: ld returned 1 exit status
I’m not sure how to interpret that, but it seems like it’s looking in entirely the wrong place for gcc, which is located in my /usr/bin if I’m not mistaken.
Running that command in console returns the same error message. Running “which g++” “prints/usr/bin/g++”, which, upon inspection, is a 742 KiB executable. So there appears to be no problem there. When I simply write “g++” it prints that I didn’t give it a file to compile, which seems fine.
So now we get to the core of it: Do any of you out there have experience with scons-wrangling? And if so, what have your solutions to this problem been?
An advance deposit of thanks to anyone who can help me!