[vtkusers] CMakeBuildVTK5.10.1

Oo 33306820 at qq.com
Tue Mar 25 15:50:33 EDT 2014


Hi,


Thanks for your reply.


On my Mac, CMake is installed by homebrew.
:)


I downloaded VTK5.10.1 source code and built it with the help of CMake.
Then I got these Cmake Error.


In CMakeError.log, the error is 
"cc1:error: unrecognized command line option '-mlong-branch' "


Any ideas?


Meng




------------------ Original ------------------
From:  "Michka Popoff";<michkapopoff at gmail.com>;
Date:  Mar 26, 2014
To:  "Oo      "<33306820 at qq.com>; 
Cc:  "Sean McBride"<sean at rogue-research.com>; "vtkusers"<vtkusers at vtk.org>; 
Subject:  Re: [vtkusers] CMakeBuildVTK5.10.1



Hi

it seems your path contains /usr/local/Cellar, so you have homebrew installed.
You are trying to install VTK by yourself or are you using the VTK formula ?


I know that the vtk 6 formula is working on mac with the most recent Xcode. I don’t know if we tested VTK 5 with the never Xcode 5.1 ...
Besides, what about this failing part which is testing for endianess ? On which computer/architecture are you trying to install this on ?


Michka

On 25 mars 2014, at 20:20, Oo <33306820 at qq.com> wrote:



I have installed Xcode (version 5.1).


By using CMake2.8.12.2, I got the same CMake Error.




By the way, 
In my Mac, CXX compiler is c++(GCC) 4.6.4.
And C compiler is gcc (GCC) 4.6.4.


What can I do in the next step?


Thanks,


Meng




------------------ Original ------------------
From:  "Sean McBride";<sean at rogue-research.com>;
Date:  Mar 26, 2014
To:  "Oo      "<33306820 at qq.com>; "vtkusers"<vtkusers at vtk.org>; 

Subject:  Re: [vtkusers] CMakeBuildVTK5.10.1



On Tue, 25 Mar 2014 20:14:05 +0800, Oo  said:

>I tried to build VTK 5.10.1 on Mac with the help of CMake2.8.8.

Have you installed Xcode?  Which version?  In any case, the first thing I suggest is to upgrade your cmake to the newest version (2.8.12.2) and try again.

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada


.
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140326/f60085b2/attachment.html>


More information about the vtkusers mailing list