|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
FXThread.cpp compile error fox-1.7.20I'm building fox-1.7.20 on mac OS X. I'm using the same commands that worked for fox-1.6.34 env CXXFLAGS="-arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" ./configure --with-x --with-opengl --enable-cups --enable-release --disable-shared when I execute "make" it seems to go well but dies with the following error: FXThread.cpp: In member function FX::FXbool FX::FXCondition::wait(FX::FXMutex&, FX::FXTime): FXThread.cpp:1156: error: struct timespec has no member named tv_src FXThread.cpp: In static member function static FX::FXint FX::FXThread::processors(): FXThread.cpp:1473: error: CTL_HW was not declared in this scope FXThread.cpp:1473: error: HW_NCPU was not declared in this scope FXThread.cpp:1475: error: sysctl was not declared in this scope FXThread.cpp: At global scope: FXThread.cpp:1519: warning: unused parameter prio FXThread.cpp:1611: warning: unused parameter plcy make[1]: *** [FXThread.lo] Error 1 make: *** [all-recursive] Error 1 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Foxgui-users mailing list Foxgui-users@... https://lists.sourceforge.net/lists/listinfo/foxgui-users |
|
|
Re: FXThread.cpp compile error fox-1.7.20-----Original Message----- From: "John Selverian" <john.selverian@...> Sent: Sunday, September 27, 2009 5:15pm To: foxgui-users@... Subject: [Foxgui-users] FXThread.cpp compile error fox-1.7.20 I'm building fox-1.7.20 on mac OS X. I'm using the same commands that worked for fox-1.6.34 env CXXFLAGS="-arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" ./configure --with-x --with-opengl --enable-cups --enable-release --disable-shared when I execute "make" it seems to go well but dies with the following error: FXThread.cpp: In member function ‘FX::FXbool FX::FXCondition::wait(FX::FXMutex&, FX::FXTime)’: FXThread.cpp:1156: error: ‘struct timespec’ has no member named ‘tv_src’ Its a typo; consider it fixed. FXThread.cpp: In static member function ‘static FX::FXint FX::FXThread::processors()’: FXThread.cpp:1473: error: ‘CTL_HW’ was not declared in this scope FXThread.cpp:1473: error: ‘HW_NCPU’ was not declared in this scope FXThread.cpp:1475: error: ‘sysctl’ was not declared in this scope I don't have a mac; please advice as to how to get #cpu's on mac, or how to get given code to compile. FXThread.cpp: At global scope: FXThread.cpp:1519: warning: unused parameter ‘prio’ FXThread.cpp:1611: warning: unused parameter ‘plcy’ Thread priority can not actually be changed, this is a no-op on Mac. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Foxgui-users mailing list Foxgui-users@... https://lists.sourceforge.net/lists/listinfo/foxgui-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Foxgui-users mailing list Foxgui-users@... https://lists.sourceforge.net/lists/listinfo/foxgui-users |
|
|
Re: FXThread.cpp compile error fox-1.7.20On Monday 28 September 2009, Jeroen van der Zijp wrote:
> > -----Original Message----- > From: "John Selverian" <john.selverian@...> > Sent: Sunday, September 27, 2009 5:15pm > To: foxgui-users@... > Subject: [Foxgui-users] FXThread.cpp compile error fox-1.7.20 > > > I'm building fox-1.7.20 on mac OS X. I'm using the same commands that > worked for fox-1.6.34 > > > env CXXFLAGS="-arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" > > ./configure --with-x --with-opengl --enable-cups --enable-release > --disable-shared > > > when I execute "make" it seems to go well but dies with the following error: > > > FXThread.cpp: In member function ‘FX::FXbool > FX::FXCondition::wait(FX::FXMutex&, FX::FXTime)’: > FXThread.cpp:1156: error: ‘struct timespec’ has no member named ‘tv_src’ > > Its a typo; consider it fixed. > > FXThread.cpp: In static member function ‘static FX::FXint > FX::FXThread::processors()’: > FXThread.cpp:1473: error: ‘CTL_HW’ was not declared in this scope > FXThread.cpp:1473: error: ‘HW_NCPU’ was not declared in this scope > FXThread.cpp:1475: error: ‘sysctl’ was not declared in this scope > > I don't have a mac; please advice as to how to get #cpu's on mac, or how to get > given code to compile. > > FXThread.cpp: At global scope: > FXThread.cpp:1519: warning: unused parameter ‘prio’ > FXThread.cpp:1611: warning: unused parameter ‘plcy’ > > Thread priority can not actually be changed, this is a no-op on Mac. Changes: include needed header files, in case missing from xincs.h. Also, test for #def's, not system. I have one other way to get ncpus, in case the attached file still doesn't work; please let me know if it does since the other way is not preferable. - Jeroen [attachment removed] ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Foxgui-users mailing list Foxgui-users@... https://lists.sourceforge.net/lists/listinfo/foxgui-users |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |