GafferHQ/gaffer

Better SCons error reporting (if possible)

Closed this issue · 1 comments

Summary

Whenever I try to build Gaffer I find that I always seem to run into things like 'Qt not found' and it's very hard to debug this issue. Similar story for Cortex and the boost library.

User story

What

When compiling Gaffer, Qt reports as not found despite having Qt installed in the file-system.

Why

"Qt not found" is very hard to debug from and requires a huge amount of time playing the guessing game on how to solve it.

Feature proposal

Have a way to make SCons print out the exact methodology it uses to detect libraries eg. a bad compile or missing .so/.dll at runtime or if it's a single missing include file to an otherwise 'correct' setup.

Example scenario(s)

A SCons flag to set or if there is one, some documentation.

Implementation notes

This is the Windows version currently, but this happens on Linux sometimes as well.

I think what you are looking for is the config.log file that SCons spits out.