Author Topic: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE  (Read 8234 times)

Offline a14331990

  • Multiple posting newcomer
  • *
  • Posts: 34
CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« on: December 11, 2009, 08:10:37 am »
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]
« Last Edit: December 11, 2009, 09:00:53 am by a14331990 »

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« Reply #1 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.



Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9613
Re: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« Reply #2 on: December 11, 2009, 01:35:48 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: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« Reply #3 on: December 11, 2009, 01:41:21 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 .
« Last Edit: December 11, 2009, 01:45:31 pm by jens »

Offline a14331990

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« Reply #4 on: December 11, 2009, 02:05:06 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?

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« Reply #5 on: December 11, 2009, 02:10:55 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.

Offline a14331990

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« Reply #6 on: December 12, 2009, 01:53:26 am »
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]
« Last Edit: December 12, 2009, 02:46:58 am by a14331990 »

Offline a14331990

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« Reply #7 on: December 12, 2009, 04:42:52 am »
I search around the forum again.(Actually the third time)
    And I finally found a similar post
Compiler dialog is too big
http://forums.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.codeblocks.org/index.php/topic,11315.0.html
« Last Edit: December 12, 2009, 06:58:22 am by a14331990 »

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« Reply #8 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 ?


Offline a14331990

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« Reply #9 on: December 12, 2009, 11:49:31 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]
« Last Edit: December 12, 2009, 11:53:11 am by a14331990 »

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« Reply #10 on: December 12, 2009, 12:01:24 pm »
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).

Offline a14331990

  • Multiple posting newcomer
  • *
  • Posts: 34
Re: CodeBlocks' Compiler Setting Dialog doesn't works on openSUSE
« Reply #11 on: December 12, 2009, 12:26:15 pm »
Thanks a lot!  :D