[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Re: [vtkusers] Problems with vtk and matlab
From:       Dominik Szczerba <domi () vision ! ee ! ethz ! ch>
Date:       2007-11-28 14:44:48
Message-ID: 200711281544.48388.domi () vision ! ee ! ethz ! ch
[Download RAW message or body]

You did not seem to have read my previous email. I have written it is not the 
question of the older version. Your gcc is not visible to the scipt at all. 
Send us the output from typing 'gcc -v' on the command line.
-- Dominik

On Wednesday 28 November 2007 15.23:28 Corinne Bachmann wrote:
> Hi all
>
> I installed now an older version of gcc (4.0.0) and defined the gcc and
> g++ in mexopts.sh and engopts.sh like this:
>
>
> CC='/usr/lib/gcc/i586-suse-linux/4.0.0/bin/gcc'
> CXX='/usr/lib/gcc/i586-suse-linux/4.0.0/bin/g++'
>
>
> I now get the error:
>
>
> mex  -O -I/usr/local/include/vtk-5.0/ vtkPolyDataRenderer.cpp
> -L/usr/local/lib/vtk-5.0 -lvtkFiltering -lvtkRendering
> gcc: ...: No such file or directory
>
>     mex: compile of '/opt/usr/matlab/extern/src/mexversion.c' failed.
>
>
> Should I address matlab with this problem, or can somebody here help me?
> I was searching the matlab archive but I could not find anything there
> yet.
>
> Thanks for any help,
> Corinne
>
> On Mon, 2007-11-26 at 11:37 +0100, Dominik Szczerba wrote:
> > Yes, the first thing I would try is the older version of gcc. If you are
> > on linux this is trivial, just make sure the older version is installed
> > in the system (easy on most platforms) and edit the mex configuration
> > script to replace gcc / g++ with things like gcc-4.0 or so.
> > On Windows I have no idea, but can not imagine this is not possible.
> > Note, this limitation comes from Matlab.
> > bye
> > -- Dominik



-- 
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi
_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic