import files from Directory problem..

General questions regarding the usage of CodeLite
Rory
CodeLite Enthusiast
Posts: 29
Joined: Wed Nov 14, 2012 3:35 pm
Genuine User: Yes
IDE Question: C++
Contact:

import files from Directory problem..

Post by Rory »

Version 5.4, installed using apt-get, Xubuntu 14.04LTS.

The 'import files from directory' function doesn't seem to work any more. The import folder is fixed and can't be changed. Am I missing something, or has something changed. I was using 5.1 for the past year or so.

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

Re: import files from Directory problem..

Post by eranif »

I see what you mean.
Looks like when selecting a folder from the 'list' is not changing the content.
However, if you select it using the 'Other...' than it will work
snapshot.png
It is now fixed in git head.

Eran
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: import files from Directory problem..

Post by DavidGH »

Hi,

I see what you mean. Even if you use the field above to navigate to a different dir, the result doesn't 'take' in the select-dirs field.

This works fine on debian wheezy, but not on e.g. ubuntu saucy and trusty. I suspect it's a due to a change in the underlying gtk+ control that's being used in more recent systems (did you upgrade your Xubuntu version at the same time as the dialog started failing?).

I'll look into it.

Regards,

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

Re: import files from Directory problem..

Post by eranif »

DavidGH wrote:but not on e.g. ubuntu saucy and trusty
FYI: the above screenshot was taken on Trusty/KDE/GTK2

Eran
Make sure you have read the HOW TO POST thread
Rory
CodeLite Enthusiast
Posts: 29
Joined: Wed Nov 14, 2012 3:35 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: import files from Directory problem..

Post by Rory »

I took a shot at building from source but got caught out with wxWidgets. Following the instructions online I did:

apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
sudo apt-add-repository 'deb http://repos.codelite.org/wx3.0trusty/ trusty universe'
sudo apt-get update
apt-get install libwxbase3.0-0-unofficial libwxbase3.0-dev libwxgtk3.0-0-unofficial libwxgtk3.0-dev wx3.0-headers wx-common libwxbase3.0-dbg

but it resulted in this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libwxbase3.0-0-unofficial
E: Couldn't find any package by regex 'libwxbase3.0-0-unofficial'
E: Unable to locate package libwxgtk3.0-0-unofficial
E: Couldn't find any package by regex 'libwxgtk3.0-0-unofficial'
E: Unable to locate package libwxbase3.0-dbg
E: Couldn't find any package by regex 'libwxbase3.0-dbg'

Any ideas?
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: import files from Directory problem..

Post by DavidGH »

Some of the package names are different for trusty. I've just updated the documentation to make that clear.

Of course synaptic-users didn't have a problem ;) .
Rory
CodeLite Enthusiast
Posts: 29
Joined: Wed Nov 14, 2012 3:35 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: import files from Directory problem..

Post by Rory »

Thanks guys, building and working now without any issues.
Post Reply