New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

compiling on haiku help?

General discussion

compiling on haiku help?

Postby khallebal » Fri Mar 09, 2012 10:02 pm

hi all
thanks for the great app,
i'm trying to compile the latest source with
Qt-4.8.0 on haiku,i 'm getting an error msg,so i hope i can get some help
here,i really would want to get it running on haiku.
the error msg is:
In file included from mainwindow.hh:24:0,
from main.cc:7:
hotkeywrapper.hh:84:36: error: 'XPointer' has not been declared
hotkeywrapper.hh:84:46: error: 'XRecordInterceptData' has not been declared
hotkeywrapper.hh:87:27: error: 'XRecordInterceptData' has not been declared
hotkeywrapper.hh:92:3: error: 'KeyCode' does not name a type
hotkeywrapper.hh:97:3: error: 'Display' does not name a type
hotkeywrapper.hh:98:3: error: 'XRecordRange' does not name a type
hotkeywrapper.hh:99:3: error: 'XRecordContext' does not name a type
hotkeywrapper.hh:100:3: error: 'XRecordClientSpec' does not name a type
make: *** [build/main.o] Error 1
~/Desktop/goldendict>
i'm i missing some #include,if so wich one? or does it need a special
"haiku" #define to be built?
thanks for reading this.

greetings.
khallebal
 
Posts: 4
Joined: Fri Mar 09, 2012 9:49 pm

Re: compiling on haiku help?

Postby khallebal » Mon Mar 12, 2012 9:14 pm

anyone???
khallebal
 
Posts: 4
Joined: Fri Mar 09, 2012 9:49 pm

Re: compiling on haiku help?

Postby ikm » Tue Mar 13, 2012 2:37 am

No one really knows a lot about haiku here, sorry. If it doesn't use any X server, then you'd have to comment out everything X11-specific (i.e. contents of hotkeywrapper).
ikm
Автор GoldenDict
 
Posts: 1592
Joined: Wed Feb 04, 2009 10:40 am

Re: compiling on haiku help?

Postby khallebal » Wed Mar 14, 2012 11:02 pm

hello
thanks for replying
i actualy got a little further,but now i'm having this error i think i need an #include but i don't know wich one,i hope to get an answer from you.
here is the error:

processwrapper.cc: In static member function 'static unsigned int ProcessWrapper::currentProcessId()':
processwrapper.cc:102:19: error: 'getpid' was not declared in this scope
processwrapper.cc:103:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [build/processwrapper.o] Error 1
~/Desktop/goldendict-goldendict-c81e6ca>
thanks.
khallebal
 
Posts: 4
Joined: Fri Mar 09, 2012 9:49 pm

Re: compiling on haiku help?

Postby ikm » Thu Mar 15, 2012 1:34 am

Code: Select all
       #include <sys/types.h>
       #include <unistd.h>

man getpid
ikm
Автор GoldenDict
 
Posts: 1592
Joined: Wed Feb 04, 2009 10:40 am

Re: compiling on haiku help?

Postby khallebal » Fri Mar 16, 2012 9:30 pm

just a quick thanks msg for helping out,but unfortunatly it's still not running on haiku yet(other errors) but i won't bother you anymore.

greetings.
khallebal
 
Posts: 4
Joined: Fri Mar 09, 2012 9:49 pm


Return to General

Who is online

Users browsing this forum: No registered users and 38 guests