[vtk-developers] Sharing a build issue solution - Multiple
David E DeMarle
dave.demarle at kitware.com
Mon Jun 8 22:32:37 EDT 2015
Ouch - painful, thanks for sharing.
Probably because of reasons like this I habitually use build tree. About
the only time I ever run make install is at release time testing out
release candidates.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Sun, Jun 7, 2015 at 2:53 PM, Ashray Malhotra <
ashray.malhotra.1994 at gmail.com> wrote:
> Hello all,
>
> I wasted a lot of time on a silly VTK building issue and wanted to share
> it with you guys to make sure none of you run into the same issue.
>
> I had built VTK and everything was running perfectly on my system. I was
> just experimenting with the VTK code and tried to compile it, but just to
> check I compiled it with the configuration of OpenGL2. But then after this
> my codes didn't compile(not even those that used to work earlier). After
> this I reverted back to building using OpenGL, again did a cmake for the
> new configuration. In both the steps I had done make install to copy the
> files to /usr/local(I use OS X).
>
> Even after building VTK with OpenGL multiple times(using slightly
> different configurations), none of the previously working codes were
> compiling, make was unsuccessful. I did make clean and git clean -df to get
> back to the previous working state and then built VTK again but alas even
> this failed.
>
> Finally I figured out that the error was that VTK while running was still
> using the OpenGL2 files from the /usr/local since make install did not
> remove the older VTK files in that directory. Hence I manually removed all
> the vtk associated files from that directory(using terminal). I followed it
> by a make install which successfully.
>
> I wasted over 2 days of productive time trying to figure this out, I hope
> it will help you guys save your time if you ever fall into this problem.
>
> Thanks.
>
> --
> Regards
> Ashray Malhotra
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150608/2a3753cf/attachment.html>
More information about the vtk-developers
mailing list