[ptx] OSX with XCode

Pablo d'Angelo pablo.dangelo at web.de
Mon Jul 12 21:43:22 BST 2004


On Mon, 12 Jul 2004, Guillaume Filion wrote:

> 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

Hmm, strange.. which version of the panotools library do you use? the MAC OS
version should also support the shear.

> 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.

Hmm, probably not. I've written my own cursor class, since all the other
wxWindows cursor classes have a platform dependant usage. Probably the
MAC version doesn't work really well yet. I'll change the code so that it
doesn't use UniversalCursor.cpp on wxMac

ciao
  Pablo


More information about the ptX mailing list