Search the web
Sign In
New User? Sign Up
vtp-unix
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
vtp - osx 10.4.9 intel   Message List  
Reply | Forward Message #601 of 823 |
Hi

this is my first mail to vtp. i'm new...

to install VTP on my mac
i foollowed the instruction at :

http://www.d.umn.edu/~willemsn/vtp/macosx_readme.html#userdefs

no problems with :

Mini CLOD
wxWidgets
PROJ library
OpenSceneGraph

but i had problem to compile gdal using :

cd gdal-1.4.0
LDFLAGS=-L/sw/lib CFLAGS=-I/sw/include CXXFLAGS=-I/sw/include ./
configure --prefix=/usr/local --without-python --with-macosx-framework
make
sudo make install


... i succesfool build gdal using :

commented the fink line in my /~.profile

#test -r /sw/bin/init.sh && . /sw/bin/init.sh

then i configure it with :

/configure --prefix=/usr/local --without-python --with-macosx-framework
make
sudo make install

next step i created in my home directory a file ~/.vtp-user.defs

override LOCALBASE = /usr/local
override OSG_BASE = /usr/local
override WX_DIR = /usr/local




in the vtp folder i substituted :

http://www.d.umn.edu/~willemsn/vtp/FelkelComponents.cpp
http://www.d.umn.edu/~willemsn/vtp/Make.defs

but when itry to run : make

i've this error :


computer-di-epifanio:~ epifanio$ cd /source/VTP/
computer-di-epifanio:/source/VTP epifanio$ make
cd TerrainSDK && make
mkdir -p /source/VTP/OSX/Frameworks
cd unzip && make all
mkdir -p /source/VTP/OSX/Frameworks/unzip.framework/Versions/A
mkdir -p /source/VTP/OSX/Frameworks/unzip.framework/Headers
ln -s /source/VTP/OSX/Frameworks/unzip.framework/Versions/A /source/
VTP/OSX/Frameworks/unzip.framework/Versions/Current
ln: creating symbolic link `/source/VTP/OSX/Frameworks/
unzip.framework/Versions/Current/A': File exists
make[2]: [/source/VTP/OSX/Frameworks/unzip.framework] Error 1 (ignored)
cp ioapi.h iowin32.h unzip.h /source/VTP/OSX/Frameworks/
unzip.framework/Headers/
cd xmlhelper && make all
make[2]: Nothing to be done for `all'.
cd vtdata && make all
g++ -g -O -Dunix=1 -D__DARWIN_OSX__ -fPIC -I/sw/include -DUNIX -I./
shapelib -I/usr/local/include -I/usr/local/include -I/source/VTP/
TerrainSDK/ -c -o Building.o Building.cpp
In file included from LocalConversion.h:17,
from Building.h:15,
from Building.cpp:12:
Projections.h:44:28: error: ogr_spatialref.h: No such file or directory
In file included from Building.cpp:12:
Building.h:17:25: error: ogrsf_frmts.h: No such file or directory
Projections.h:57: error: expected class-name before '{' token
Projections.h:71: error: 'OGRErr' does not name a type
Projections.h:76: error: 'OGRErr' does not name a type
Projections.h:79: error: 'OGRSpatialReference' has not been declared
Projections.h:141: error: expected constructor, destructor, or type
conversion before '*' token
Projections.h:142: error: expected constructor, destructor, or type
conversion before '*' token
Building.h:165: error: expected ',' or '...' before '*' token
Building.h:165: error: ISO C++ forbids declaration of 'OGRPolygon'
with no type
Building.h:225: error: 'OGRCoordinateTransformation' has not been
declared
Building.cpp:251: error: expected ',' or '...' before '*' token
Building.cpp:251: error: ISO C++ forbids declaration of 'OGRPolygon'
with no type
Building.cpp:811: error: variable or field 'TransformCoords' declared
void
Building.cpp:811: error: 'int vtBuilding::TransformCoords' is not a
static member of 'class vtBuilding'
Building.cpp:811: error: 'OGRCoordinateTransformation' was not
declared in this scope
Building.cpp:811: error: 'trans' was not declared in this scope
Building.cpp:812: error: expected ',' or ';' before '{' token
make[2]: *** [Building.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
computer-di-epifanio:/source/VTP epifanio$


i've also tried to build the gdal using fink... but i had the same
error :-(

i'm sure that i wrong/missing something in the configuration file...
any suggestion about is really appreciated !

thanks to all.

Massimo.



Fri May 4, 2007 5:11 pm

massimo_di_s...
Offline Offline
Send Email Send Email

Forward
Message #601 of 823 |
Expand Messages Author Sort by Date

Hi this is my first mail to vtp. i'm new... to install VTP on my mac i foollowed the instruction at : ...
Massimo Di Stefano
massimo_di_s...
Offline Send Email
May 4, 2007
5:16 pm

so it looks like gcc can't find gdal ogr. are the includes from gdal actually in /usr/local/include? Joe D...
joe dumoulin
joe.dumoulin@...
Send Email
May 4, 2007
5:36 pm

Hi i've solved the gdal problem using a "non framework" installation, ./configure --prefix=/usr/local --without-python now i've gdal in usr local /bin /lib...
Massimo Di Stefano
massimo_di_s...
Offline Send Email
May 4, 2007
6:59 pm

This might be a simple problem too. Look for your ZLIB installation and make sure that the path to the libraries is correctly set up in the make.defs file....
joe dumoulin
joe.dumoulin@...
Send Email
May 4, 2007
7:18 pm

... As first step to continue the adventure.... i need to check what i've for zlib ... right? :-( this is what i'm using as make.defs file : # # GNU Makefile...
Massimo Di Stefano
massimo_di_s...
Offline Send Email
May 7, 2007
9:17 am

Massimo, ... Interesting, i didn't know that gdal did have a 'framework' installation option. Most of the other libraries seem to (e.g. OSG) but in the...
Ben Discoe
bdiscoe
Offline Send Email
May 4, 2007
7:33 pm

Hi Massimo, Ben, If you wanted to use GDAL as a framework, you'll need to replace all instances of -lgdal with -framework GDAL in the makefiles. Because GDAL...
NinoWalker
Offline Send Email
May 4, 2007
11:05 pm

Nino, Wow. I just tried out the 'vterrainmacosxinstallscripts'. There's some intense script work in there! The download script appeared to run correctly. The...
Ben Discoe
bdiscoe
Offline Send Email
May 5, 2007
8:01 am

Hi VTP user, i copied the script files in a directory : /source/vtposx setted the prefix and working directory to /source/vtposx but the script wrote the file...
Massimo Di Stefano
massimo_di_s...
Offline Send Email
May 5, 2007
9:34 am

I apologize for any issues; the scripts have been debugged on my machine and for my configuration, which alas is not the cleanest environment. Stefan has been...
NinoWalker
Offline Send Email
May 5, 2007
8:12 pm

sorry for the last mail i've delete the tar.gz log and added a link to it Hi VTP user, i copied the script files in a directory : /source/vtposx setted the...
Massimo Di Stefano
massimo_di_s...
Offline Send Email
May 5, 2007
9:49 am

... Set line 5 of the build script to: TEMP=/source/vtposx This is a little convoluted because the script builds all dependencies to be bundled with the VTP...
NinoWalker
Offline Send Email
May 5, 2007
8:30 pm

... hi, i opted to build oll the packages in : /Users/epifanio/vterrain i added manually the "missing" include directory in "build.shaded" at this point...
Massimo Di Stefano
massimo_di_s...
Offline Send Email
May 6, 2007
11:54 am

... Er, ok, how might i do that? ... It is building proj: ## Installing proj ## Fixing binary links find: lib: No such file or directory find: bin: No such...
Ben Discoe
mela@...
Send Email
May 7, 2007
11:30 am

massimo, I am including the OSX section of my make.defs below. there are a couple of things I modified to get the vtp to compile on my 10.4.x system. I am...
joe dumoulin
joe.dumoulin@...
Send Email
May 7, 2007
2:44 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help