Compiling Cortex using gafferDependencies

58 views
Skip to first unread message

Rob Pieke

unread,
Feb 21, 2018, 12:21:35 PM2/21/18
to cortexdev ‎[cortexdev@googlegroups.com]‎
Is there a quick way to tell Scons to find *all* the dependencies via a downloaded gafferDependencies bundle, or is this going to be a long and painful:

scons BOOST_INCLUDE_PATH=/myDrive/gafferDependencies/include BOOST_LIB_PATH=.........

?

Thanks!

- Rob

John Haddon

unread,
Feb 21, 2018, 12:45:17 PM2/21/18
to cortexdev
Long and painful I'm afraid (for extremely mild definitions of both). You can crib the full list from our travis setup.

There are actually LIBPATH and CPPATH build options that in theory should be one-shot like you're looking for, but the problem is that the default values for the other options will often end up finding system versions of the libraries in preference. Hence it's better to be explicit. We do have an open issue for improving the situation should you feel so inclined...

Cheers...
John


--
--
You received this message because you are subscribed to the "cortexdev" group.
To post to this group, send email to cort...@googlegroups.com
To unsubscribe from this group, send email to cortexdev-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cortexdev?hl=en
---
You received this message because you are subscribed to the Google Groups "cortexdev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cortexdev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
John Haddon - R&D Programmer
Image Engine
studio: +1 (604) 874-5634 | jo...@image-engine.com | www.image-engine.com



15 West 5th Avenue, Vancouver, BC, V5Y 1H4, Canada

If you are not the intended recipient, disclosure, copying, distribution and use of this email is prohibited. Please notify us immediately and delete this email from your systems. You may contact us at in...@image-engine.com if you do not wish to receive further commercial electronic messages. We may still send you messages for which we do not require consent.

Rob Pieke

unread,
Feb 21, 2018, 12:54:21 PM2/21/18
to cort...@googlegroups.com
Thanks for confirming the upcoming world of pain ;)

Thanks for the travis link ... it'll be much faster for me to copy-and-paste-and-modify that than to work through the output of "scons -h".

- Rob



From: cort...@googlegroups.com [cort...@googlegroups.com] on behalf of John Haddon [jo...@image-engine.com]
Sent: 21 February 2018 17:45
To: cortexdev
Subject: Re: [cortex] Compiling Cortex using gafferDependencies

** WARNING: This mail is from an external source **

To unsubscribe from this group, send email to cortexdev-...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/cortexdev?hl=en
---
You received this message because you are subscribed to the Google Groups "cortexdev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cortexdev+...@googlegroups.com.

Rob Pieke

unread,
Feb 21, 2018, 3:31:29 PM2/21/18
to cort...@googlegroups.com
I'll submit a patch for consideration in the next day or two, but I suspect it'll get rejected for breaking existing behaviour :)




From: cort...@googlegroups.com [cort...@googlegroups.com] on behalf of John Haddon [jo...@image-engine.com]
Sent: 21 February 2018 17:45
To: cortexdev
Subject: Re: [cortex] Compiling Cortex using gafferDependencies

** WARNING: This mail is from an external source **

To unsubscribe from this group, send email to cortexdev-...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/cortexdev?hl=en
---
You received this message because you are subscribed to the Google Groups "cortexdev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cortexdev+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages