Menu

Problems to build osmo4 player for Ubuntu

Help
A. Buisson
2014-01-23
2014-01-28
  • A. Buisson

    A. Buisson - 2014-01-23

    Hi,
    I would have an osmo player "omso4_wx" on Ubuntu 12.04
    I get GPAC from SVN

    URL: svn://svn.code.sf.net/p/gpac/code/trunk/gpac
    Relative URL: ^/trunk/gpac
    Repository Root: svn://svn.code.sf.net/p/gpac/code
    Repository UUID: 63c20433-aa62-49bd-875c-5a186b69a8fb
    Revision: 5000
    

    And all dependencies (except xul-runner)
    I ran ./configure and make without issue, but I realize that osmo4 is not in the build /bin/gcc
    After review /application/Makefile, I added osmo4_wx in the APPLIST, and restart the make, but now osmo4_wx build but I get the following linker error:

    wxOsmo4.o: In function `wxOsmo4Frame::OnStreamSel(wxCommandEvent&)':
    wxOsmo4.cpp:(.text+0xce75): undefined reference to `gf_term_select_object'
    wxOsmo4.o: In function `wxOsmo4Frame::OnFileCopy(wxCommandEvent&)':
    wxOsmo4.cpp:(.text+0xdfb7): undefined reference to `gf_term_get_text_selection'
    wxOsmo4.o: In function `wxOsmo4Frame::OnUpdateFileCopy(wxUpdateUIEvent&)':
    wxOsmo4.cpp:(.text+0xe0ca): undefined reference to `gf_term_get_text_selection'
    wxOsmo4.o: In function `wxOsmo4Frame::OnFilePaste(wxCommandEvent&)':
    wxOsmo4.cpp:(.text+0xe217): undefined reference to `gf_term_paste_text'
    wxOsmo4.o: In function `wxOsmo4Frame::OnUpdateFilePaste(wxUpdateUIEvent&)':
    wxOsmo4.cpp:(.text+0xe335): undefined reference to `gf_term_paste_text'
    Playlist.o: In function `wxPlaylist::OnRandomize(wxCommandEvent&)':
    Playlist.cpp:(.text+0x49f8): undefined reference to `gf_rand_init'
    Playlist.cpp:(.text+0x49ff): undefined reference to `gf_rand'
    

    Is that code under maintenance ? Why isn't osmo in the APPLIST by default ?
    Have you an idea to fix that issue ?

    Thank in advance,
    Alex.

     
  • Jean Le Feuvre

    Jean Le Feuvre - 2014-01-23

    There were some missing exports, now fixed on SVN. However please be aware that Osmo4_wx is not really maintained, prefer MP4Client ...

     
  • A. Buisson

    A. Buisson - 2014-01-28

    Thank for your help it the compilation was OK, but had some trouble with the execution, so I followed your advice and now use MP4Client.