[vtkusers] Activiz 6.2 VTK OpenGL2

Mark DeArman mark at cascadeacoustic.com
Wed Sep 16 14:08:03 EDT 2015


 
 You need to patch all of the *.in files in the activiz source directory, search for vtkCommonEL_dll and replace with vtkCommonCoreEL_dll reconfigure, regenerate.  Or you can just patch the CS files in the build directory.
  

----------------------------------------
 From: "Matias Montroull" <matimontg at gmail.com>
Sent: Wednesday, September 16, 2015 7:25 AM
To: mark at cascadeacoustic.com
Subject: Re: [vtkusers] Activiz 6.2 VTK OpenGL2   
 Hi Mark.  
 I'm almost donde building usign the ActiViz repo, I haven't tried yours yet as I'm getting close to a success build.
  
 I had 177 projects built successful and one failed (Project: Kitware.VTK, Configuration: Release Win32 ------)
  
 I'm getting one last error which is this:
  Error 3834 error CS0103: The name 'vtkCommonEL_dll' does not exist in the current context c:\ActiViz\activizdotnet_build\csharp\vtkObject.cs 615

  
  
 Here's the full log:
  177>------ Build started: Project: Kitware.VTK, Configuration: Release Win32 ------
 177>Generating bin/Release/Kitware.mummy.Runtime.dll
 177>Building C# library 'Kitware.VTK'...
 177>Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.7903
 177>for Microsoft (R) .NET Framework version 3.5
 177>Copyright (C) Microsoft Corporation. All rights reserved.
 177>warning CS1668: Invalid search path 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\lib' specified in 'LIB environment variable' -- 'The system cannot find the path specified. '
 177>warning CS1668: Invalid search path 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\lib\i386' specified in 'LIB environment variable' -- 'The system cannot find the path specified. '
 177>warning CS1668: Invalid search path 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\lib' specified in 'LIB environment variable' -- 'The system cannot find the path specified. '
 177>csharp\vtkEnSightMasterServerReader.cs(114,15): warning CS0108: 'Kitware.VTK.vtkEnSightMasterServerReader.CanReadFile(string)' hides inherited member 'Kitware.VTK.vtkGenericEnSightReader.CanReadFile(string)'. Use the new keyword if hiding was intended.
 177>csharp\vtkGenericEnSightReader.cs(164,22): (Location of symbol related to previous warning)
 177>csharp\vtkObject.cs(615,14): error CS0103: The name 'vtkCommonEL_dll' does not exist in the current context
 177>csharp\vtkObject.cs(3978,15): error CS0103: The name 'vtkCommonEL_dll' does not exist in the current context
 177>csharp\vtkObject.cs(4005,15): error CS0103: The name 'vtkCommonEL_dll' does not exist in the current context
 177>csharp\vtkObject.cs(4042,14): error CS0103: The name 'vtkCommonEL_dll' does not exist in the current context
 177>csharp\vtkObject.cs(4059,14): error CS0103: The name 'vtkCommonEL_dll' does not exist in the current context
 177>csharp\vtkStringArray.cs(720,15): error CS0103: The name 'vtkCommonEL_dll' does not exist in the current context
 177>csharp\vtkProgrammableAttributeDataFilter.cs(346,15): error CS0103: The name 'vtkGraphicsEL_dll' does not exist in the current context
 177>csharp\vtkResliceImageViewer.cs(136,16): warning CS1591: Missing XML comment for publicly visible type or member 'Kitware.VTK.vtkResliceImageViewer.SliceChangedEvent_WrapperEnum'
 177>Project : error PRJ0019: A tool returned an error code from "Building C# library 'Kitware.VTK'..."

  
 Did you have the same issue while you were building your project?
  
 Thank you,
  
 Matias.
  

    El mar., 15 de sept. de 2015 a la(s) 6:02 p. m., Mark DeArman <mark at cascadeacoustic.com> escribió:
  You can either edit the project files in Visual studio, and add it to the Project Options->Linker->Input
 Or you can download my patched source bundle which will generate the correct project files.
  
  
  Mark DeArman
 Cascade Acoustic Research
 http://www.cascadeacoustic.com
 (253) 200-5353

  

----------------------------------------
 From: "Matias Montroull" <matimontg at gmail.com>
Sent: Tuesday, September 15, 2015 1:39 PM

To: mark at cascadeacoustic.com
Subject: Re: [vtkusers] Activiz 6.2 VTK OpenGL2
   
 I'm in the same boat now. Getting these:    
    Error 4003 error LNK2001: unresolved external symbol "void __cdecl vtkRenderingContextOpenGL_AutoInit_Destruct(void)" (?vtkRenderingContextOpenGL_AutoInit_Destruct@@YAXXZ) vtkChartEL.obj

    
    
   How did you do this:
     You just need to add the library: vtkRenderingContextOpenGL-6.2.lib
 To the linker input in the activiz projects it is missing from.

  

    Thanks,
 Matias.

      El mar., 15 de sept. de 2015 a la(s) 3:41 p. m., Matias Montroull <matimontg at gmail.com> escribió:
  I selected .Net 3.5   Should I select another target platform?

     El mar., 15 de sept. de 2015 a la(s) 3:03 p. m., Mark DeArman <mark at cascadeacoustic.com> escribió:
  I mean, did you chose .NET 2.0, 3.5, 4.0?  If you choose > 3.5 then you need to download my patched source tree, otherwise it will fail.
  
  Mark DeArman
 Cascade Acoustic Research
 http://www.cascadeacoustic.com
 (253) 200-5353

  

----------------------------------------
 From: "Matias Montroull" <matimontg at gmail.com>
Sent: Tuesday, September 15, 2015 10:37 AM

To: mark at cascadeacoustic.com
Subject: Re: [vtkusers] Activiz 6.2 VTK OpenGL2
   
 I used the one from GitHub... I used the 9.0 compiler which is VS 2008    Regards

      El mar., 15 de sept. de 2015 a la(s) 1:59 p. m., Mark DeArman <mark at cascadeacoustic.com> escribió:
  Lol, I don't know about that one ;-)  Did you use my source code, or the one from github?
 Which CSC compiler did you use?
  
  Mark DeArman
 Cascade Acoustic Research
 http://www.cascadeacoustic.com
 (253) 200-5353

  

----------------------------------------
 From: "Matias Montroull" <matimontg at gmail.com>
Sent: Tuesday, September 15, 2015 9:55 AM

To: mark at cascadeacoustic.com
Subject: Re: [vtkusers] Activiz 6.2 VTK OpenGL2
   
 Ok, so, I generated the Kitware.mummy.Runtime.dll and the mummy.exe with no errors.      
       When I ran the tests, I got this:
        
        The following tests FAILED:
   20 - TestAllVehicles_csharp (Not Run)
   21 - TestCallback_csharp (Not Run)
   22 - TestPerformance_csharp (Not Run)
   23 - TestPerformanceArrayAccess_csharp (Not Run)
   24 - ManualTestAllVehicles_csharp (Not Run)
   25 - ManualTestEvent_csharp (Not Run)
   26 - ManualTestRefCountedVehicle_csharp (Not Run)
   27 - ManualTestSignatureSeries_csharp (Not Run)
   28 - ManualTestSimpleVehicle_csharp (Not Run)
   29 - ManualTestBlatMobile_csharp (Not Run)
   30 - ManualTestCallback_csharp (Not Run)
   31 - ManualTestPerformance_csharp (Not Run)
   32 - ManualTestPerformanceArrayAccess_csharp (Not Run)

        
       All other passed ok

       El mar., 15 de sept. de 2015 a la(s) 1:33 p. m., Mark DeArman <mark at cascadeacoustic.com> escribió:
  You don't need to build the Vehicle projects.  Just Mummy.Runtime ensure it builds and run Mummy.Runtime TESTING project. There were errors building many of the other projects.  Otherwise, Make sure CMAKE is set to VS2008 Generator and CMAKE C,CXX compiler is set to VS2008 and that you have run the GCCXML include file patch bat script.
  
  Mark DeArman
 Cascade Acoustic Research
 http://www.cascadeacoustic.com
 (253) 200-5353

  

----------------------------------------
 From: "Matias Montroull" <matimontg at gmail.com>
Sent: Tuesday, September 15, 2015 8:30 AM

To: mark at cascadeacoustic.com
Subject: Re: [vtkusers] Activiz 6.2 VTK OpenGL2
   
 Hi Mark,       
         Thanks for all the information, I'm building Mummy and I'm getting errors of this type:
          
          Error 1 error PRJ0019: A tool returned an error code from "Generating xml/VehicleDescriptor.xml" base_csharp

          
         Any ideas what it may be?
          
         Thanks,
          
         Matias.

        El sáb., 12 de sept. de 2015 a la(s) 4:48 p. m., Mark DeArman <mark at cascadeacoustic.com> escribió:
  Okay, last e-mail.  The last key to getting it to build, is to patch the csharp files once everything else is built.
 vtkObject.cs and vtkStringArray.cs
 replace vtkCommonEL_dll with vtkCommonCoreEL_dll
  
 vtkProgrammableAttributeDataFilter.cs
 replace vtkGraphicsEL_dll with vtkFiltersProgrammableEL_dll
  
 I checked that the symbols are in fact in those dlls.  You should be good to go from there.
  
 If you know how to actually patch the source distribution, I would love to know, but I don't have any time to waste figuring that part out.
  
 Good luck,
  
  Mark DeArman
 Cascade Acoustic Research
 http://www.cascadeacoustic.com
 (253) 200-5353

  
 From: "Matias Montroull" <matimontg at gmail.com>
Sent: Saturday, September 12, 2015 10:00 AM
To: mark at cascadeacoustic.com
Subject: Re: [vtkusers] Activiz 6.2 VTK OpenGL2        

Hi Mark, 

I'm also trying to build activiz but not getting that error, I get other errors and I think I selected the opengl2.
Can you send me the steps you followed to build ActiViz so I can compare and see where the issue may be?
Thanks
Matias   I am building Activiz 6.2 from source right now.  Everything has gone pretty well, or as well as any type of large build like this ever goes on Windows.  I'm down to the last couple of errors to sort out in linking against my VTK build.
  
 Something to do with AUTOINIT
 error LNK2019: unresolved external symbol "void __cdecl vtkRenderingContextOpenGL_AutoInit_Construct(void)" 
  
 Anyway, that really isn't my question.  I built VTK with the default OpenGL renderer.  Then as I was searching for clues on this error I started reading about the OpenGL2 renderer.  Is this supported with Activiz?  Has anyone tried it?  I'm a little worried that if I go back and spend all the time to get it working, there might be some issues hosting the content inside a WPF window.
  
 Thanks in advance,
  
  Mark DeArman
 Cascade Acoustic Research
 http://www.cascadeacoustic.com
 (253) 200-5353

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
 

         --
         Matias

       --
       Matias

     --
     Matias

   --
   Matias

 --
 Matias

 --
 Matias


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150916/f50a2e7d/attachment.html>


More information about the vtkusers mailing list