[ptx] OSX with XCode
Guillaume Filion
gfk at logidac.com
Mon Jul 12 19:32:50 BST 2004
Le 04-07-11, à 06:13, Pablo d'Angelo a écrit :
>> Also, do you think that I should try to compile hugin with
>> "./configure; make" before trying to compile it with XCode?
>
> As OSX is a full blown unix, I think this should work (maybe some
> tweaks in
> the ./configure file are needed, like changing wx_xrc names etc.).
>
> Acutally, the current cvs should compile with fink.
> Please tell me what is broken, if you try the ./configure approach
> (with
> the newest cvs version). It also doesn't need any external vigra
> package
> anymore.
>
> Also, see:
> http://www.email-lists.org/pipermail/ptx/2004-June/001718.html
Okay, I removed PanoImage/Makefile and made some changes to configure,
and I get the same error as with XCode:
---- Compiling PanoToolsInterface.cpp (C++)
g++ -I. -I../include -Wall -O2 -Wno-long-double -I/sw/include
-I/Users/gfk/Documents/pano -I/Developer/Headers/FlatCarbon -I../
-I../foreign -c -o .obj/PanoToolsInterface.o PanoToolsInterface.cpp
PanoToolsInterface.cpp: In function `void PTools::setOptVars(optVars&,
const
std::set<std::string, std::less<std::string>,
std::allocator<std::string>
>&)':
PanoToolsInterface.cpp:565: error: 'struct optVars' has no member named
'
shear_x'
PanoToolsInterface.cpp:566: error: 'struct optVars' has no member named
'
shear_y'
make[1]: *** [.obj/PanoToolsInterface.o] Error 1
so I commented out those 2 lines, and I get this error:
---- Compiling UniversalCursor.cpp (C++)
g++ -I. -I../include -Wall -O2 -Wno-long-double -I/sw/include
-I/usr/local/include/pano12 -I/Developer/Headers/FlatCarbon
-I/usr/local/lib/wx/include/mac-2.5 -I/usr/local/include -D__WXMAC__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA
-I../ -I../foreign -c -o .obj/UniversalCursor.o UniversalCursor.cpp
UniversalCursor.cpp:244: error: syntax error before `::' token
make[2]: *** [.obj/UniversalCursor.o] Error 1
I'm not sure where this comes from, I'm using wXMac 2.4.2. Maibe this
is a wxMac composant that I didn't install.
Best,
GFK's
--
Guillaume Filion, ing. jr
Logidac Tech., Beaumont, Québec, Canada - http://logidac.com/
PGP Key and more: http://guillaume.filion.org/
More information about the ptX
mailing list