Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 20-06-2015, 06:17   #91
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,143
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by NahanniV View Post
How do I get 3.0.2 for Ubuntu 14.04.2 LTS ARM ?

Thanks,
JM.
Could not find a repository that had wxWidgits 3.0.2 for ARM, so I downloaded and built it from source.

I followed all the steps and there were no errors:
Code:
configure --with-gtk
make
sudo make install
ldconfig
OpenCPN still reporting 3.0.0 so I tried re-building it, I did not think it was necessary, but tried. That made no difference either.

What did I do wrong ?
Any suggestions ?

Thanks,
JM.
__________________

__________________
NahanniV is online now   Reply With Quote
Old 20-06-2015, 06:47   #92
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: OpenCPN Beta test 4.1.602 Release

JM,

if you are on Linux you should be able to use wx-config.
I have learned that doesn't exists for Windows.

Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Old 20-06-2015, 06:55   #93
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by NahanniV View Post
Could not find a repository that had wxWidgits 3.0.2 for ARM, so I downloaded and built it from source.

I followed all the steps and there were no errors:
Code:
configure --with-gtk
make
sudo make install
ldconfig
OpenCPN still reporting 3.0.0 so I tried re-building it, I did not think it was necessary, but tried. That made no difference either.

What did I do wrong ?
Any suggestions ?

Thanks,
JM.
JM...
If I were you, I would probably just uninstall the packaged version of WX.
The other option is to learn a bit about how the dynamic loader actually works and change the configuration so that it finds the libs you just build first.
Code:
ldd openpcn
is your friend

@Gerhard: This has nothing to do with the build and nothing to do with wx-config - 3.0.0 and 3.0.2 are binary compatible so there is no need to recompile opencpn to interchange these two versions.

Pavel
__________________
nohal is offline   Reply With Quote
Old 20-06-2015, 07:49   #94
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by nohal View Post
@Gerhard: This has nothing to do with the build and nothing to do with wx-config - 3.0.0 and 3.0.2 are binary compatible so there is no need to recompile opencpn to interchange these two versions.

Pavel
Of course but wx-config --version or wx-config --list shows him which wx version is activated in his system.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 21-06-2015, 20:13   #95
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,143
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by CarCode View Post
Of course but wx-config --version or wx-config --list shows him which wx version is activated in his system.

Gerhard
Thanks, seems that 3.0.2 is there, but OpenCPN is not using it:

Code:
aruntu@aruntu:~$ wx-config --version
3.0.2
aruntu@aruntu:~$ wx-config --list

    Default config is gtk2-unicode-3.0

  Default config will be used for output

aruntu@aruntu:~$
__________________
NahanniV is online now   Reply With Quote
Old 21-06-2015, 21:17   #96
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,143
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by nohal View Post
JM...
If I were you, I would probably just uninstall the packaged version of WX.
The other option is to learn a bit about how the dynamic loader actually works and change the configuration so that it finds the libs you just build first.
Code:
ldd openpcn
is your friend

Pavel
I tried to remove the packaged version(s) of WX using synaptic package manager(see screenshot). They are no longer listed, but the libraries still seem to be there.

I am trying to understand what is going on, really.

Libraries used by OpenCPN:
Code:
aruntu@aruntu:~$ ldd /usr/local/bin/opencpn
    libwx_baseu-3.0.so.0 => /usr/local/lib/libwx_baseu-3.0.so.0 (0xb6d0b000)
    libwx_gtk2u_core-3.0.so.0 => /usr/local/lib/libwx_gtk2u_core-3.0.so.0 (0xb6990000)
    libwx_baseu_net-3.0.so.0 => /usr/local/lib/libwx_baseu_net-3.0.so.0 (0xb695e000)
    libwx_baseu_xml-3.0.so.0 => /usr/local/lib/libwx_baseu_xml-3.0.so.0 (0xb694b000)
    libwx_gtk2u_html-3.0.so.0 => /usr/local/lib/libwx_gtk2u_html-3.0.so.0 (0xb68cd000)
    libwx_gtk2u_adv-3.0.so.0 => /usr/local/lib/libwx_gtk2u_adv-3.0.so.0 (0xb67b0000)
    libwx_gtk2u_aui-3.0.so.0 => /usr/local/lib/libwx_gtk2u_aui-3.0.so.0 (0xb6750000)
    libwx_gtk2u_gl-3.0.so.0 => /usr/local/lib/libwx_gtk2u_gl-3.0.so.0 (0xb673a000)
    libportaudio.so.2 => /usr/lib/arm-linux-gnueabihf/libportaudio.so.2 (0xb6711000)
    libEGL.so => /usr/lib/libEGL.so (0xb6599000)
    libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0xb64b3000)
    libtinyxml.so.2.6.2 => /usr/lib/arm-linux-gnueabihf/libtinyxml.so.2.6.2 (0xb649c000)
    libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6491000)
    libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb63e2000)
    libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6376000)
    libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6354000)
    libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6338000)
    libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6251000)
    /lib/ld-linux-armhf.so.3 (0xb6ef4000)
    libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb6236000)
    libgtk-x11-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgtk-x11-2.0.so.0 (0xb5f6f000)
    libgdk-x11-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgdk-x11-2.0.so.0 (0xb5ef5000)
    libpangocairo-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpangocairo-1.0.so.0 (0xb5ee3000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgdk_pixbuf-2.0.so.0 (0xb5ec4000)
    libcairo.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo.so.2 (0xb5e1a000)
    libpango-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpango-1.0.so.0 (0xb5ddc000)
    libgobject-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0xb5d9f000)
    libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0xb5cd6000)
    libXxf86vm.so.1 => /usr/lib/arm-linux-gnueabihf/libXxf86vm.so.1 (0xb5cca000)
    libSM.so.6 => /usr/lib/arm-linux-gnueabihf/libSM.so.6 (0xb5cbc000)
    libpng12.so.0 => /lib/arm-linux-gnueabihf/libpng12.so.0 (0xb5c9c000)
    libjpeg.so.8 => /usr/lib/arm-linux-gnueabihf/libjpeg.so.8 (0xb5c5d000)
    libtiff.so.5 => /usr/lib/arm-linux-gnueabihf/libtiff.so.5 (0xb5c01000)
    libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0xb5be1000)
    libGL.so.1 => /usr/lib/arm-linux-gnueabihf/libGL.so.1 (0xb5b91000)
    librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb5b83000)
    libasound.so.2 => /usr/lib/arm-linux-gnueabihf/libasound.so.2 (0xb5ae8000)
    libjack.so.0 => /usr/lib/arm-linux-gnueabihf/libjack.so.0 (0xb5aca000)
    libUMP.so.3 => /usr/lib/arm-linux-gnueabihf/libUMP.so.3 (0xb5abc000)
    libdrm.so.2 => /usr/lib/arm-linux-gnueabihf/libdrm.so.2 (0xb5aac000)
    libdri2.so.1 => /usr/local/lib/libdri2.so.1 (0xb5aa1000)
    libXfixes.so.3 => /usr/lib/arm-linux-gnueabihf/libXfixes.so.3 (0xb5a94000)
    libXext.so.6 => /usr/lib/arm-linux-gnueabihf/libXext.so.6 (0xb5a82000)
    libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0xb5a68000)
    libgmodule-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 (0xb5a5d000)
    libatk-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libatk-1.0.so.0 (0xb5a3f000)
    libgio-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0 (0xb5953000)
    libpangoft2-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpangoft2-1.0.so.0 (0xb593d000)
    libfontconfig.so.1 => /usr/lib/arm-linux-gnueabihf/libfontconfig.so.1 (0xb590e000)
    libXrender.so.1 => /usr/lib/arm-linux-gnueabihf/libXrender.so.1 (0xb58ff000)
    libXinerama.so.1 => /usr/lib/arm-linux-gnueabihf/libXinerama.so.1 (0xb58f5000)
    libXi.so.6 => /usr/lib/arm-linux-gnueabihf/libXi.so.6 (0xb58e2000)
    libXrandr.so.2 => /usr/lib/arm-linux-gnueabihf/libXrandr.so.2 (0xb58d4000)
    libXcursor.so.1 => /usr/lib/arm-linux-gnueabihf/libXcursor.so.1 (0xb58c5000)
    libXcomposite.so.1 => /usr/lib/arm-linux-gnueabihf/libXcomposite.so.1 (0xb58ba000)
    libXdamage.so.1 => /usr/lib/arm-linux-gnueabihf/libXdamage.so.1 (0xb58b0000)
    libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0xb5848000)
    libpixman-1.so.0 => /usr/lib/arm-linux-gnueabihf/libpixman-1.so.0 (0xb57d2000)
    libxcb-shm.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-shm.so.0 (0xb57c7000)
    libxcb-render.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-render.so.0 (0xb57b9000)
    libthai.so.0 => /usr/lib/arm-linux-gnueabihf/libthai.so.0 (0xb57ab000)
    libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0xb579c000)
    libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0xb5764000)
    libICE.so.6 => /usr/lib/arm-linux-gnueabihf/libICE.so.6 (0xb574b000)
    libuuid.so.1 => /lib/arm-linux-gnueabihf/libuuid.so.1 (0xb573f000)
    liblzma.so.5 => /lib/arm-linux-gnueabihf/liblzma.so.5 (0xb571f000)
    libjbig.so.0 => /usr/lib/arm-linux-gnueabihf/libjbig.so.0 (0xb570c000)
    libglapi.so.0 => /usr/lib/arm-linux-gnueabihf/libglapi.so.0 (0xb56d7000)
    libX11-xcb.so.1 => /usr/lib/arm-linux-gnueabihf/libX11-xcb.so.1 (0xb56cd000)
    libxcb-glx.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-glx.so.0 (0xb56b7000)
    libxcb-dri2.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-dri2.so.0 (0xb56ac000)
    libxcb-dri3.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-dri3.so.0 (0xb56a1000)
    libxcb-present.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-present.so.0 (0xb5697000)
    libxcb-sync.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb-sync.so.1 (0xb568b000)
    libxshmfence.so.1 => /usr/lib/arm-linux-gnueabihf/libxshmfence.so.1 (0xb5681000)
    libXau.so.6 => /usr/lib/arm-linux-gnueabihf/libXau.so.6 (0xb5675000)
    libXdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libXdmcp.so.6 (0xb5669000)
    libselinux.so.1 => /lib/arm-linux-gnueabihf/libselinux.so.1 (0xb564b000)
    libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0xb5632000)
    libharfbuzz.so.0 => /usr/lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0xb55f8000)
    libdatrie.so.1 => /usr/lib/arm-linux-gnueabihf/libdatrie.so.1 (0xb55eb000)
    libgraphite2.so.3 => /usr/lib/arm-linux-gnueabihf/libgraphite2.so.3 (0xb55d2000)
aruntu@aruntu:~$ 
a
/usr/local/lib/
Code:
aruntu@aruntu:/usr/local/lib$ ls -l
total 155708
drwxr-xr-x 2 root root      4096 Apr  9 16:53 gawk
-rw-r--r-- 1 root root  76912488 Apr  2 20:29 libavcodec.a
-rw-r--r-- 1 root root   2139968 Apr  2 20:27 libavdevice.a
-rw-r--r-- 1 root root  16382820 Apr  2 20:28 libavfilter.a
-rw-r--r-- 1 root root  33312792 Apr  2 20:28 libavformat.a
-rw-r--r-- 1 root root   1588434 Apr  2 20:29 libavutil.a
-rw-r--r-- 1 root root     75000 Jun 29  2014 libdri2.a
-rwxr-xr-x 1 root root       960 Jun 29  2014 libdri2.la
lrwxrwxrwx 1 root root        16 Jun 29  2014 libdri2.so -> libdri2.so.1.0.0
lrwxrwxrwx 1 root root        16 Jun 29  2014 libdri2.so.1 -> libdri2.so.1.0.0
-rwxr-xr-x 1 root root     63845 Jun 29  2014 libdri2.so.1.0.0
-rw-r--r-- 1 root root    333464 Apr  2 20:29 libpostproc.a
lrwxrwxrwx 1 root root        16 Aug 11  2014 libSDL2-2.0.so -> libSDL2-2.0.so.1
lrwxrwxrwx 1 root root        20 Aug 11  2014 libSDL2-2.0.so.1 -> libSDL2-2.0.so.1.0.1
-rw-r--r-- 1 root root   3886744 Aug 11  2014 libSDL2-2.0.so.1.0.1
-rw-r--r-- 1 root root   5821566 Aug 11  2014 libSDL2.a
-rw-r--r-- 1 root root      4218 Aug 11  2014 libSDL2main.a
lrwxrwxrwx 1 root root        14 Aug 11  2014 libSDL2.so -> libSDL2-2.0.so
-rw-r--r-- 1 root root    341544 Apr  2 20:29 libswresample.a
-rw-r--r-- 1 root root   2170040 Apr  2 20:29 libswscale.a
-rw-r--r-- 1 root root    158538 Jun 29  2014 libUMP.a
-rwxr-xr-x 1 root root       958 Jun 29  2014 libUMP.la
lrwxrwxrwx 1 root root        15 Jun 29  2014 libUMP.so -> libUMP.so.3.0.0
lrwxrwxrwx 1 root root        15 Jun 29  2014 libUMP.so.3 -> libUMP.so.3.0.0
-rwxr-xr-x 1 root root    105301 Jun 29  2014 libUMP.so.3.0.0
lrwxrwxrwx 1 root root        20 Jun 20 21:18 libwx_baseu-3.0.so -> libwx_baseu-3.0.so.0
lrwxrwxrwx 1 root root        24 Jun 20 21:18 libwx_baseu-3.0.so.0 -> libwx_baseu-3.0.so.0.2.0
-rwxr-xr-x 1 root root   2300910 Jun 20 21:18 libwx_baseu-3.0.so.0.2.0
lrwxrwxrwx 1 root root        24 Jun 20 21:18 libwx_baseu_net-3.0.so -> libwx_baseu_net-3.0.so.0
lrwxrwxrwx 1 root root        28 Jun 20 21:18 libwx_baseu_net-3.0.so.0 -> libwx_baseu_net-3.0.so.0.2.0
-rwxr-xr-x 1 root root    276986 Jun 20 21:18 libwx_baseu_net-3.0.so.0.2.0
lrwxrwxrwx 1 root root        24 Jun 20 21:18 libwx_baseu_xml-3.0.so -> libwx_baseu_xml-3.0.so.0
lrwxrwxrwx 1 root root        28 Jun 20 21:18 libwx_baseu_xml-3.0.so.0 -> libwx_baseu_xml-3.0.so.0.2.0
-rwxr-xr-x 1 root root     58473 Jun 20 21:18 libwx_baseu_xml-3.0.so.0.2.0
lrwxrwxrwx 1 root root        24 Jun 20 21:18 libwx_gtk2u_adv-3.0.so -> libwx_gtk2u_adv-3.0.so.0
lrwxrwxrwx 1 root root        28 Jun 20 21:18 libwx_gtk2u_adv-3.0.so.0 -> libwx_gtk2u_adv-3.0.so.0.2.0
-rwxr-xr-x 1 root root   1655889 Jun 20 21:18 libwx_gtk2u_adv-3.0.so.0.2.0
lrwxrwxrwx 1 root root        24 Jun 20 21:18 libwx_gtk2u_aui-3.0.so -> libwx_gtk2u_aui-3.0.so.0
lrwxrwxrwx 1 root root        28 Jun 20 21:18 libwx_gtk2u_aui-3.0.so.0 -> libwx_gtk2u_aui-3.0.so.0.2.0
-rwxr-xr-x 1 root root    519803 Jun 20 21:18 libwx_gtk2u_aui-3.0.so.0.2.0
lrwxrwxrwx 1 root root        25 Jun 20 21:18 libwx_gtk2u_core-3.0.so -> libwx_gtk2u_core-3.0.so.0
lrwxrwxrwx 1 root root        29 Jun 20 21:18 libwx_gtk2u_core-3.0.so.0 -> libwx_gtk2u_core-3.0.so.0.2.0
-rwxr-xr-x 1 root root   4869323 Jun 20 21:18 libwx_gtk2u_core-3.0.so.0.2.0
lrwxrwxrwx 1 root root        23 Jun 20 21:18 libwx_gtk2u_gl-3.0.so -> libwx_gtk2u_gl-3.0.so.0
lrwxrwxrwx 1 root root        27 Jun 20 21:18 libwx_gtk2u_gl-3.0.so.0 -> libwx_gtk2u_gl-3.0.so.0.2.0
-rwxr-xr-x 1 root root     92625 Jun 20 21:18 libwx_gtk2u_gl-3.0.so.0.2.0
lrwxrwxrwx 1 root root        25 Jun 20 21:18 libwx_gtk2u_html-3.0.so -> libwx_gtk2u_html-3.0.so.0
lrwxrwxrwx 1 root root        29 Jun 20 21:18 libwx_gtk2u_html-3.0.so.0 -> libwx_gtk2u_html-3.0.so.0.2.0
-rwxr-xr-x 1 root root    714098 Jun 20 21:18 libwx_gtk2u_html-3.0.so.0.2.0
lrwxrwxrwx 1 root root        29 Jun 20 21:18 libwx_gtk2u_propgrid-3.0.so -> libwx_gtk2u_propgrid-3.0.so.0
lrwxrwxrwx 1 root root        33 Jun 20 21:18 libwx_gtk2u_propgrid-3.0.so.0 -> libwx_gtk2u_propgrid-3.0.so.0.2.0
-rwxr-xr-x 1 root root    848356 Jun 20 21:18 libwx_gtk2u_propgrid-3.0.so.0.2.0
lrwxrwxrwx 1 root root        23 Jun 20 21:18 libwx_gtk2u_qa-3.0.so -> libwx_gtk2u_qa-3.0.so.0
lrwxrwxrwx 1 root root        27 Jun 20 21:18 libwx_gtk2u_qa-3.0.so.0 -> libwx_gtk2u_qa-3.0.so.0.2.0
-rwxr-xr-x 1 root root    154469 Jun 20 21:18 libwx_gtk2u_qa-3.0.so.0.2.0
lrwxrwxrwx 1 root root        27 Jun 20 21:18 libwx_gtk2u_ribbon-3.0.so -> libwx_gtk2u_ribbon-3.0.so.0
lrwxrwxrwx 1 root root        31 Jun 20 21:18 libwx_gtk2u_ribbon-3.0.so.0 -> libwx_gtk2u_ribbon-3.0.so.0.2.0
-rwxr-xr-x 1 root root    377394 Jun 20 21:18 libwx_gtk2u_ribbon-3.0.so.0.2.0
lrwxrwxrwx 1 root root        29 Jun 20 21:18 libwx_gtk2u_richtext-3.0.so -> libwx_gtk2u_richtext-3.0.so.0
lrwxrwxrwx 1 root root        33 Jun 20 21:18 libwx_gtk2u_richtext-3.0.so.0 -> libwx_gtk2u_richtext-3.0.so.0.2.0
-rwxr-xr-x 1 root root   1425131 Jun 20 21:18 libwx_gtk2u_richtext-3.0.so.0.2.0
lrwxrwxrwx 1 root root        24 Jun 20 21:18 libwx_gtk2u_stc-3.0.so -> libwx_gtk2u_stc-3.0.so.0
lrwxrwxrwx 1 root root        28 Jun 20 21:18 libwx_gtk2u_stc-3.0.so.0 -> libwx_gtk2u_stc-3.0.so.0.2.0
-rwxr-xr-x 1 root root   1733560 Jun 20 21:18 libwx_gtk2u_stc-3.0.so.0.2.0
lrwxrwxrwx 1 root root        28 Jun 20 21:18 libwx_gtk2u_webview-3.0.so -> libwx_gtk2u_webview-3.0.so.0
lrwxrwxrwx 1 root root        32 Jun 20 21:18 libwx_gtk2u_webview-3.0.so.0 -> libwx_gtk2u_webview-3.0.so.0.2.0
-rwxr-xr-x 1 root root    122243 Jun 20 21:18 libwx_gtk2u_webview-3.0.so.0.2.0
lrwxrwxrwx 1 root root        24 Jun 20 21:18 libwx_gtk2u_xrc-3.0.so -> libwx_gtk2u_xrc-3.0.so.0
lrwxrwxrwx 1 root root        28 Jun 20 21:18 libwx_gtk2u_xrc-3.0.so.0 -> libwx_gtk2u_xrc-3.0.so.0.2.0
-rwxr-xr-x 1 root root    903435 Jun 20 21:18 libwx_gtk2u_xrc-3.0.so.0.2.0
drwxr-xr-x 2 root root      4096 Jun 19 01:27 opencpn
drwxr-xr-x 2 root root      4096 Apr  2 20:29 pkgconfig
drwxrwsr-x 4 root staff     4096 Jun 28  2014 python2.7
drwxrwsr-x 3 root staff     4096 Jan 25  2014 python3.3
drwxr-xr-x 4 root root      4096 May 24 11:02 site_ruby
drwxr-xr-x 4 root root      4096 Jun 20 02:15 wx
aruntu@aruntu:/usr/local/lib$
WX files I built:
Code:
aruntu@aruntu:~/wxWidgets-3.0.2/builgtk/lib$ ls -l
total 18016
lrwxrwxrwx 1 aruntu aruntu      20 Jun 20 00:28 libwx_baseu-3.0.so -> libwx_baseu-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      24 Jun 20 00:28 libwx_baseu-3.0.so.0 -> libwx_baseu-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu 2300910 Jun 20 00:28 libwx_baseu-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      24 Jun 20 00:30 libwx_baseu_net-3.0.so -> libwx_baseu_net-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      28 Jun 20 00:30 libwx_baseu_net-3.0.so.0 -> libwx_baseu_net-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu  276986 Jun 20 00:30 libwx_baseu_net-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      24 Jun 20 01:34 libwx_baseu_xml-3.0.so -> libwx_baseu_xml-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      28 Jun 20 01:34 libwx_baseu_xml-3.0.so.0 -> libwx_baseu_xml-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu   58473 Jun 20 01:34 libwx_baseu_xml-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      24 Jun 20 01:25 libwx_gtk2u_adv-3.0.so -> libwx_gtk2u_adv-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      28 Jun 20 01:25 libwx_gtk2u_adv-3.0.so.0 -> libwx_gtk2u_adv-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu 1655889 Jun 20 01:25 libwx_gtk2u_adv-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      24 Jun 20 01:48 libwx_gtk2u_aui-3.0.so -> libwx_gtk2u_aui-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      28 Jun 20 01:48 libwx_gtk2u_aui-3.0.so.0 -> libwx_gtk2u_aui-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu  519803 Jun 20 01:48 libwx_gtk2u_aui-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      25 Jun 20 01:15 libwx_gtk2u_core-3.0.so -> libwx_gtk2u_core-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      29 Jun 20 01:15 libwx_gtk2u_core-3.0.so.0 -> libwx_gtk2u_core-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu 4869323 Jun 20 01:15 libwx_gtk2u_core-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      23 Jun 20 02:07 libwx_gtk2u_gl-3.0.so -> libwx_gtk2u_gl-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      27 Jun 20 02:07 libwx_gtk2u_gl-3.0.so.0 -> libwx_gtk2u_gl-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu   92625 Jun 20 02:07 libwx_gtk2u_gl-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      25 Jun 20 01:31 libwx_gtk2u_html-3.0.so -> libwx_gtk2u_html-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      29 Jun 20 01:31 libwx_gtk2u_html-3.0.so.0 -> libwx_gtk2u_html-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu  714098 Jun 20 01:31 libwx_gtk2u_html-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      29 Jun 20 01:56 libwx_gtk2u_propgrid-3.0.so -> libwx_gtk2u_propgrid-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      33 Jun 20 01:56 libwx_gtk2u_propgrid-3.0.so.0 -> libwx_gtk2u_propgrid-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu  848356 Jun 20 01:56 libwx_gtk2u_propgrid-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      23 Jun 20 01:34 libwx_gtk2u_qa-3.0.so -> libwx_gtk2u_qa-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      27 Jun 20 01:34 libwx_gtk2u_qa-3.0.so.0 -> libwx_gtk2u_qa-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu  154469 Jun 20 01:34 libwx_gtk2u_qa-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      27 Jun 20 01:51 libwx_gtk2u_ribbon-3.0.so -> libwx_gtk2u_ribbon-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      31 Jun 20 01:51 libwx_gtk2u_ribbon-3.0.so.0 -> libwx_gtk2u_ribbon-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu  377394 Jun 20 01:51 libwx_gtk2u_ribbon-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      29 Jun 20 02:04 libwx_gtk2u_richtext-3.0.so -> libwx_gtk2u_richtext-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      33 Jun 20 02:04 libwx_gtk2u_richtext-3.0.so.0 -> libwx_gtk2u_richtext-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu 1425131 Jun 20 02:04 libwx_gtk2u_richtext-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      24 Jun 20 02:06 libwx_gtk2u_stc-3.0.so -> libwx_gtk2u_stc-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      28 Jun 20 02:06 libwx_gtk2u_stc-3.0.so.0 -> libwx_gtk2u_stc-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu 1733560 Jun 20 02:06 libwx_gtk2u_stc-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      28 Jun 20 01:32 libwx_gtk2u_webview-3.0.so -> libwx_gtk2u_webview-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      32 Jun 20 01:32 libwx_gtk2u_webview-3.0.so.0 -> libwx_gtk2u_webview-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu  122243 Jun 20 01:32 libwx_gtk2u_webview-3.0.so.0.2.0
lrwxrwxrwx 1 aruntu aruntu      24 Jun 20 01:45 libwx_gtk2u_xrc-3.0.so -> libwx_gtk2u_xrc-3.0.so.0
lrwxrwxrwx 1 aruntu aruntu      28 Jun 20 01:45 libwx_gtk2u_xrc-3.0.so.0 -> libwx_gtk2u_xrc-3.0.so.0.2.0
-rwxrwxr-x 1 aruntu aruntu  903435 Jun 20 01:45 libwx_gtk2u_xrc-3.0.so.0.2.0
-rw-rw-r-- 1 aruntu aruntu   72722 Jun 19 23:55 libwxregexu-3.0.a
-rw-rw-r-- 1 aruntu aruntu 2286964 Jun 20 00:12 libwxscintilla-3.0.a
drwxrwxr-x 4 aruntu aruntu    4096 Jun 19 23:54 wx
aruntu@aruntu:~/wxWidgets-3.0.2/builgtk/lib$
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 06212015 - 10:24:57 PM.jpg
Views:	75
Size:	293.5 KB
ID:	104068  
__________________
NahanniV is online now   Reply With Quote
Old 21-06-2015, 22:23   #97
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Beta test 4.1.602 Release

JM...
You are using your locally built libraries now.
What comes in the DEB packages from Ubuntu (or any Launchpad PPA) is always installed to /usr/(lib,bin,share...)
Your own local build products (usually) "make install" into /usr/local/(lib,bin,share...), unless you change the installation prefix to point elsewhere.
The dynamic loader *should* actually be configured in a way that it uses the libraries from /usr/local even if the "same" library is in /usr, but on the ARM distributions I have seen all kinds of a mess already so don't believe anything.
Don't get fooled with the libs being called libwx_gtk2u_*-3.0.so - all the 3.0.x versions will be called like that as they maintain binary interface compatibility and as such can be freely replaced without having to rebuild the program using them, in this case OpenCPN - the important part suggesting yours are 3.0.2 actually is the 0.2.0 at the end of the names of the library files (all the "files" with shorter names and very small size are just symbolic links pointing to them).

Pavel
__________________
nohal is offline   Reply With Quote
Old 21-06-2015, 22:51   #98
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,143
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by nohal View Post
JM...
You are using your locally built libraries now.
.....
That's what I thought.

So, why is OpenCPN still reporting WX 3.0.0 ?

Code:
00:33:40 EDT: 2015-06-22
00:33:40 EDT:  ------- Starting OpenCPN -------
00:33:40 EDT: Version 4.1.602 Build 2015-06-02
00:33:42 EDT: wxWidgets version: wxWidgets 3.0.0 Linux 32 bit wxGTK
00:33:42 EDT: MemoryStatus:  mem_total: 1838 mb,  mem_initial: 10 mb
__________________
NahanniV is online now   Reply With Quote
Old 21-06-2015, 23:23   #99
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by NahanniV View Post
That's what I thought.

So, why is OpenCPN still reporting WX 3.0.0 ?

Code:
00:33:40 EDT: 2015-06-22
00:33:40 EDT:  ------- Starting OpenCPN -------
00:33:40 EDT: Version 4.1.602 Build 2015-06-02
00:33:42 EDT: wxWidgets version: wxWidgets 3.0.0 Linux 32 bit wxGTK
00:33:42 EDT: MemoryStatus:  mem_total: 1838 mb,  mem_initial: 10 mb
Because https://github.com/OpenCPN/OpenCPN/b...art1.cpp#L1239 - wxVERSION_STRING is a compile time macro. If you now rebuild OpenCPN against wx3.0.2 sources, you should see 3.0.2 there. And it should mean absolutely no difference against using a binary built from the same OpenCPN source against wx3.0.0 as we use the dynamically linked libs and you already are using 3.0.2 with all the changes it contains.

Pavel
__________________
nohal is offline   Reply With Quote
Old 22-06-2015, 00:03   #100
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,143
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by nohal View Post
Because https://github.com/OpenCPN/OpenCPN/b...art1.cpp#L1239 - wxVERSION_STRING is a compile time macro. If you now rebuild OpenCPN against wx3.0.2 sources, you should see 3.0.2 there. And it should mean absolutely no difference against using a binary built from the same OpenCPN source against wx3.0.0 as we use the dynamically linked libs and you already are using 3.0.2 with all the changes it contains.

Pavel
AAARGH !

Well at least I learned some things.

Now I seem to have a problem related to removing all the old WX packages:
Code:
aruntu@aruntu:~/OpenCPN/build$ cmake ../
-- *** Build Architecture is armhf
-- *** Staging to build opencpn 4.1.602 ***
-- *** Package will include documentation ***
-- *** Package will include GSHHS basechart level: CRUDE ***
-- *** Package will include tide and current data ***
-- Building for wxGTK2
-- Found OpenGLESv1
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find wxWidgets (missing: wxWidgets_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindwxWidgets.cmake:832 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:358 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/aruntu/OpenCPN/build/CMakeFiles/CMakeOutput.log".
Should I re-install the old WX package, then make install the new WX libraries again ?
Perhaps delete the WX libraries from /usr/local/lib/ first ?
Or start all over with a fresh OS ?

I'm also back to the start of trying to get 4.1.602 to run on my ARM board.

Unfortunately I need to sleep.

Cheers,
JM.
__________________
NahanniV is online now   Reply With Quote
Old 22-06-2015, 02:44   #101
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: OpenCPN Beta test 4.1.602 Release

JM,

What do you get from
wx-config --list ?

Then if you try
/usr/bin/wx-config --list
vs
/usr/local/bin/wx-config --list

Indeed you don't even need to "make install" wxwidgets but instead can add the build directory to your path when running cmake for opencpn and it should use that wx-config, for example

PATH=/home/sean/wxWidgets/bldqt5:$PATH cmake ..
if I want to build opencpn using wxQT without installing wxwidgets
__________________
boat_alexandra is offline   Reply With Quote
Old 22-06-2015, 02:47   #102
Registered User

Join Date: Jun 2010
Location: St. Petersburg, Florida
Boat: Gemini 3200
Posts: 702
Re: OpenCPN Beta test 4.1.602 Release

FS1684, Linux version fails to return focus after certain operations is not ready for closure yet. The chart window is not active after closing the Route Manager, closing an object query, or closing the About OpenCPN window. The chart window is active after closing the Settings window and after switching to an ENC chart (building a new SENC file).

Fabbian
__________________
fgd3 is offline   Reply With Quote
Old 22-06-2015, 03:05   #103
Registered User

Join Date: Jun 2010
Location: St. Petersburg, Florida
Boat: Gemini 3200
Posts: 702
Re: OpenCPN Beta test 4.1.602 Release

Under Ubuntu Linux 14.04 I have a new problem with 4.1.602. It's quite slow displaying ENCs and the sea bottom is gray. I don't see the blue and white areas based on depth that I'm used to seeing (see the attached screen shot). Performance displaying ENCs is poor, too. Since I hadn't run a software update in over a month it's impossible to say what else migt have changed to contribute to this result. Is anyone else having trouble with ENC displays?

Fabbian
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2015-06-22 04:53:49.png
Views:	79
Size:	206.7 KB
ID:	104069  
__________________
fgd3 is offline   Reply With Quote
Old 22-06-2015, 03:56   #104
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 270
Re: OpenCPN Beta test 4.1.602 Release

SOS
Do not display correctly the S-57 course up mode
It appears near the cell boundaries chart
FS#1801 : The problem with the display of ENC S-57 course up mode
__________________
Baikal is offline   Reply With Quote
Old 22-06-2015, 09:20   #105
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: OpenCPN Beta test 4.1.602 Release

Quote:
Originally Posted by NahanniV View Post
Could not find a repository that had wxWidgits 3.0.2 for ARM, so I downloaded and built it from source.

I followed all the steps and there were no errors:
Code:
configure --with-gtk
make
sudo make install
ldconfig
OpenCPN still reporting 3.0.0 so I tried re-building it, I did not think it was necessary, but tried. That made no difference either.

What did I do wrong ?
Any suggestions ?

Thanks,
JM.
Linux maintains links to preferred libraries at /etc/alternatives. Install 'galternatives', a gui that enables users to change preferences without having to use terminal commands.
__________________

__________________
Wrong is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Beta Test / Technical bdbcat OpenCPN 2067 02-12-2017 15:06
OpenCPN for Android Beta test 4.1.530 bdbcat OpenCPN 203 07-05-2017 22:20
OpenCPN Version 2.2 Beta Test bdbcat OpenCPN 437 15-12-2010 20:17
OpenCPN Version 2.2 Beta Test Bugs / Discussion bdbcat OpenCPN 120 26-09-2010 03:53



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 07:10.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.