On Mon, Mar 21, 2016 at 4:58 AM, Christopher Sean Morrison <brl...@mac.com>
wrote:
>
> Still no image preview?
>
>
> > PS: This should be improved with some kind of smart way to find the
> directory where the files are in, or at least by looking the directory up
> in an environment variable, but the current clt_init and clt_read_code
> aren't that smart. You should have got some output error message like
> "failed to read OpenCL code file (solver.c)”.
>
> BRL-CAD’s libbu library provides API for doing that, bu_brlcad_dir()
> and/or bu_brlcad_data(). See include/bu/file.h for details and examples
> throughout the codebase.
>
Right. But I think it's also necessary to change the CMakefiles in order to
install the .cl files somewhere. I'm unsure where to place them.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel