Jump to ID:
Web Browsers

Project Home

Discussions

Wiki

Project Info
Forum Topic - owb launcher (SDLCAIRO graphics): (3 Items)
   
 
 
owb launcher (SDLCAIRO graphics)  
Hello,

I have built the OWB for SDLCAIRO graphics on QNX neutrino self hosted . But when I try to run the application is not 
launching & immediately returning to prompt.

what could be the reason ?

#./owb http://www.google.com
/bin/sh: ./owb: Attempting to exec a shared lib
#


Thanks
Satish P
RE: owb launcher (SDLCAIRO graphics)  
Check the linker options being used to build your owb. For some reason
ld is producing a shared object instead of a regular executable.

To see the full commands lines used to compile and link, set the VERBOSE
environment variable. For example:

# VERBOSE=1 make owb 

-----Original Message-----
From: satish pattar [mailto:community-noreply@qnx.com] 
Sent: Wednesday, February 10, 2010 6:27 AM
To: general-web_browsers
Subject: owb launcher (SDLCAIRO graphics)

Hello,

I have built the OWB for SDLCAIRO graphics on QNX neutrino self hosted .
But when I try to run the application is not launching & immediately
returning to prompt.

what could be the reason ?

#./owb http://www.google.com
/bin/sh: ./owb: Attempting to exec a shared lib
#


Thanks
Satish P



_______________________________________________

General
http://community.qnx.com/sf/go/post47008
Re: RE: owb launcher (SDLCAIRO graphics)  
Hi Max,

That's true that it is creating shared library instead of an executable.

I replaced this -shared , -fPIC from CMAKE_C_FLAGS & CMAKE_CXX_FLAGS.

by using:

string(REPLACE "-shared" "" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})

Now I guess it is trying to create an executable. And in the final stage of linking it is searching for libph, libasound
 etc.which earlier was not happening(should be becuase of shared lib being created instead of an executable).
I linked ph & asound lirary.

But some how I am not able to figure out why I am getting this error:

undefined reference to `cairo_ft_scaled_font_unlock_face`
undefined reference to `cairo_ft_font_face_create_for_ft_face`
undefined reference to `cairo_ft_scaled_font_lock_face`
undefined reference to `cairo_ft_font_face_create_for_pattern`

I have cairo built with font backend set to freetype.

Thanks & regards
Satish Pattar