-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dionisis Petromanolakis wrote: > hi Laszlo and all, > > what do you mean with makefile?I just downloaded the file from the maemo.org. > I didnt find a makefile. Instead im trying to compile it from the command > prompt. but the compilation always fails. The command i use is "gcc -o > example_libosso example_libosso.c 'pkg-config --cflags gtk+-2.0 hildon-libs' > -ansi -Wall 'pkg-config --libs gtk+-2.0 hildon-libs'", is something wrong > with the command? Do i need to specify the libosso library from path /usr/lib > directory. I assume that the program may cannot see this library. I tried to > include /usr/lib/libosso.so in the compilation but it didnt find the file. > Do i need to download another file? Do i need to use another command option?
libosso has pkgconfig file, so you can simply add libosso to pkg-config packages. i.e. "pkg-config libosso gtk+-2.0 hildon-libs --cflags" and obviously the same for --libs. Or you can also just grab the makefile and all the examples from stage[1]. There is also newer example, that no longer uses gtk_infoprint, but the successor HildonBanner. [1]: https://stage.maemo.org/svn/maemo/projects/tools/trunk/maemo_testing/maemo-examples/ - -- Santtu Lakkala -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFErkJCOjErIbnoFXIRArHOAJ0dZIce5bw48o1IBdvPJh5YUj5RlACffrD3 e8T0Uy+4qK0xvaqQjegM0wI= =tY2s -----END PGP SIGNATURE----- _______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
