User forums > Using Code::Blocks

unable to load more than one source file under ubuntu but ok under mint

<< < (2/2)

oBFusCATed:
As a workaround you can always use File -> Open instead of double clicking in the File manager of your choice.
Does this work?

maglevrabbit:

--- Quote from: oBFusCATed on June 11, 2016, 11:08:16 am ---As a workaround you can always use File -> Open instead of double clicking in the File manager of your choice.
Does this work?

--- End quote ---

Yes that works fine. Its just not my usual way of working. I like to have the folder with my source files open and then click on whichever i need to edit. Its quicker and more direct than going through the open file dialogs. I could of course create a project and add the files to it, but i compile and build my software from the command line, and i prefer to try and be as editor agnostic as possible - i like to be able to switch to a new editor/ide without having to relearn a new work flow.

When i got this problem i did at first try switching to Codelite. Codelite works fine when loading multiple files via the file manager, but I the code folding which i always use is rather dumb in that there seems to be no easy way to open a file in folded mode for some strange reason. Also it is not very easy to fold an opened file - you have to select the entire file and then perform a "fold selected text" function from the menu for every file you open. Life is too short.

Phil.  :)

Jenna:
Did you doublecheck your codeblocks settings ?

"Settings -> Environment... -> General settings -> Allow only one running instance" unchecked
"Settings -> Environment... -> General settings -> Use an already running instance" checked

Both for the default profile/personality (if you use more than one).

Is C::B compiled/linked against wx2.8 or wx3 ?
Does it work from console (you probably need to use full paths for the files) ?

maglevrabbit:

--- Quote from: jens on June 12, 2016, 09:57:45 am ---Did you doublecheck your codeblocks settings ?

"Settings -> Environment... -> General settings -> Allow only one running instance" unchecked
"Settings -> Environment... -> General settings -> Use an already running instance" checked

Both for the default profile/personality (if you use more than one).

Is C::B compiled/linked against wx2.8 or wx3 ?
Does it work from console (you probably need to use full paths for the files) ?

--- End quote ---

Those settings don't work, neither does having them both on.

Sorry but i have no idea how C::B was compiled - i just used the version in the distro suppository.

I tried from the console and it does not work - that was how i was able to see the error message mentioned in the original post.

Thanks.

Navigation

[0] Message Index

[*] Previous page

Go to full version