Re: [brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-06-06 Thread Vasco Alexandre da Silva Costa
On Sun, Jun 5, 2016 at 8:46 PM, Param Hanji wrote: > Yup, that's how I defined it too. But ran into a problem. Like I mentioned > earlier, compilation of my OpenCL source code happens from some > pre-determined location (/usr/brlcad/dev-7.25.0/share/opencl/). If I change > the source code, save a

Re: [brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-06-05 Thread Param Hanji
On Sun, Jun 5, 2016 at 6:14 PM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Thu, Jun 2, 2016 at 10:36 PM, Vasco Alexandre da Silva Costa < > vasco.co...@gmail.com> wrote: > >> On Thu, Jun 2, 2016 at 6:55 PM, Param Hanji >> wrote: >> >>> I'll try my best for one last day to

Re: [brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-06-05 Thread Vasco Alexandre da Silva Costa
On Thu, Jun 2, 2016 at 10:36 PM, Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Thu, Jun 2, 2016 at 6:55 PM, Param Hanji > wrote: > >> I'll try my best for one last day to get things working on OS X. >> Otherwise I'll just use Linux again. I can always get back to OS X suppor

Re: [brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-06-02 Thread Vasco Alexandre da Silva Costa
On Thu, Jun 2, 2016 at 6:55 PM, Param Hanji wrote: > I'll try my best for one last day to get things working on OS X. Otherwise > I'll just use Linux again. I can always get back to OS X support once the > GSoC period ends. Does this sound okay? I should also finish up final bits > of PART and su

Re: [brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-06-02 Thread Param Hanji
> Double precision floating point support is optional under OpenCL. You > should check (e.g. with clinfo) if your hardware/driver supports double > precision. > > You can force OpenCL librt to use single precision (float), that must be > hardware supported as part of the basic OpenCL specification,

Re: [brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-06-01 Thread Vasco Alexandre da Silva Costa
On Wed, Jun 1, 2016 at 5:04 PM, Param Hanji wrote: > Hello, > > I successfully got BRL-CAD working, with all its applications and in the > X11 window system too. As I mentioned earlier, even the dynamic linking is > fixed. > > OpenCL mode fails with compilation errors. The errors tell me that vec

Re: [brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-05-30 Thread Param Hanji
Fixed it! I just had to correctly set some path variables related to the dynamic linker. The environment variables $DYLD_LIBRARY_PATH and $DYLD_FALLBACK_LIBRARY_PATH were empty initially, and I set them. Thanks, Param On Tue, May 31, 2016 at 6:50 AM Vasco Alexandre da Silva Costa < vasco.co...@gm

Re: [brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-05-30 Thread Vasco Alexandre da Silva Costa
I don't know the MacOS X environment much. But it might be the executable can't find the path where the .dynlibs are installed. On Mon, May 30, 2016 at 3:56 PM, Param Hanji wrote: > Hello all, > > My laptop was overheating a little. and was also having some issues with > driver support for the G

[brlcad-devel] Dynamic Linker in OS X 10.11.4

2016-05-30 Thread Param Hanji
Hello all, My laptop was overheating a little. and was also having some issues with driver support for the GPU. So, I decided to change it. However, I'm having some trouble getting BRL-CAD working. Compilation and installation using 'make' happen as expected. All the tests pass too. However when