Jonathan Wong(deleted)
|
Error building web-browsers project in linux host
|
Jonathan Wong(deleted)
08/04/2010 6:13 PM
post61653
|
Error building web-browsers project in linux host
Hi Everyone,
I recently checked out the web-browsers project to try and build the browser for QNX.
I am running Ubuntu 10.04 as a host and following the directions in the README.
I am stuck with this Error:
Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
and I am not sure what is the cause of this.
Anyone know what I can do?
Thanks
Jon
|
|
|
Max Feil
|
RE: Error building web-browsers project in linux host
|
Max Feil
08/04/2010 6:20 PM
post61654
|
RE: Error building web-browsers project in linux host
Did you unpack /opt/crank/ version 3.3 correctly?
-----Original Message-----
From: Jonathan Wong [mailto:community-noreply@qnx.com]
Sent: Wednesday, August 04, 2010 6:13 PM
To: general-web_browsers
Subject: Error building web-browsers project in linux host
Hi Everyone,
I recently checked out the web-browsers project to try and build the
browser for QNX.
I am running Ubuntu 10.04 as a host and following the directions in the
README.
I am stuck with this Error:
Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
and I am not sure what is the cause of this.
Anyone know what I can do?
Thanks
Jon
_______________________________________________
General
http://community.qnx.com/sf/go/post61653
|
|
|
Jonathan Wong(deleted)
|
Re: RE: Error building web-browsers project in linux host
|
Jonathan Wong(deleted)
08/04/2010 7:00 PM
post61655
|
Re: RE: Error building web-browsers project in linux host
wow, Thanks, it is compiling as we speak.
I linked crank at /root/opt/crank.3.3 rather than at /
Thanks
|
|
|
Jonathan Wong(deleted)
|
Re: RE: Error building web-browsers project in linux host
|
Jonathan Wong(deleted)
08/04/2010 7:19 PM
post61656
|
Re: RE: Error building web-browsers project in linux host
so it seems like i am having a stdio_ext.h does not exist error while running make owb.
I used locate stdio_ext.h to find it and it is under my /usr/include/ folder.
The error is as follows:
In file included from /home/jonathanccwong/ide-4.7-workspace/QNX-Web-Browsers/webkit/trunk/JavaScriptCore/AllInOneFile.
cpp:47:
/home/jonathanccwong/ide-4.7-workspace/QNX-Web-Browsers/webkit/trunk/JavaScriptCore/runtime/Collector.cpp:98:23: error:
stdio_ext.h: No such file or directory
In file included from /home/jonathanccwong/ide-4.7-workspace/QNX-Web-Browsers/webkit/trunk/JavaScriptCore/AllInOneFile.
cpp:47:
/home/jonathanccwong/ide-4.7-workspace/QNX-Web-Browsers/webkit/trunk/JavaScriptCore/runtime/Collector.cpp: In function
'void* pthread_getattr_np(pthread_t, pthread_attr_t*)':
/home/jonathanccwong/ide-4.7-workspace/QNX-Web-Browsers/webkit/trunk/JavaScriptCore/runtime/Collector.cpp:128: error:
'FSETLOCKING_BYCALLER' was not declared in this scope
/home/jonathanccwong/ide-4.7-workspace/QNX-Web-Browsers/webkit/trunk/JavaScriptCore/runtime/Collector.cpp:128: error:
'__fsetlocking' was not declared in this scope
/home/jonathanccwong/ide-4.7-workspace/QNX-Web-Browsers/webkit/trunk/JavaScriptCore/runtime/Collector.cpp:138: error:
'feof_unlocked' was not declared in this scope
/home/jonathanccwong/ide-4.7-workspace/QNX-Web-Browsers/webkit/trunk/JavaScriptCore/runtime/Collector.cpp:139: error:
'getdelim' was not declared in this scope
cc: /usr/qnx650/host/linux/x86//usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.4.2/cc1plus error 1
make[3]: *** [JavaScriptCore/CMakeFiles/jsc.dir/AllInOneFile.cpp.o] Error 1
make[2]: *** [JavaScriptCore/CMakeFiles/jsc.dir/all] Error 2
make[1]: *** [WebKitTools/OWBLauncher/CMakeFiles/owb.dir/rule] Error 2
make: *** [owb] Error 2
Any help is greatly appreciated
jon
|
|
|
Jonathan Wong(deleted)
|
Re: Error building web-browsers project in linux host
|
Jonathan Wong(deleted)
08/13/2010 7:07 PM
post63012
|
Re: Error building web-browsers project in linux host
Hi All, I finally got the project to build properly
but I am not quite understanding the last part
Make sure io-display and an input driver are running:
io-display -dvid=[vid],did=[did]
devi-hid -P mouse kbd
So I see this when I type:
enum-devices -n
mount -Tio-display vid=0x8086,did=0x27ae,deviceindex=0
i put those two hex values like so
# io-display -dvid=0x8086,did=0x27ae
and my display is scrambled.
Is this not the correct way to do this?
|
|
|
Max Feil
|
RE: Error building web-browsers project in linux host
|
Max Feil
08/14/2010 10:47 PM
post63021
|
RE: Error building web-browsers project in linux host
The io-display line looks ok. Check the /etc/system/config/graphics.conf
file to make sure that the section for your vid/did combination has
reasonable values for resolution, etc.
If that is ok, then it may just be an uninitialized frame buffer you are
seeing and running a gf app will fix things. Does the browser sample app
work? (owb a.k.a. wklauncher)
Max
-----Original Message-----
From: Jonathan Wong [mailto:community-noreply@qnx.com]
Sent: Friday, August 13, 2010 7:08 PM
To: general-web_browsers
Subject: Re: Error building web-browsers project in linux host
Hi All, I finally got the project to build properly
but I am not quite understanding the last part
Make sure io-display and an input driver are running:
io-display -dvid=[vid],did=[did]
devi-hid -P mouse kbd
So I see this when I type:
enum-devices -n
mount -Tio-display vid=0x8086,did=0x27ae,deviceindex=0
i put those two hex values like so
# io-display -dvid=0x8086,did=0x27ae
and my display is scrambled.
Is this not the correct way to do this?
_______________________________________________
General
http://community.qnx.com/sf/go/post63012
|
|
|
Jonathan Wong(deleted)
|
Re: RE: Error building web-browsers project in linux host
|
Jonathan Wong(deleted)
08/18/2010 4:47 PM
post63482
|
Re: RE: Error building web-browsers project in linux host
I don't see a graphics.conf but i do see a display.conf.
in it i see the list of my video card gma9xx (using intel chip with gma950 graphics)
and the correct display id:
drivername=gma9xx
modeopts=
vid=0x8086
did=0x27ae
device=0x0
display{
xres=1680
yres=1050
refresh=60
pixel_format=rgb565
photon{
enabled=1
xoffset=0
yoffset=0
cursor=hardware
input_group-1
}
}
all these seem correct
Also I would like to use this when the system starts up so how can I work around the frame buffer issue if that is the
case?
Thanks
Jon
> The io-display line looks ok. Check the /etc/system/config/graphics.conf
> file to make sure that the section for your vid/did combination has
> reasonable values for resolution, etc.
>
> If that is ok, then it may just be an uninitialized frame buffer you are
> seeing and running a gf app will fix things. Does the browser sample app
> work? (owb a.k.a. wklauncher)
>
> Max
>
> -----Original Message-----
> From: Jonathan Wong [mailto:community-noreply@qnx.com]
> Sent: Friday, August 13, 2010 7:08 PM
> To: general-web_browsers
> Subject: Re: Error building web-browsers project in linux host
>
> Hi All, I finally got the project to build properly
> but I am not quite understanding the last part
>
> Make sure io-display and an input driver are running:
> io-display -dvid=[vid],did=[did]
> devi-hid -P mouse kbd
>
> So I see this when I type:
> enum-devices -n
>
> mount -Tio-display vid=0x8086,did=0x27ae,deviceindex=0
>
> i put those two hex values like so
>
> # io-display -dvid=0x8086,did=0x27ae
>
> and my display is scrambled.
>
> Is this not the correct way to do this?
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post63012
|
|
|
Jonathan Wong(deleted)
|
Re: RE: Error building web-browsers project in linux host
|
Jonathan Wong(deleted)
08/18/2010 5:39 PM
post63490
|
Re: RE: Error building web-browsers project in linux host
Please point to anything I might be doing wrong.
I built the binaries from a linux host (per instructions) and transfered them over to the machine running QNX Neutrino.
I have Momentics running and I see that io-display is already running.
How if I just do:
# ./owb http://www.google.com
I get a
gf_layer_attach() failed: no such process
GF init failed: are you running io-display
so if I run
io-display -dvid=0x8086,did=0x27ae
and then run owb again, i get my scrambled display.
Am I doing something incorrectly?
|
|
|
Max Feil
|
RE: RE: Error building web-browsers project in linux host
|
Max Feil
08/19/2010 11:42 AM
post63567
|
RE: RE: Error building web-browsers project in linux host
Can you run "vsync" and "egl-gears" using your io-display settings? Or
is the display scrambled for those as well?
I would also try other screen resolutions in display.conf just to see if
it's a timing issue.
-----Original Message-----
From: Jonathan Wong [mailto:community-noreply@qnx.com]
Sent: Wednesday, August 18, 2010 5:40 PM
To: general-web_browsers
Subject: Re: RE: Error building web-browsers project in linux host
Please point to anything I might be doing wrong.
I built the binaries from a linux host (per instructions) and transfered
them over to the machine running QNX Neutrino.
I have Momentics running and I see that io-display is already running.
How if I just do:
# ./owb http://www.google.com
I get a
gf_layer_attach() failed: no such process
GF init failed: are you running io-display
so if I run
io-display -dvid=0x8086,did=0x27ae
and then run owb again, i get my scrambled display.
Am I doing something incorrectly?
_______________________________________________
General
http://community.qnx.com/sf/go/post63490
|
|
|
Jonathan Wong(deleted)
|
Re: RE: RE: Error building web-browsers project in linux host
|
Jonathan Wong(deleted)
08/19/2010 12:09 PM
post63575
|
Re: RE: RE: Error building web-browsers project in linux host
This is the output of vsync
#vsync
Number of displays: 1
Display 0: 1680x1050, refresh = 60hz
Number of Layers: 4
gf_layer_atach() failed
Returning from main() with 1
and the output from egl-gears
#egl-gears
gf_layer_attach() failed
> Can you run "vsync" and "egl-gears" using your io-display settings? Or
> is the display scrambled for those as well?
>
> I would also try other screen resolutions in display.conf just to see if
> it's a timing issue.
>
> -----Original Message-----
> From: Jonathan Wong [mailto:community-noreply@qnx.com]
> Sent: Wednesday, August 18, 2010 5:40 PM
> To: general-web_browsers
> Subject: Re: RE: Error building web-browsers project in linux host
>
> Please point to anything I might be doing wrong.
> I built the binaries from a linux host (per instructions) and transfered
> them over to the machine running QNX Neutrino.
>
> I have Momentics running and I see that io-display is already running.
> How if I just do:
>
> # ./owb http://www.google.com
>
> I get a
>
> gf_layer_attach() failed: no such process
> GF init failed: are you running io-display
>
> so if I run
>
> io-display -dvid=0x8086,did=0x27ae
>
> and then run owb again, i get my scrambled display.
>
> Am I doing something incorrectly?
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post63490
|
|
|
Jonathan Wong(deleted)
|
Re: RE: RE: Error building web-browsers project in linux host
|
Jonathan Wong(deleted)
08/19/2010 4:26 PM
post63637
|
Re: RE: RE: Error building web-browsers project in linux host
so I can run owb if I do not login with photon. After launch, I see a full screen browser.
One last thing is that I am unable to use my mouse and/or keyboard for navigating. Upon exiting owb, I see a message of
">> No Input Available
how do I manually specify a keyboard and mouse?
Thanks
Jon
> This is the output of vsync
>
> #vsync
> Number of displays: 1
> Display 0: 1680x1050, refresh = 60hz
> Number of Layers: 4
> gf_layer_atach() failed
> Returning from main() with 1
>
> and the output from egl-gears
>
> #egl-gears
> gf_layer_attach() failed
>
>
> > Can you run "vsync" and "egl-gears" using your io-display settings? Or
> > is the display scrambled for those as well?
> >
> > I would also try other screen resolutions in display.conf just to see if
> > it's a timing issue.
> >
> > -----Original Message-----
> > From: Jonathan Wong [mailto:community-noreply@qnx.com]
> > Sent: Wednesday, August 18, 2010 5:40 PM
> > To: general-web_browsers
> > Subject: Re: RE: Error building web-browsers project in linux host
> >
> > Please point to anything I might be doing wrong.
> > I built the binaries from a linux host (per instructions) and transfered
> > them over to the machine running QNX Neutrino.
> >
> > I have Momentics running and I see that io-display is already running.
> > How if I just do:
> >
> > # ./owb http://www.google.com
> >
> > I get a
> >
> > gf_layer_attach() failed: no such process
> > GF init failed: are you running io-display
> >
> > so if I run
> >
> > io-display -dvid=0x8086,did=0x27ae
> >
> > and then run owb again, i get my scrambled display.
> >
> > Am I doing something incorrectly?
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post63490
>
>
|
|
|
Max Feil
|
RE: RE: RE: Error building web-browsers project in linux host
|
Max Feil
08/19/2010 6:06 PM
post63643
|
RE: RE: RE: Error building web-browsers project in linux host
Make sure devi-hid is running:
devi-hid -P mouse kbd
-----Original Message-----
From: Jonathan Wong [mailto:community-noreply@qnx.com]
Sent: Thursday, August 19, 2010 4:27 PM
To: general-web_browsers
Subject: Re: RE: RE: Error building web-browsers project in linux host
so I can run owb if I do not login with photon. After launch, I see a
full screen browser.
One last thing is that I am unable to use my mouse and/or keyboard for
navigating. Upon exiting owb, I see a message of ">> No Input Available
how do I manually specify a keyboard and mouse?
Thanks
Jon
> This is the output of vsync
>
> #vsync
> Number of displays: 1
> Display 0: 1680x1050, refresh = 60hz
> Number of Layers: 4
> gf_layer_atach() failed
> Returning from main() with 1
>
> and the output from egl-gears
>
> #egl-gears
> gf_layer_attach() failed
>
>
> > Can you run "vsync" and "egl-gears" using your io-display settings?
Or
> > is the display scrambled for those as well?
> >
> > I would also try other screen resolutions in display.conf just to
see if
> > it's a timing issue.
> >
> > -----Original Message-----
> > From: Jonathan Wong [mailto:community-noreply@qnx.com]
> > Sent: Wednesday, August 18, 2010 5:40 PM
> > To: general-web_browsers
> > Subject: Re: RE: Error building web-browsers project in linux host
> >
> > Please point to anything I might be doing wrong.
> > I built the binaries from a linux host (per instructions) and
transfered
> > them over to the machine running QNX Neutrino.
> >
> > I have Momentics running and I see that io-display is already
running.
> > How if I just do:
> >
> > # ./owb http://www.google.com
> >
> > I get a
> >
> > gf_layer_attach() failed: no such process
> > GF init failed: are you running io-display
> >
> > so if I run
> >
> > io-display -dvid=0x8086,did=0x27ae
> >
> > and then run owb again, i get my scrambled display.
> >
> > Am I doing something incorrectly?
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post63490
>
>
_______________________________________________
General
http://community.qnx.com/sf/go/post63637
|
|
|
|