Women in Technology

Hear us Roar



Article:
  Developing Visualization Applications with Cocoa and VTK
Subject:   Anyone get this to build?
Date:   2003-02-12 16:44:16
From:   dogzilla
I downloaded the current version of cmake (1.6). Following the article resulted in errors, but cmake suggested setting a compatibility variable to 1.4, which worked. Then make fails at TestInstantiator with undefined symbols (_MPProcessors).


Had a bunch of problems with the previous article as well. I'd really like to start experimenting with VTK, but it seems as though it's not ready for prime time on OSX.


If anyone can help resolve these issues, please post.

Full Threads Oldest First

Showing messages 1 through 4 of 4.

  • Anyone get this to build?
    2003-02-13 15:50:52  jpigeon [View]

    Yes, I had precisely the same build issues.
    Maybe Drew could point us in the right direction.
    • Anyone get this to build?
      2003-02-14 00:23:28  drewmccormack [View]

      Hi guys,

      It is true that VTK is not always easy to get to build. I had hoped my instructions would produce a working copy for most, even if not completely up-to-date.

      Did you checkout the version of VTK from CVS for the date I gave (in September, 2002, I think it was).

      Another thing you might try is simply turning the OFF testing and examples:

      BUILD_EXAMPLES:BOOL=OFF
      BUILD_TESTING:BOOL=OFF

      Remember to run cmake a few times whenever you change something in the cache file.

      Do a search of the Cache file for the work "Carbon". The carbon library should not be linked anywhere, otherwise something has gone wrong.

      I also suggest you not try to turn on wrapping for another language like Java or Tcl. This can also lead to trouble.

      I had trouble compiling VTK in the beginning too. What I found was, if things went wrong, you should delete everything in your build directory EXCEPT your CMakeCache.txt file, and run cmake again. I don't know why, but sometimes things go wrong in that build directory, and deleting everything except the cache file seems to help.

      And if this is all too hard, go to www.atamai.com and let Yves Starreveld know you are interested in a VTK framework. He was thinking about making one, and if he knew people were interested, he may take the last step ;-)

      Hope this helps,
      Drew
      • Anyone get this to build?
        2003-02-14 08:52:51  jpigeon [View]

        Setting
        BUILD_EXAMPLES:BOOL=OFF
        BUILD_TESTING:BOOL=OFF
        did the trick, although vtkCocoaGLView.mm gave a few warnings.

        Looking forward to checking out the rest of your article.

        Thanks
        • Anyone get this to build?
          2003-03-31 08:41:02  anonymous2 [View]

          hello gentle persons,

          based on standard fink install (version 0.11.1; distribution 0.5.0a.cvs) under MacOSX 10.2.4, which I used for the installation of e.g. cmake. The make-process runs fine (with the changes and the source from the vtk-repository mentioned in the article).
          fink let you easily install cmake version 1.4.6-2, which frees you of some of the problems mentioned in this forum by others.

          cheers,
          markus