[vtkusers] Error compiling vtk 6.3.0 on win32 (VC++ 2010)
jd379252 at gmail.com
Wed Sep 16 16:12:27 EDT 2015
Le 16/09/2015 22:03, David Gobbi a écrit :
> On Wed, Sep 16, 2015 at 1:52 PM, pof <jd379252 at gmail.com
> <mailto:jd379252 at gmail.com>> wrote:
> No David, I have neither mingw-gcc nor cygwin installed.
> I have just run again CMake from scratch to produce win32 project,
> and this time everything is fine in vtkConfigure.h.
> I don't know why yesterday CMake ended with this mistake in
> Sorry for reporting what seems to be a wrong issue.
> I've had similar cmake mess-ups occur when I forget to run the vcvars
> .bat file, or when I otherwise don't have the environment variables
> set correctly.
> Also, whenever you make compiler-related changes to your configuration
> (e.g. changing from 32-bit to 64-bit), be sure to start with a clean
> build directory and a new CMakeCache.txt.
> - David
I always run CMake from GUI and never run vcvars.bat.
Now thinking a bit more about yesterday error, I think VC2010 was
launched when I run CMake, which could be a reason.
I'll avoid that in the future.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers