{"comment":{"created_at":"2011-10-16T13:29:26Z","body":"Fixed... sorry about that :-)\r\nPlease get the new sources.\r\nZiv.","updated_at":"2011-10-16T13:29:26Z","url":"https://api.github.com/repos/OpenNI/OpenNI/issues/comments/2420814","id":2420814,"user":{"avatar_url":"https://secure.gravatar.com/avatar/420f1dc6dcbdd6dd304a0ee0183c3bfa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"420f1dc6dcbdd6dd304a0ee0183c3bfa","url":"https://api.github.com/users/OpenNI","id":514836,"login":"OpenNI"}},"action":"created","issue":{"number":42,"created_at":"2011-10-13T06:23:51Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hi,\r\n\r\n  I follow the installation guide and installed libtool and libusb. However, when I run ./RedistMaker under Platform/Linux-x86/CreateRedist, I got such error message:\r\n\r\n*********************************\r\n*   PrimeSense OpenNI Redist    *\r\n*     2011-10-12 23:18:46       *\r\n*********************************\r\n* Taking version...\r\nversion is 1.3.3.6\r\n* Building OpenNI...\r\nIn file included from ../../../../Source/OpenNI/XnDump.cpp:25:\r\n../../../../Include/XnDump.h:167: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:168: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:169: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:170: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:171: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:172: warning: ‘warning’ attribute directive ignored\r\nIn file included from ../../../../Source/OpenNI/XnDump.cpp:25:\r\n../../../../Include/XnDump.h:167: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:168: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:169: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:170: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:171: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:172: warning: ‘warning’ attribute directive ignored\r\nIn file included from ../../../../Include/XnDumpWriters.h:7,\r\n                 from ../../../../Source/OpenNI/XnDumpFileWriter.h:7,\r\n                 from ../../../../Source/OpenNI/XnDumpFileWriter.cpp:4:\r\n../../../../Include/XnDump.h:167: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:168: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:169: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:170: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:171: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:172: warning: ‘warning’ attribute directive ignored\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp: In member function ‘virtual XnDumpWriterFileHandle XnDumpFileWriter::OpenFile(const XnChar*, XnBool, const XnChar*)’:\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp:25: error: invalid conversion from ‘XN_FILE_HANDLE’ to ‘void*’\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp: In member function ‘virtual void XnDumpFileWriter::Write(XnDumpWriterFileHandle, const XnUInt8*, XnUInt32)’:\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp:33: error: invalid conversion from ‘void*’ to ‘XN_FILE_HANDLE’\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp: In member function ‘virtual void XnDumpFileWriter::CloseFile(XnDumpWriterFileHandle)’:\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp:39: error: invalid conversion from ‘void*’ to ‘XN_FILE_HANDLE’\r\nIn file included from ../../../../Include/XnDumpWriters.h:7,\r\n                 from ../../../../Source/OpenNI/XnDumpFileWriter.h:7,\r\n                 from ../../../../Source/OpenNI/XnDumpFileWriter.cpp:4:\r\n../../../../Include/XnDump.h:167: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:168: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:169: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:170: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:171: warning: ‘warning’ attribute directive ignored\r\n../../../../Include/XnDump.h:172: warning: ‘warning’ attribute directive ignored\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp: In member function ‘virtual XnDumpWriterFileHandle XnDumpFileWriter::OpenFile(const XnChar*, XnBool, const XnChar*)’:\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp:25: error: invalid conversion from ‘XN_FILE_HANDLE’ to ‘void*’\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp: In member function ‘virtual void XnDumpFileWriter::Write(XnDumpWriterFileHandle, const XnUInt8*, XnUInt32)’:\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp:33: error: invalid conversion from ‘void*’ to ‘XN_FILE_HANDLE’\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp: In member function ‘virtual void XnDumpFileWriter::CloseFile(XnDumpWriterFileHandle)’:\r\n../../../../Source/OpenNI/XnDumpFileWriter.cpp:39: error: invalid conversion from ‘void*’ to ‘XN_FILE_HANDLE’\r\nlipo: can't figure out the architecture type of: /var/folders/8L/8LNYMSgEE5mYsWyaUxuEUE+++TI/-Tmp-//ccTxpyjf.out\r\nmake[1]: *** [Release/XnDumpFileWriter.o] Error 1\r\nmake: *** [OpenNI] Error 2\r\nfailed to execute: make PLATFORM=x86 -C ../Build > /Users/wilson100/Projects/OpenNI/Platform/Linux-x86/CreateRedist/Output/BuildOpenNI.txt\r\nBuilding Failed!\r\n\r\n\r\n  I have update my CMake and any library I can think of but still failed. Can someone tell me which step I miss? Thanks.","comments":2,"title":"RedistMaker error on Mac OS/X 10.6.8","updated_at":"2011-10-16T13:29:26Z","url":"https://api.github.com/repos/OpenNI/OpenNI/issues/42","id":1897576,"assignee":null,"milestone":null,"closed_at":"2011-10-16T13:29:26Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/b6d97b137a37a080d110f84e407e9029?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b6d97b137a37a080d110f84e407e9029","url":"https://api.github.com/users/wilson100hong","id":848851,"login":"wilson100hong"},"html_url":"https://github.com/OpenNI/OpenNI/issues/42","labels":[],"state":"closed"},"legacy":{"issue_id":1897576,"comment_id":2420814}}