News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE

Started by a14331990, December 11, 2009, 08:10:37 AM

Previous topic - Next topic

a14331990

I'm using codeblocks-r5964( installed from http://download.opensuse.org/repositories/devel:/tools:/ide/) on openSUSE 11.2.

   The Compiler Setting Dialog seems to be broken.
1. I cannot customize "Search directories" : see image1.png attached.
2. I cannot customize "Additional Paths" : see image2.png attached.

I have no problem with CodeBlocks 8.02 in the past.

Best Regards.
Leo.

Addition: I just compiled codeblocks 8.02 and codeblocks-r5971 from source, codeblocks 8.02 works fine but not codeblocks-r5971.

[attachment deleted by admin]

Jenna

I just compiled C::B on openSuse 11.2 (64-bit) from source.

Everything works fine here.

You can try to rename C::B's conf-dir (~/.codeblocks).
C::B has to be closed, while you do so, if you start C::B with empty conf-dir, it will create a complete new configuration with default settings.

And of course make sure you have no libraries from 8.02-release mixed with newer releases. This can possibly happen, because the directory-structure of C::B has changed since 8.02 release.



MortenMacFly

Quote from: jens on December 11, 2009, 01:13:11 PM
I just compiled C::B on openSuse 11.2 (64-bit) from source.
Also remember to update the resource files when compiling yourself. Meaning: Make sure you ran the update script after compilation.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Jenna

Quote from: MortenMacFly on December 11, 2009, 01:35:48 PM
Quote from: jens on December 11, 2009, 01:13:11 PM
I just compiled C::B on openSuse 11.2 (64-bit) from source.
Also remember to update the resource files when compiling yourself. Meaning: Make sure you ran the update script after compilation.
That's only needed, if you compile C::B with C::B.
If you use the automake-system you don't need to do so.

EDIT:
You might have to fix the paths for dynamic libs.
See here:http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29#Resolving_issues .

a14331990

Quote from: jens on December 11, 2009, 01:13:11 PM
I just compiled C::B on openSuse 11.2 (64-bit) from source.

Everything works fine here.

You can try to rename C::B's conf-dir (~/.codeblocks).
C::B has to be closed, while you do so, if you start C::B with empty conf-dir, it will create a complete new configuration with default settings.

And of course make sure you have no libraries from 8.02-release mixed with newer releases. This can possibly happen, because the directory-structure of C::B has changed since 8.02 release.

Thanks!



I have just uninstalled packages by openSUSE build service ( http://download.opensuse.org/repositories/devel:/tools:/ide/ ), deleted ~/.codeblocks, and fetched r5911 source and patches from  your server http://apt.jenslody.de/.
     I'll start a new build, and report back soon.



BTW, can you install packages from http://download.opensuse.org/repositories/devel:/tools:/ide/openSUSE_11.2/ on your openSUSE to confirm this strange behavior?

Jenna

Quote from: a14331990 on December 11, 2009, 02:05:06 PM
BTW, can you install packages from http://download.opensuse.org/repositories/devel:/tools:/ide/openSUSE_11.2/ on your openSUSE to confirm this strange behavior?

Not now, I am not at work until monday and at home I still have to use ISDN.
Maybe I try to download it later (in the night).

I have had an older version of C::B installed from this repo (5911 or 5919 or so), but just uninstalled it, so I am not absolutely sure about the version.
But everything was fine with it.

a14331990

Just installed r5971 from source. Problem still exists. I think the Compiler Setting Dialog is not shown properly, and the "Cancel" and "Ok" buttons doesn't fit well in the screen. See image3.png attached.

Addition: r5911 is also affected on my machine, last known unaffected build is 8.02.

[attachment deleted by admin]

a14331990

I search around the forum again.(Actually the third time)
   And I finally found a similar post
Compiler dialog is too big
http://forums.next.codeblocks.org/index.php/topic,11405.0.html
:lol:

Addition:
r5973 from the scintilla branch ( http://svn.berlios.de/svnroot/repos/codeblocks/branches/scintilla/ ) works perfectly.

One more similar post
Compiler settings issue
http://forums.next.codeblocks.org/index.php/topic,11315.0.html

Jenna

The problem with dialogs being too large is different to the one you mentioned first.

Even if the buttons are not shown (or only partially shown) the contents of the tabs should be there.

Does this work for you correctly with the scintilla-branch too ?


a14331990

Quote from: jens on December 12, 2009, 10:05:38 AM
The problem with dialogs being too large is different to the one you mentioned first.

Even if the buttons are not shown (or only partially shown) the contents of the tabs should be there.

Does this work for you correctly with the scintilla-branch too ?



I'm using the latest scintilla branch (r5972) now.
   When customizing "Search directories",  The "Add" button is still not shown, see image4.png.
I have to explicitly scroll the right-hand scrollbar to see the "Add" button, see image5.png. Setting "Additional Paths" requires a similar effort.

I'm wondering if  the scintilla branch is well-patched ( includes most patches from the master trunk). Is there any up-to-date patches for the  master branch to resolve this issue?

Thanks!

[attachment deleted by admin]

Jenna

Quote from: a14331990 on December 12, 2009, 11:49:31 AM
Is there any up-to-date patches for the  master branch to resolve this issue?

The patch that makes the default-buttons shown is not (yet) in trunk.
The problem with the "add" and other butoons is not so easy to fix, because they are on different panels.
I will look into it, but do not expect a quick solution.

As far as I know the scintilla-branch is uptodate (at the moment), but I'm not absolutely sure.
It gets updated frequently and will be merged with trunk later (still in testing-phase).

a14331990