Coder Social home page Coder Social logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Thanks for the report. I'm still trying to have the support of both VTK 5.x and 
VTK 6, but I did not pay attention to the linking errors with VTK 6. The 
difference in the libraries' name for VTK 6 is indeed the reason of the linker 
error. 

Original comment by arnaud.barre on 31 Oct 2013 at 7:28

  • Added labels: Milestone-BTK-0.3, OpSys-All
  • Now blocked on: #65

from b-tk.googlecode.backup.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Thanks for your reply. I used in cmakelists file for vtk VTK_LIBRARIES instead 
of the old libs. So now 'make' fails to find 'numpy/arrayobject.h' but 
otherwise errors that i get seem to be just couple of old functions that have 
to be changed for vtk-6. I am not sure you will find it helpful but just in 
case i attached the log.
thanks

Original comment by [email protected] on 1 Nov 2013 at 1:20

Attachments:

from b-tk.googlecode.backup.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Thanks for the error log. This is very useful.
 - Regarding the numpy error: which version of numpy is installed on your computer? I have no problem to compile the Python bindings with the version embedded in MacOS 10.8.5 as well as under Ubuntu 12.04.
 - Regarding VTK errors: Are you using the development version of VTK? It seems you use VTK 6.1 but the last version released is VTK 6.0. The legacy errors (and linker error) could come from this.

Original comment by arnaud.barre on 1 Nov 2013 at 4:26

from b-tk.googlecode.backup.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Revisions 624f99814ab4, 4e5abb6f6ccd, and 5637fa0801db should fix all the 
reported errors. Compared to the issue #65, most of the errors in this issue 
are due to the configuration of VTK 6.0 with the option VTK_LEGACY_REMOVE. The 
code in BTK is now adapted to take the use of this option.

WARNING: If you want to compile also Mokka, you have to know that the code was 
never tested with VTK 6.x. Therefore, some display issues could happen or even 
linker errors.

Original comment by arnaud.barre on 1 Nov 2013 at 9:16

  • Changed state: Fixed

from b-tk.googlecode.backup.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
thanks for your quick reply. You are right, i accidentally install vtk from 
master branch; numpy was my mistake as well - i have it in 'unusual' location 
and had to insert version and include directory manually in cmake but instead 
of pointing to numpy-core folder pointed to numpy folder. 

I reinstall vtk (is 6.0.0 now) and updated btk. Manually changed QVTK lib to 
VTK_LIBRARIES in cmakelists for mokka; setinput and DATA_TIME_STEPS to 
setinputdata and DATA_TIME_STEP in Mokka/ChartWidget.cpp and 
MultiViewWidget.cpp. 

All good but now i get Undefined symbols for architecture x86_64 with 
QVTKWidget and i don't understand what it means; nm  -arch x86_64 doesn't 
complain. I think i leave it. and thanks again. 

Original comment by [email protected] on 2 Nov 2013 at 2:20

Attachments:

from b-tk.googlecode.backup.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
The linker errors with QVTKWidget is due to the way VTK 6 includes or not 
selected modules in the CMAKE variable VTK_LIBRARIES.  If you include the 
module vtkGUISupportQt in the command FIND_PACKAGE(VTK 6.0 …) [1], this 
should fix the problem. 

The errors reported in your second log file will be fixed later when I will 
work on Mokka. You may know, but the source code of Mokka will be removed of 
BTKCore to have its own git repository.

[1] 
https://code.google.com/p/b-tk/source/browse/CMakeLists.txt?repo=core&r=0c5e4f69
b6ed374a414ff34c67db362625c9359d#70

Original comment by arnaud.barre on 2 Nov 2013 at 3:45

from b-tk.googlecode.backup.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Thanks, adding vtkGUISupportQt and vtkViewsContext2D fixed it but there is an 
issue with bundle by installation. It's really good that you want to separate 
Mokka from btk; looking forward and deactivate visuals for now.

CMake Error at /Applications/CMake 
2.8-11.app/Contents/share/cmake-2.8/Modules/BundleUtilities.cmake:668 (message):
  error: fixup_bundle: not a valid bundle
Call Stack (most recent call first):
  /Developer/Applications/B-TK/b-tk.core/CMake/DeployQt4.cmake:168 (fixup_bundle)

Original comment by [email protected] on 2 Nov 2013 at 3:13

from b-tk.googlecode.backup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.