Hi

There are some weird settings in the Loch Makefile for the VTK variables. It
seems that VTKPATH is used to mean VTKINCLUDEPATH, but also for VTKLIBPATH,
which causes problems. Here is a better version (only for target Debian)

Best, Martin

# PLATFORM DEBIAN
CXX = c++
CC = gcc
POBJECTS = lxR2P.o
VTKPATH = /usr/local
VTKINCLUDEPATH = $(VTKPATH)/include/vtk-5.2
VTKLIBPATH = $(VTKPATH)/lib/vtk-5.2
VTKLIBS = -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics -lvtkFiltering 
-lvtkCommon -lfreetype
CXXPFLAGS = -DLXLINUX $(shell wx-config --cxxflags) -Wno-deprecated $(shell 
freetype-config --cflags) -I$(VTKINCLUDEPATH)
CCPFLAGS = -DLXLINUX  $(shell wx-config --cflags)
LXLIBDIR = linux
PLIBS = $(shell wx-config --libs --gl-libs) -L$(VTKLIBPATH) $(VTKLIBS) -lGLU 
-lpthread -lz 
LXPLATFORM = LINUX


Reply via email to