Snow Leopard

Hmm, looks like a flex version issue. Edit line 165 of panda/src/egg/lexer.lxx, change it from this:

input_chars(char *buffer, int &result, int max_size) {

To this:

input_chars(char *buffer, yy_size_t &result, int max_size) {

David

I didnt get that to work. I will look into it more tomorrow, and im almost done with a xcode 3.2 template. Will make that available tomorrow to.

I just committed a change to the lexer.lxx file on cvs that should also solve this problem. You could pick up the latest version of this one file from cvs (it shouldn’t have any conflicts with the 1.6.2 build, if that’s what you’re working with).

David

Heres a XCode 3.2 template for all you lazy guys :=)
glawe.se/Panda3D/Panda3D_1.6 … mplate.zip

Copy the Panda3D 1.6.2 folder to:
/Developer/Library/Xcode/Project Templates/Other/

The template is missing the DYLD_LIBRARY_PATH so you will have to add that manually after or you will not be able to debug.

Go to the Target in the project tree. Doubleclick on the executable name.
Select arguments tab. Press the + on the variables and add:
Name: DYLD_LIBRARY_PATH Value: /Applications/Panda3D/1.6.2/lib

That should be it. If you have any problems… well… i just hope you dont :stuck_out_tongue:

Panda runs after symlinking but I still get this error messages:

DirectStart: Starting the game.
Known pipe types:
  osxGraphicsPipe
(all display modules loaded.)
Thu Sep  3 18:58:44 XXX python2.5[332] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
Thu Sep  3 18:58:44 XXX python2.5[332] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Thu Sep  3 18:59:54 XXX python2.5[332] <Error>: kCGErrorIllegalArgument: _CGSFindSharedWindow: WID 156
Thu Sep  3 18:59:54 XXX python2.5[332] <Error>: kCGErrorIllegalArgument: CGSRemoveSurface: Invalid window 0x9c

Should I just ignore these?

A stupid question: How to go to the Target in the project tree? In MacOs Finder doubleclicking opens in Python Launcher (actually, doesn’t).

Hi. I’m not actually running Snow Leopard, but I have an updated X11 from MacOS Forge (http://xquartz.macosforge.org). The error message I’m getting is:

python Tut-Asteroids.py 
DirectStart: Starting the game.
:display(warning): Unable to load: dlopen(/Applications/Panda3D/1.6.2/lib/libpandagl.dylib, 6): Symbol not found: __glapi_Context
  Referenced from: /usr/X11/lib/libOSMesa.4.dylib
  Expected in: /usr/X11/lib/libGL.1.dylib

Known pipe types:
(all display modules loaded.)
Traceback (most recent call last):
  File "Tut-Asteroids.py", line 13, in <module>
    import direct.directbase.DirectStart
  File "Panda3D-tpl-rw/Panda3D/1.6.2/lib/direct/directbase/DirectStart.py", line 4, in <module>
  File "Panda3D-tpl-rw/Panda3D/1.6.2/lib/direct/showbase/ShowBase.py", line 229, in __init__
  File "Panda3D-tpl-rw/Panda3D/1.6.2/lib/direct/showbase/ShowBase.py", line 692, in openDefaultWindow
  File "Panda3D-tpl-rw/Panda3D/1.6.2/lib/direct/showbase/ShowBase.py", line 777, in openMainWindow
  File "Panda3D-tpl-rw/Panda3D/1.6.2/lib/direct/showbase/ShowBase.py", line 534, in openWindow
  File "Panda3D-tpl-rw/Panda3D/1.6.2/lib/direct/showbase/ShowBase.py", line 467, in makeDefaultPipe
  File "Panda3D-tpl-rw/Panda3D/1.6.2/lib/direct/directnotify/Notifier.py", line 130, in error
StandardError: No graphics pipe is available!
Your Config.prc file must name at least one valid panda display
library via load-display or aux-display.

Should I try compiling from the sources too? As to the symlinking, should I remove /usr/X11/lib/libOSMesa.4.dylib since it already exists on my system?

Hm… does running software update fix it?

No, I have the latest updates for Leopard + the updated X11 from MacOS Forge. I managed to get it work, though. I removed my existing libOSMesa.4.dylib and linked the libOSMesa.7.dylib as directed in the posts above.

sudo mv /usr/X11/lib/libOSMesa.4.dylib /usr/X11/lib/libOSMesa.4.dylib.backup 
sudo ln -s /usr/X11/lib/libOSMesa.7.dylib /usr/X11/lib/libOSMesa.4.dylib 

Wonder if this will affect other programs I run with X11…

Ah, great. For the record, this issue is fixed in latest CVS version already and will be picked up for upcoming 1.7.0.

if you want to compile panda3d on 10.6 using the 10.5 framework you need to define:

MACOSX_DEPLOYMENT_TARGET=10.5
export MACOSX_DEPLOYMENT_TARGET

othervise this error will popup:

ld: library not found for -lcrt1.10.6.o

some other notes that helped me getting further on building against 10.6 (thanks pro-rsoft):

add in makepanda.py around line 493 (on top level)

DefSymbol("ALWAYS", "_XOPEN_SOURCE", "")

copy the line definition of PFNGLTEXIMAGE3DPROC from:
/usr/X11R6/include/GL/gl.h
to:
./panda/src/glstuff/glGraphicsStateGuardian_src.h

so it looks like this:

typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);

all other fixes should be in cvs already.

For the record, I’ve just added an “–osxtarget” option to makepanda where you can set the least OSX version number where the resulting build has to be compatible with. So in your case, adding “–osxtarget 10.5” would also work (alternatively, get the latest XCode and thus get the 10.6 SDK)

I’m pretty sure that the osx targets are all supposed to be forward-compatible: if you compile for 10.4, it really means it supports 10.4 and above, and so on. We have always compiled for 10.4 within Disney, because 10.4 was the first version of OSX with enough features to support Panda, and we haven’t had problems with that compiled code running on 10.5 or 10.6.

David

Right, and I can compile the runtime distribution for 10.4 and above. There’s a problem with the official (development) release though - it is compiled against the system’s default version of Python, which is 2.3 in 10.4, 2.5 in 10.5 and 2.6 in 10.6.
Other than the fact that Panda doesn’t compile against Python 2.3, this would also mean we would have multiple downloads, one per OSX version (but hm, maybe this isn’t such a bad idea after all)

it appears that apple removed GetMainDevice for snow leopard, 64 bit: mail-archive.com/fltk-dev@ea … 02950.html

the build error i’m encountering when compiling for -arch i386 and -arch x86_64:

[ 88%] Building C++ object built/tmp/osxdisplay_composite1.o
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/osxdisplay_composite1.o -I/usr/X11R6/include -Ibuilt/tmp -Ibuilt/include -Ipanda/src/osxdisplay -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -arch i386 -O2 -DBUILDING_PANDAGLUT panda/src/osxdisplay/osxdisplay_composite1.cxx
In file included from panda/src/osxdisplay/osxdisplay_composite1.cxx:4:
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx: In member function ‘virtual void* osxGraphicsStateGuardian::do_get_extension_func(const char*, const char*)’:
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:46: warning: ‘NSIsSymbolNameDefined’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:176)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:46: warning: ‘NSIsSymbolNameDefined’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:176)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:47: warning: ‘NSLookupAndBindSymbol’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:179)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:47: warning: ‘NSLookupAndBindSymbol’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:179)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:50: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:188)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:50: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:188)


# --- error is here ---


panda/src/osxdisplay/osxGraphicsStateGuardian.cxx: In member function ‘OSStatus osxGraphicsStateGuardian::build_gl(bool, bool, FrameBufferProperties&)’:
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:189: error: ‘GetMainDevice’ was not declared in this scope



panda/src/osxdisplay/osxGraphicsStateGuardian.cxx: In member function ‘void osxGraphicsStateGuardian::describe_pixel_format(FrameBufferProperties&)’:
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:365: warning: ‘AGLDevice’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:53)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:365: warning: ‘aglDevicesOfPixelFormat’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:287)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:365: warning: ‘aglDevicesOfPixelFormat’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:287)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:366: warning: ‘AGLDevice’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:53)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:367: warning: ‘aglQueryRendererInfo’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:299)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:367: warning: ‘aglQueryRendererInfo’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:299)
In file included from panda/src/osxdisplay/osxdisplay_composite1.cxx:4:
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx: In member function ‘virtual void* osxGraphicsStateGuardian::do_get_extension_func(const char*, const char*)’:
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:46: warning: ‘NSIsSymbolNameDefined’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:176)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:46: warning: ‘NSIsSymbolNameDefined’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:176)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:47: warning: ‘NSLookupAndBindSymbol’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:179)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:47: warning: ‘NSLookupAndBindSymbol’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:179)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:50: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:188)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:50: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:188)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx: In member function ‘OSStatus osxGraphicsStateGuardian::build_gl(bool, bool, FrameBufferProperties&)’:
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:189: warning: ‘GetMainDevice’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h:3314)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:189: warning: ‘GetMainDevice’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h:3314)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx: In member function ‘void osxGraphicsStateGuardian::describe_pixel_format(FrameBufferProperties&)’:
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:365: warning: ‘AGLDevice’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:53)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:365: warning: ‘aglDevicesOfPixelFormat’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:287)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:365: warning: ‘aglDevicesOfPixelFormat’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:287)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:366: warning: ‘AGLDevice’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:53)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:367: warning: ‘aglQueryRendererInfo’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:299)
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:367: warning: ‘aglQueryRendererInfo’ is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:299)
lipo: can't figure out the architecture type of: /var/folders/kg/kg4RrvXlE2CTYFlvAohP2E+++TI/-Tmp-//ccB1Grow.out
Storing dependency cache.
Elapsed Time: 1 min 31 sec

Build terminated.

compiling with -arch i386 only works fine. under snow leopard and the latest cvs fixes (apart from the already mentioned fix for the glGraphicsStateGuardian.h problem)

Bleah. We need someone with experience with modern OSX interfaces to figure out how we’re expected to open a window and create a GL context in the latest world, assuming we’re running from a Python application, and not from within a bundle.

Apple is continually deprecating interfaces without telling us what the replacement is supposed to be. It’s an almost freakishly uncooperative development environment. :confused:

David

On 10.6.2, after installing cg and panda, the symlink

sudo ln -s /usr/X11/lib/libOSMesa.7.dylib /usr/X11/lib/libOSMesa.4.dylib 

“just works” for me.

do you talk about compiling panda3d or using the installer?

I still get the error mentioned by Hypnos with current CVS (as of Dec. 24th).

Snow Leopard 10.6.2
Xcode 3.2 (64-bit)

Using makepanda/clean rebuild + currently using the thirdparty package provided with 1.6.2, but I don’t think that’s creating the problem.

Adding --osxtarget=10.5 does not fix the problem. also removing “-arch x86_64” from the approriate lines in makepanda does not fix the problem.

Any hints or has this compile problem not yet been addressed?

[ 10%] Building Interrogate database built/pandac/input/libputil.in
built/bin/interrogate -srcdir panda/src/putil -Ipanda/src/putil -Dvolatile -Dmutable -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -D__const=const -D_LP64 -DFORCE_INLINING -oc built/tmp/libputil_igate.cxx -od built/pandac/input/libputil.in -fnames -string -refcount -assert -python-native -Sbuilt/include/parser-inc -Ipanda/src/putil -S/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -Sbuilt/tmp -Sbuilt/include -DMAKEPANDA= -DBUILDING_PANDA -module panda -library libputil animInterface.h bam.h bamCache.h bamCacheIndex.h bamCacheRecord.h bamEnums.h bamReader.h bamReaderParam.h bamWriter.h bitArray.h bitMask.h buttonHandle.h buttonRegistry.h cPointerCallbackObject.h cachedTypedWritableReferenceCount.h callbackData.h callbackObject.h clockObject.h collideMask.h compareTo.h config_util.h configurable.h copyOnWriteObject.h copyOnWritePointer.h datagramInputFile.h datagramOutputFile.h doubleBitMask.h drawMask.h factory.h factoryBase.h factoryParam.h factoryParams.h firstOfPairCompare.h firstOfPairLess.h globalPointerRegistry.h indirectCompareNames.h indirectCompareSort.h indirectCompareTo.h ioPtaDatagramFloat.h ioPtaDatagramInt.h ioPtaDatagramShort.h iterator_types.h keyboardButton.h lineStream.h lineStreamBuf.h linkedListNode.h load_prc_file.h loaderOptions.h modifierButtons.h mouseButton.h mouseData.h nameUniquifier.h nodeCachedReferenceCount.h pbitops.h portalMask.h pta_double.h pta_int.h pta_ushort.h putil_composite.cxx pythonCallbackObject.h simpleHashMap.h sparseArray.h string_utils.h timedCycle.h typedWritable.h typedWritableReferenceCount.h uniqueIdAllocator.h updateSeq.h vector_double.h vector_typedWritable.h vector_ulong.h vector_ushort.h vector_writable.h writableConfigurable.h writableParam.h
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/libputil_igate.o -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -Ibuilt/tmp -Ibuilt/include -DMAKEPANDA= -Ipanda/src/putil -Wno-deprecated-declarations -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch x86_64 -arch i386 -O2 -DBUILDING_PANDA built/tmp/libputil_igate.cxx
built/tmp/libputil_igate.cxx: In function ‘PyObject* Dtool_BitArray_get_word_427(PyObject*, PyObject*, PyObject*)’:
built/tmp/libputil_igate.cxx:28337: error: conversion from ‘BitMaskNative’ to non-scalar type ‘BitMask<long unsigned int, 64>’ requested
built/tmp/libputil_igate.cxx: In function ‘PyObject* Dtool_BitArray_set_word_428(PyObject*, PyObject*, PyObject*)’:
built/tmp/libputil_igate.cxx:28411: error: no matching function for call to ‘BitArray::set_word(int, BitMask<long unsigned int, 64>&)’
built/include/bitArray.I:396: note: candidates are: void BitArray::set_word(int, BitMaskNative)
built/include/bitMask.I: In member function ‘int BitMask<WType, nbits>::get_num_on_bits() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:23225:   instantiated from here
built/include/bitMask.I:408: error: call of overloaded ‘count_bits_in_word(const long unsigned int&)’ is ambiguous
built/include/pbitops.I:21: note: candidates are: int count_bits_in_word(PN_uint32)
built/include/pbitops.I:30: note:                 int count_bits_in_word(PN_uint64)
built/include/bitMask.I: In member function ‘int BitMask<WType, nbits>::get_num_off_bits() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:23280:   instantiated from here
built/include/bitMask.I:420: error: call of overloaded ‘count_bits_in_word(long unsigned int)’ is ambiguous
built/include/pbitops.I:21: note: candidates are: int count_bits_in_word(PN_uint32)
built/include/pbitops.I:30: note:                 int count_bits_in_word(PN_uint64)
built/include/bitMask.I: In member function ‘int BitMask<WType, nbits>::get_lowest_on_bit() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:23335:   instantiated from here
built/include/bitMask.I:432: error: call of overloaded ‘get_lowest_on_bit(const long unsigned int&)’ is ambiguous
built/include/pbitops.I:102: note: candidates are: int get_lowest_on_bit(PN_uint32)
built/include/pbitops.I:117: note:                 int get_lowest_on_bit(PN_uint64)
built/include/bitMask.I: In member function ‘int BitMask<WType, nbits>::get_highest_on_bit() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:23445:   instantiated from here
built/include/bitMask.I:456: error: call of overloaded ‘get_highest_on_bit(const long unsigned int&)’ is ambiguous
built/include/pbitops.I:132: note: candidates are: int get_highest_on_bit(PN_uint32)
built/include/pbitops.I:143: note:                 int get_highest_on_bit(PN_uint64)
built/include/bitMask.I: In member function ‘int BitMask<WType, nbits>::get_next_higher_different_bit(int) const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:23556:   instantiated from here
built/include/bitMask.I:521: error: call of overloaded ‘count_bits_in_word(long unsigned int)’ is ambiguous
built/include/pbitops.I:21: note: candidates are: int count_bits_in_word(PN_uint32)
built/include/pbitops.I:30: note:                 int count_bits_in_word(PN_uint64)
built/include/bitMask.I: In member function ‘void BitMask<WType, nbits>::flood_down_in_place() [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:25466:   instantiated from here
built/include/bitMask.I:879: error: call of overloaded ‘flood_bits_down(long unsigned int&)’ is ambiguous
built/include/pbitops.I:40: note: candidates are: PN_uint32 flood_bits_down(PN_uint32)
built/include/pbitops.I:55: note:                 PN_uint64 flood_bits_down(PN_uint64)
built/include/bitMask.I: In member function ‘void BitMask<WType, nbits>::flood_up_in_place() [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:25525:   instantiated from here
built/include/bitMask.I:868: error: call of overloaded ‘flood_bits_up(long unsigned int&)’ is ambiguous
built/include/pbitops.I:71: note: candidates are: PN_uint32 flood_bits_up(PN_uint32)
built/include/pbitops.I:86: note:                 PN_uint64 flood_bits_up(PN_uint64)
built/include/bitMask.I: In member function ‘BitMask<WType, nbits> BitMask<WType, nbits>::flood_bits_down() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:25584:   instantiated from here
built/include/bitMask.I:902: error: call of overloaded ‘flood_bits_down(const long unsigned int&)’ is ambiguous
built/include/pbitops.I:40: note: candidates are: PN_uint32 flood_bits_down(PN_uint32)
built/include/pbitops.I:55: note:                 PN_uint64 flood_bits_down(PN_uint64)
built/include/bitMask.I: In member function ‘BitMask<WType, nbits> BitMask<WType, nbits>::flood_bits_up() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:25645:   instantiated from here
built/include/bitMask.I:890: error: call of overloaded ‘flood_bits_up(const long unsigned int&)’ is ambiguous
built/include/pbitops.I:71: note: candidates are: PN_uint32 flood_bits_up(PN_uint32)
built/include/pbitops.I:86: note:                 PN_uint64 flood_bits_up(PN_uint64)
lipo: can't figure out the architecture type of: /var/folders/18/18rxK9G2EdilLTlsXLI8yE+++TI/-Tmp-//ccNotw2J.out