[ playerstage-Bugs-3137518 ] OSX build error - playerc_wrap.h requires #include stdint.h

"SourceForge.net" <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Message-ID <[email protected]>
Bugs item #3137518, was opened at 2010-12-15 00:22
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=433164&aid=3137518&group_id=42445

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: nsfw ()
Assigned to: Nobody/Anonymous (nobody)
Summary: OSX build error - playerc_wrap.h requires #include stdint.h

Initial Comment:
When building using cmake on OS X 10.6, uint8_t is not internally defined in the compiler, which playerc_wrap.h in playercRUBY_wrap.c references.
placing an:
#include <stdint.h> fixes it.

Exactly why this doesn't fail in playercPYTHON_wrap.c is a mystery to me! But I'm brand new to player and I've never used CMAKE... so sorry I'm not more of a help.

---


Scanning dependencies of target playercr
[ 21%] Building C object client_libs/libplayerc/bindings/ruby/CMakeFiles/playercr.dir/playercRUBY_wrap.o
In file included from /Users/scott/src/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c:1847:
/Users/scott/src/player/build/client_libs/libplayerc/bindings/ruby/playerc_wrap.h:19: error: expected specifier-qualifier-list before 'uint8_t'
/Users/scott/src/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c: In function 'uint8_tArray___getitem__':
/Users/scott/src/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c:2137: error: 'uint8_tArray' has no member named 'actual'
/Users/scott/src/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c:2137: warning: control reaches end of non-void function
/Users/scott/src/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c: In function 'uint8_tArray___setitem__':
/Users/scott/src/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c:2138: error: 'uint8_tArray' has no member named 'actual'
/Users/scott/src/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c: In function '_wrap_uint8_tArray_actual_set':
/Users/scott/src/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c:47358: error: 'uint8_tArray' has no member named 'actual'
/Users/scott/src/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c: In function '_wrap_uint8_tArray_actual_get':
/Users/scott/src/player/build/client_libs/libplayerc/bindings/ruby/playercRUBY_wrap.c:47382: error: 'uint8_tArray' has no member named 'actual'
make[2]: *** [client_libs/libplayerc/bindings/ruby/CMakeFiles/playercr.dir/playercRUBY_wrap.o] Error 1
make[1]: *** [client_libs/libplayerc/bindings/ruby/CMakeFiles/playercr.dir/all] Error 2
make: *** [all] Error 2


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=433164&aid=3137518&group_id=42445

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.