Installing wxCrafter in Linux

Post here wxCrafter related issues / features / bugs
minterg
CodeLite Curious
Posts: 5
Joined: Sun Aug 25, 2013 7:12 am
Genuine User: Yes
IDE Question: C++
Contact:

Installing wxCrafter in Linux

Post by minterg » Mon Sep 02, 2013 9:07 am

Codelite v5.3, self-compiled from git, running on LinuxMint 15 (olivia) x86_64, gcc/g++ v4.7.3

I am able to create a new project based on wxFrame or wxDialog, build it, run it, no problems.
But wxCrafter does not show up on any workspace tab, nor does it show on the list of plugins, even after restarting Codelite.

I installed the plugin by running: sudo dpkg -i wxcrafter_1.2-1.wheezy_amd64.deb
The shared library 'wxCrafter.so' gets installed to: /usr/lib/x86_64-linux-gnu/codelite/
while /usr/lib/codelite directory was never created.
I tried creating /usr/lib/codelite and copying 'wxCrafter.so' to that directory, but no luck.

Not sure where to go from here. Any help would be appreciated.

User avatar
eranif
CodeLite Plugin
Posts: 5934
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Installing wxCrafter in Linux

Post by eranif » Mon Sep 02, 2013 9:15 am

compiling codelite from sources will break its compatibility with wxCrafter (which is not open sourced)

Code: Select all

 /usr/lib/x86_64-linux-gnu/codelite/
This is the correct path on Debian based system _and_ not /usr/lib/codelite

Your best bet is to install the standalone version of wxCrafter which is independent of codelite API version
Note that 'sudo make install' should have also installed codelite's plugins into /usr/lib/x86_64-linux-gnu/codelite/ isn't it the case for you?

Eran
Make sure you have read the HOW TO POST thread

minterg
CodeLite Curious
Posts: 5
Joined: Sun Aug 25, 2013 7:12 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Installing wxCrafter in Linux

Post by minterg » Tue Sep 03, 2013 2:44 am

Thanks for prompt reply.
Yes, codelite's plugins were copied into /usr/lib/x86_64-linux-gnu/codelite/

I tried installing the standalone wxCrafter:

Code: Select all

sudo dpkg -i wxcrafter-1.2-ubuntu-raring-x86_64-standalone.deb
...which installed without problem.
Then, when running the standalone program:

Code: Select all

$ wxcrafter
*** Error in `wxcrafter': free(): invalid pointer: 0x00007ff7ee7d6430 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x80a46)[0x7ff7f5870a46]
wxcrafter(_ZN22wxScopedCharTypeBufferIcE6DecRefEv+0x61)[0x4975f1]
wxcrafter(_ZN14wxFormatStringD1Ev+0x23)[0x4a27e3]
/usr/local/lib/libwx_baseu-2.9.so.5(_ZNK8wxCSConv8DoCreateEv+0x198)[0x7ff7ee48be98]
/usr/local/lib/libwx_baseu-2.9.so.5(_ZN8wxCSConvC2E14wxFontEncoding+0x83)[0x7ff7ee48c8f3]
/usr/local/lib/libwx_baseu-2.9.so.5(_Z20wxGet_wxConvLocalPtrv+0x49)[0x7ff7ee48cbe9]
/usr/local/lib/libwx_baseu-2.9.so.5(+0x6f88e)[0x7ff7ee3d988e]
/lib64/ld-linux-x86-64.so.2(+0xf876)[0x7ff7f945f876]
/lib64/ld-linux-x86-64.so.2(+0xf930)[0x7ff7f945f930]
/lib64/ld-linux-x86-64.so.2(+0x168a)[0x7ff7f945168a]
======= Memory map: ========
00400000-00787000 r-xp 00000000 08:01 76289243                           /usr/bin/wxcrafter
00987000-009bd000 r--p 00387000 08:01 76289243                           /usr/bin/wxcrafter
009bd000-009e6000 rw-p 003bd000 08:01 76289243                           /usr/bin/wxcrafter
009e6000-009eb000 rw-p 00000000 00:00 0 
015e7000-01608000 rw-p 00000000 00:00 0                                  [heap]
7ff7eb89f000-7ff7ebf80000 r--p 00000000 08:01 76289670                   /usr/lib/locale/locale-archive
7ff7ebf80000-7ff7ed0ef000 r-xp 00000000 08:01 76291175                   /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7ff7ed0ef000-7ff7ed2ee000 ---p 0116f000 08:01 76291175                   /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7ff7ed2ee000-7ff7ed2ef000 r--p 0116e000 08:01 76291175                   /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7ff7ed2ef000-7ff7ed2f0000 rw-p 0116f000 08:01 76291175                   /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7ff7ed2f0000-7ff7ed446000 r-xp 00000000 08:01 76291189                   /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7ff7ed446000-7ff7ed645000 ---p 00156000 08:01 76291189                   /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7ff7ed645000-7ff7ed656000 r--p 00155000 08:01 76291189                   /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7ff7ed656000-7ff7ed657000 rw-p 00166000 08:01 76291189                   /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7ff7ed657000-7ff7ed65b000 rw-p 00000000 00:00 0 
7ff7ed65b000-7ff7ed68d000 r-xp 00000000 08:01 76291181                   /usr/lib/x86_64-linux-gnu/libicule.so.48.1.1
7ff7ed68d000-7ff7ed88d000 ---p 00032000 08:01 76291181                   /usr/lib/x86_64-linux-gnu/libicule.so.48.1.1
7ff7ed88d000-7ff7ed88f000 r--p 00032000 08:01 76291181                   /usr/lib/x86_64-linux-gnu/libicule.so.48.1.1
7ff7ed88f000-7ff7ed890000 rw-p 00034000 08:01 76291181                   /usr/lib/x86_64-linux-gnu/libicule.so.48.1.1
7ff7ed890000-7ff7ed895000 r-xp 00000000 08:01 76290606                   /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7ff7ed895000-7ff7eda94000 ---p 00005000 08:01 76290606                   /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7ff7eda94000-7ff7eda95000 r--p 00004000 08:01 76290606                   /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7ff7eda95000-7ff7eda96000 rw-p 00005000 08:01 76290606                   /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7ff7eda96000-7ff7eda98000 r-xp 00000000 08:01 76290595                   /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7ff7eda98000-7ff7edc98000 ---p 00002000 08:01 76290595                   /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7ff7edc98000-7ff7edc99000 r--p 00002000 08:01 76290595                   /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7ff7edc99000-7ff7edc9a000 rw-p 00003000 08:01 76290595                   /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7ff7edc9a000-7ff7edd2f000 r-xp 00000000 08:01 76291161                   /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.913.0
7ff7edd2f000-7ff7edf2e000 ---p 00095000 08:01 76291161                   /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.913.0
7ff7edf2e000-7ff7edf30000 r--p 00094000 08:01 76291161                   /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.913.0
7ff7edf30000-7ff7edf31000 rw-p 00096000 08:01 76291161                   /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.913.0
7ff7edf31000-7ff7edf47000 r-xp 00000000 08:01 93589208                   /lib/x86_64-linux-gnu/libresolv-2.17.so
7ff7edf47000-7ff7ee147000 ---p 00016000 08:01 93589208                   /lib/x86_64-linux-gnu/libresolv-2.17.so
7ff7ee147000-7ff7ee148000 r--p 00016000 08:01 93589208                   /lib/x86_64-linux-gnu/libresolv-2.17.so
7ff7ee148000-7ff7ee149000 rw-p 00017000 08:01 93589208                   /lib/x86_64-linux-gnu/libresolv-2.17.so
7ff7ee149000-7ff7ee14b000 rw-p 00000000 00:00 0 
7ff7ee14b000-7ff7ee168000 r-xp 00000000 08:01 93589212                   /lib/x86_64-linux-gnu/libselinux.so.1
7ff7ee168000-7ff7ee367000 ---p 0001d000 08:01 93589212                   /lib/x86_64-linux-gnu/libselinux.so.1
7ff7ee367000-7ff7ee368000 r--p 0001c000 08:01 93589212                   /lib/x86_64-linux-gnu/libselinux.so.1
7ff7ee368000-7ff7ee369000 rw-p 0001d000 08:01 93589212                   /lib/x86_64-linux-gnu/libselinux.so.1
7ff7ee369000-7ff7ee36a000 rw-p 00000000 00:00 0 
7ff7ee36a000-7ff7ee5be000 r-xp 00000000 08:01 76813409                   /usr/local/lib/libwx_baseu-2.9.so.5.0.0
7ff7ee5be000-7ff7ee7bd000 ---p 00254000 08:01 76813409                   /usr/local/lib/libwx_baseu-2.9.so.5.0.0
7ff7ee7bd000-7ff7ee7ca000 r--p 00253000 08:01 76813409                   /usr/local/lib/libwx_baseu-2.9.so.5.0.0
7ff7ee7ca000-7ff7ee7ce000 rw-p 00260000 08:01 76813409                   /usr/local/lib/libwx_baseu-2.9.so.5.0.0
7ff7ee7ce000-7ff7ee7d9000 rw-p 00000000 00:00 0 
7ff7ee7d9000-7ff7eed77000 r-xp 00000000 08:01 76813415                   /usr/local/lib/libwx_gtk2u_core-2.9.so.5.0.0
7ff7eed77000-7ff7eef76000 ---p 0059e000 08:01 76813415                   /usr/local/lib/libwx_gtk2u_core-2.9.so.5.0.0
7ff7eef76000-7ff7eeff1000 r--p 0059d000 08:01 76813415                   /usr/local/lib/libwx_gtk2u_core-2.9.so.5.0.0
7ff7eeff1000-7ff7eeffc000 rw-p 00618000 08:01 76813415                   /usr/local/lib/libwx_gtk2u_core-2.9.so.5.0.0
7ff7eeffc000-7ff7ef008000 rw-p 00000000 00:00 0 
7ff7ef008000-7ff7ef013000 r-xp 00000000 08:01 76291214                   /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7ff7ef013000-7ff7ef212000 ---p 0000b000 08:01 76291214                   /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7ff7ef212000-7ff7ef213000 r--p 0000a000 08:01 76291214                   /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7ff7ef213000-7ff7ef216000 rw-p 0000b000 08:01 76291214                   /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7ff7ef216000-7ff7ef21a000 r-xp 00000000 08:01 93589238                   /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7ff7ef21a000-7ff7ef419000 ---p 00004000 08:01 93589238                   /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7ff7ef419000-7ff7ef41a000 r--p 00003000 08:01 93589238                   /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7ff7ef41a000-7ff7ef41b000 rw-p 00004000 08:01 93589238                   /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7ff7ef41b000-7ff7ef432000 r-xp 00000000 08:01 76290503                   /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7ff7ef432000-7ff7ef631000 ---p 00017000 08:01 76290503                   /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7ff7ef631000-7ff7ef632000 r--p 00016000 08:01 76290503                   /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7ff7ef632000-7ff7ef633000 rw-p 00017000 08:01 76290503                   /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7ff7ef633000-7ff7ef637000 rw-p 00000000 00:00 0 
7ff7ef637000-7ff7ef63e000 r-xp 00000000 08:01 93589210                   /lib/x86_64-linux-gnu/librt-2.17.so
7ff7ef63e000-7ff7ef83d000 ---p 00007000 08:01 93589210                   /lib/x86_64-linux-gnu/librt-2.17.so
7ff7ef83d000-7ff7ef83e000 r--p 00006000 08:01 93589210                   /lib/x86_64-linux-gnu/librt-2.17.so
7ff7ef83e000-7ff7ef83f000 rw-p 00007000 08:01 93589210                   /lib/x86_64-linux-gnu/librt-2.17.so
7ff7ef83f000-7ff7ef847000 r-xp 00000000 08:01 76288357                   /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7ff7ef847000-7ff7efa47000 ---p 00008000 08:01 76288357                   /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7ff7efa47000-7ff7efa48000 r--p 00008000 08:01 76288357                   /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7ff7efa48000-7ff7efa49000 rw-p 00009000 08:01 76288357                   /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7ff7efa49000-7ff7efa4b000 r-xp 00000000 08:01 76288359                   /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7ff7efa4b000-7ff7efc4a000 ---p 00002000 08:01 76288359                   /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7ff7efc4a000-7ff7efc4b000 r--p 00001000 08:01 76288359                   /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7ff7efc4b000-7ff7efc4c000 rw-p 00002000 08:01 76288359                   /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7ff7efc4c000-7ff7efcdc000 r-xp 00000000 08:01 76291371                   /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.28.2
7ff7efcdc000-7ff7efedb000 ---p 00090000 08:01 76291371                   /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.28.2
7ff7efedb000-7ff7efee2000 r--p 0008f000 08:01 76291371                   /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.28.2
7ff7efee2000-7ff7efee3000 rw-p 00096000 08:01 76291371                   /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.28.2
7ff7efee3000-7ff7eff7a000 r-xp 00000000 08:01 76290942                   /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7ff7eff7a000-7ff7f0179000 ---p 00097000 08:01 76290942                   /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7ff7f0179000-7ff7f017f000 r--p 00096000 08:01 76290942                   /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7ff7f017f000-7ff7f0180000 rw-p 0009c000 08:01 76290942                   /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7ff7f0180000-7ff7f019d000 r-xp 00000000 08:01 76288347                   /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7ff7f019d000-7ff7f039c000 ---p 0001d000 08:01 76288347                   /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7ff7f039c000-7ff7f039d000 r--p 0001c000 08:01 76288347                   /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7ff7f039d000-7ff7f039e000 rw-p 0001d000 08:01 76288347                   /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7ff7f039e000-7ff7f03db000 r-xp 00000000 08:01 93589185                   /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7ff7f03db000-7ff7f05db000 ---p 0003d000 08:01 93589185                   /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7ff7f05db000-7ff7f05dc000 r--p 0003d000 08:01 93589185                   /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7ff7f05dc000-7ff7f05dd000 rw-p 0003e000 08:01 93589185                   /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7ff7f05dd000-7ff7f05e4000 r-xp 00000000 08:01 76290882                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1
7ff7f05e4000-7ff7f07e3000 ---p 00007000 08:01 76290882                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1
7ff7f07e3000-7ff7f07e4000 r--p 00006000 08:01 76290882                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1
7ff7f07e4000-7ff7f07e5000 rw-p 00007000 08:01 76290882                   /usr/lib/x86_64-linux-gnu/libffi.so.6.0.1
7ff7f07e5000-7ff7f07f6000 r-xp 00000000 08:01 76288351                   /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7ff7f07f6000-7ff7f09f5000 ---p 00011000 08:01 76288351                   /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7ff7f09f5000-7ff7f09f6000 r--p 00010000 08:01 76288351                   /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7ff7f09f6000-7ff7f09f7000 rw-p 00011000 08:01 76288351                   /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7ff7f09f7000-7ff7f09f9000 r-xp 00000000 08:01 76290604                   /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7ff7f09f9000-7ff7f0bf8000 ---p 00002000 08:01 76290604                   /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7ff7f0bf8000-7ff7f0bf9000 r--p 00001000 08:01 76290604                   /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7ff7f0bf9000-7ff7f0bfa000 rw-p 00002000 08:01 76290604                   /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7ff7f0bfa000-7ff7f0bfc000 r-xp 00000000 08:01 76290600                   /usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0
7ff7f0bfc000-7ff7f0dfb000 ---p 00002000 08:01 76290600                   /usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0
7ff7f0dfb000-7ff7f0dfc000 r--p 00001000 08:01 76290600                   /usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0
7ff7f0dfc000-7ff7f0dfd000 rw-p 00002000 08:01 76290600                   /usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0
7ff7f0dfd000-7ff7f0e06000 r-xp 00000000 08:01 76288365                   /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7ff7f0e06000-7ff7f1006000 ---p 00009000 08:01 76288365                   /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7ff7f1006000-7ff7f1007000 r--p 00009000 08:01 76288365                   /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7ff7f1007000-7ff7f1008000 rw-p 0000a000 08:01 76288365                   /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7ff7f1008000-7ff7f1011000 r-xp 00000000 08:01 76288371                   /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7ff7f1011000-7ff7f1210000 ---p 00009000 08:01 76288371                   /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7ff7f1210000-7ff7f1211000 r--p 00008000 08:01 76288371                   /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7ff7f1211000-7ff7f1212000 rw-p 00009000 08:01 76288371                   /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7ff7f1212000-7ff7f1220000 r-xp 00000000 08:01 76288367                   /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7ff7f1220000-7ff7f1420000 ---p 0000e000 08:01 76288367                   /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7ff7f1420000-7ff7f1421000 r--p 0000e000 08:01 76288367                   /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7ff7f1421000-7ff7f1422000 rw-p 0000f000 08:01 76288367                   /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7ff7f1422000-7ff7f1424000 r-xp 00000000 08:01 76288369                   /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7ff7f1424000-7ff7f1623000 ---p 00002000 08:01 76288369                   /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7ff7f1623000-7ff7f1624000 r--p 00001000 08:01 76288369                   /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7ff7f1624000-7ff7f1625000 rw-p 00002000 08:01 76288369                   /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7ff7f1625000-7ff7f162e000 r-xp 00000000 08:01 76288363                   /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7ff7f162e000-7ff7f182d000 ---p 00009000 08:01 76288363                   /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7ff7f182d000-7ff7f182e000 r--p 00008000 08:01 76288363                   /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7ff7f182e000-7ff7f182f000 rw-p 00009000 08:01 76288363                   /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7ff7f182f000-7ff7f1866000 r-xp 00000000 08:01 76290914                   /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7ff7f1866000-7ff7f1a66000 ---p 00037000 08:01 76290914                   /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7ff7f1a66000-7ff7f1a67000 r--p 00037000 08:01 76290914                   /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7ff7f1a67000-7ff7f1a68000 rw-p 00038000 08:01 76290914                   /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7ff7f1a68000-7ff7f1a69000 rw-p 00000000 00:00 0 Aborted

User avatar
eranif
CodeLite Plugin
Posts: 5934
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Installing wxCrafter in Linux

Post by eranif » Tue Sep 03, 2013 11:41 am

It seems like a missmatch between wx versions ( I am pretty sure that wxC 1.2 uses wx2.9.4 while in the backtrace we see wx 2.9.5 loaded
This have been fixed in git head of wxCrafter - so I will build a version later on today and will upload a download link to this post

Eran
Make sure you have read the HOW TO POST thread

minterg
CodeLite Curious
Posts: 5
Joined: Sun Aug 25, 2013 7:12 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Installing wxCrafter in Linux

Post by minterg » Wed Sep 04, 2013 6:14 am

When I "sudo make uninstall" wxWidgets 2.9.5, then re-run wxCrafter, I get:

Code: Select all

wxcrafter: error while loading shared libraries: libwx_gtk2u_core-2.9.so.5: cannot open shared object file: No such file or directory
Demonstrating the dependency.
Yet with wxWidgets-2.9.5 installed, wxCrafter 1.2 aborts with "free(): invalid pointer: " message.

User avatar
eranif
CodeLite Plugin
Posts: 5934
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Installing wxCrafter in Linux

Post by eranif » Wed Sep 04, 2013 1:25 pm

minterg wrote:When I "sudo make uninstall" wxWidgets 2.9.5, then re-run wxCrafter, I get:

Code: Select all

wxcrafter: error while loading shared libraries: libwx_gtk2u_core-2.9.so.5: cannot open shared object file: No such file or directory
Demonstrating the dependency.
Yet with wxWidgets-2.9.5 installed, wxCrafter 1.2 aborts with "free(): invalid pointer: " message.
Like I said, this was fixed in git head.
BTW, I don't provide binaries for Mint, I do provide for Ubuntu (12.04, 12.10 and 13.04)
Is there binary compatible between LinuxMint 15 (olivia) and any of the ubuntus?

Eran
Make sure you have read the HOW TO POST thread

User avatar
eranif
CodeLite Plugin
Posts: 5934
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Installing wxCrafter in Linux

Post by eranif » Wed Sep 04, 2013 4:41 pm

I am have uploaded a wxC from git head here:

http://downloads.codelite.org/wxCrafter ... dalone.deb

Note that I have built it for ubuntu raring - hopefully it will match your Linux distro

Eran
Make sure you have read the HOW TO POST thread

minterg
CodeLite Curious
Posts: 5
Joined: Sun Aug 25, 2013 7:12 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Installing wxCrafter in Linux

Post by minterg » Sat Sep 07, 2013 10:02 am

That worked, thank you.

Now I just need to learn to become productive with these tools
while using wxCrafter as a standalone. I think the link between
wxCrafter and Codelite is the xml file that defines the layout of
the gui. Anyway that is a different conversation.

Thanks again for your prompt help.

User avatar
eranif
CodeLite Plugin
Posts: 5934
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Installing wxCrafter in Linux

Post by eranif » Sat Sep 07, 2013 11:33 am

minterg wrote:wxCrafter and Codelite is the xml
codelite uses a JSON format and not XML

Use this to get started with:
http://codelite.org/LiteEditor/WxCrafterHelloWorld
It refers to the plugin, but its identical: instead of having a tab you are having a standalone application

Eran
Make sure you have read the HOW TO POST thread

Post Reply