[Scons-users] Small troubles while trying simple scons build for my project

Dirk Bächle tshortik at gmx.de
Sun Sep 18 07:58:38 EDT 2016


Hi Steven,

On 18.09.2016 05:39, Steven Truppe wrote:
> WHERE do i have to put those settings in and how about the naming conventions because he builds and Error.o file but no liberror
> file.. i'm a bit confused about this build system, isn't there a simple example of a project using it that just uses basic things i
> need ? i don't want to go back to make or cmake ....

William has already given you the correct link into the UserGuide, and if you are searching for tips on how to basically setup your 
projects this is the first place to visit.

Just as in "make" or "cmake" you have to inform the compiler/linker that you want to link the created library against your main 
program. This is a required step to make the contained symbols known, and the error message you see is actually not build system 
related, but C/C++ compiler/linker related.

I hope our comments and advices so far gave you enough information to overcome your first hurdles by reading the UserGuide, and 
adding the correct "LIBS" and "LIBPATH" settings to your environment.

If you're still struggling with this, please post your current SConstructs/SConscripts again together with the verbose error message 
you get. Otherwise it's hard for us to guess what you've tried in the meantime and what exactly is still not working. ;)

I hope this helps you already a bit further.

Best regards,

Dirk



More information about the Scons-users mailing list