Author Topic: The 30 October 2011 build (7550) is out.  (Read 115320 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 30 October 2011 build (7550) is out.
« Reply #45 on: November 25, 2011, 05:31:11 pm »
I`m found source of my problem with rectangular selection - there is a spell-cheker plugin. On clean install (no dictionaries), or when plugin disable from Settings all work ok. When I`m enable it (add some dictionary, for example en_US) rectangular selection works as I described above.

I am not sure what's not working for you. When I delete rectangular selection with backspace, the selected characters get deleted and the cursor has a height of a few lines.

Pressing backspace again, will delete the character at the right of the cursor which is wrong. Sometimes the cursor gets even "longer". Sure, this is a bug. But it is not related with spellchecker (I just deleted SpellChecker for the Test) (on WinXP svn7583).
SciTE Version 3.0.1 does not have this problem.

regards danselmi


I don't have any problems with rectangular selections on windows with newest trunk, backspace seems to work correctly in any cases.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: The 30 October 2011 build (7550) is out.
« Reply #46 on: December 02, 2011, 03:52:43 am »
I am using this nightly build!
There is just one small thing that i noticed!

whenever i write print instead of printf, the error is "undefined reference to print in main" . thats fine. But the problem is that it does not shows the line number!

what am i missing??

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 30 October 2011 build (7550) is out.
« Reply #47 on: December 02, 2011, 03:56:52 am »
whenever i write print instead of printf, the error is "undefined reference to print in main" . thats fine. But the problem is that it does not shows the line number!
Can you show us the code snippet and the build log(full build log), thanks. :D

Quote
undefined reference to print in main
This is a linker error, so you have the "print" function declaration in your code.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: The 30 October 2011 build (7550) is out.
« Reply #48 on: December 02, 2011, 04:02:12 am »
whenever i write print instead of printf, the error is "undefined reference to print in main" . thats fine. But the problem is that it does not shows the line number!
Can you show us the code snippet and the build log(full build log), thanks. :D

Quote
undefined reference to print in main
This is a linker error, so you have the "print" function declaration in your code.

Code
#include<stdio.h>
#include<conio.h>
int main ()
{
    int i, j;
    int a[10];
    for(i=0;i<10;i++)
        scanf("%d",&a[i]);
    printf("\n%u",&j);
    printf("TIMEPASS");
    for(i=0;i<10;i++)
        printf("%d",a[i]);
    scan("%d",&j); //purposeful error made by me
}

I have also posted the screenshot of build error in the attachments
« Last Edit: December 02, 2011, 04:04:13 am by neo1691 »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 30 October 2011 build (7550) is out.
« Reply #49 on: December 02, 2011, 04:13:43 am »
It works OK here(I use mingw gcc compiler under WinXP)
See the screen shot:


So, mostly, you have some compiler/linker setting errors.

BTW: A full build log is needed to detect your problem, please read the FAQ:Compiling (errors).
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: The 30 October 2011 build (7550) is out.
« Reply #50 on: December 02, 2011, 04:22:08 am »
It works OK here(I use mingw gcc compiler under WinXP)
See the screen shot:


So, mostly, you have some compiler/linker setting errors.

BTW: A full build log is needed to detect your problem, please read the FAQ:Compiling (errors).


Are you talking about the following build log?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 30 October 2011 build (7550) is out.
« Reply #51 on: December 02, 2011, 04:29:00 am »
1, Your have put your source in a path with spaces (like: "Codeblocks test" also spaces in your file names), this will cause problems in mingw, so please remove all spaces.
2, read: 1 Q: How do I troubleshoot a compiler problem?, make sure "full log" is used.
3, I think you should use a image host site to put your screen shot images, because our forum's space is limited, so that your attachment image will be removed some day. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: The 30 October 2011 build (7550) is out.
« Reply #52 on: December 02, 2011, 04:32:57 am »
1, Your have put your source in a path with spaces (like: "Codeblocks test" also spaces in your file names), this will cause problems in mingw, so please remove all spaces.
2, read: 1 Q: How do I troubleshoot a compiler problem?, make sure "full log" is used.
3, I think you should use a image host site to put your screen shot images, because our forum's space is limited, so that your attachment image will be removed some day. :D

I have enabled the full log!! But from where can i retrive the log?

Also you want me to edit the folder itself? so that it doesnt contains the spaces?

By the way previously i was using c::b stable 10.05 version, but it lacked the minimal prespective feature!!
so i unninstalled it>downloaded nightly>downloaded tdm gcc mingw compiler.
AFAIK in the previous version of c::b it was working fine!

EDIT: In build options i ticked "save log to an html file" but when i used notepad++ to open it, it was empty
« Last Edit: December 02, 2011, 05:00:06 am by neo1691 »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 30 October 2011 build (7550) is out.
« Reply #53 on: December 02, 2011, 05:34:54 am »
But from where can i retrive the log?
The "build log" panel in my screen shot.


Quote
Also you want me to edit the folder itself? so that it doesnt contains the spaces?
Yes.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: The 30 October 2011 build (7550) is out.
« Reply #54 on: December 02, 2011, 05:40:32 am »
But from where can i retrive the log?
The "build log" panel in my screen shot.


Quote
Also you want me to edit the folder itself? so that it doesnt contains the spaces?
Yes.

Renamed the folder! Same result. No line number.
build log panel still contains the following
Code
mingw32-gcc.exe    -c "D:\Programming\Codeblocks\nightly test2.c" -o "D:\Programming\Codeblocks\nightly test2.o"
mingw32-g++.exe  -o "D:\Programming\Codeblocks\nightly test2.exe" "D:\Programming\Codeblocks\nightly test2.o"   
D:\Programming\Codeblocks\nightly test2.o:nightly test2.c:(.text+0xa1): undefined reference to `scan'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 3 seconds)
1 errors, 0 warnings (0 minutes, 3 seconds)
 

I have already enabled complete log

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 30 October 2011 build (7550) is out.
« Reply #55 on: December 02, 2011, 05:46:59 am »
Renamed the folder! Same result. No line number.
Note: Remove the spaces in the file name too, that should fix your problem.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: The 30 October 2011 build (7550) is out.
« Reply #56 on: December 02, 2011, 05:50:30 am »
Renamed the folder! Same result. No line number.
Note: Remove the spaces in the file name too, that should fix your problem.

Tried it!! Same result :(

now i reinstalled the old 10.05 version of C::B and suprising the minimal prespective view was there in it!! And sadly the same error is also there now on the old version! Its not showing the line version!!
i think i should try to reinstall the windows again to sort out the mess!!

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 30 October 2011 build (7550) is out.
« Reply #57 on: December 02, 2011, 06:00:22 am »
Renamed the folder! Same result. No line number.
Note: Remove the spaces in the file name too, that should fix your problem.
Tried it!! Same result :(
Try to click the "rebuild" menu (This will firstly clean your project, and do a fresh build). Or try to remove all the obj files before you build. Or try create a new console project with the wizard, and paste your code there.

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: The 30 October 2011 build (7550) is out.
« Reply #58 on: December 02, 2011, 06:07:26 am »
Renamed the folder! Same result. No line number.
Note: Remove the spaces in the file name too, that should fix your problem.
Tried it!! Same result :(
Try to click the "rebuild" menu (This will firstly clean your project, and do a fresh build). Or try to remove all the obj files before you build. Or try create a new console project with the wizard, and paste your code there.



yes i created the new project and now it is showing the error line!! When i create just a c file it was not showing. Now in console project it is showing. Strange!!
However the errors are not highlighted in red :P

Also i have ran into another problem. Now when double click on a tab, it never switches to the minimal prespective view. Have to go to the view tab and do that manually. Thats annoying!

EDIT:Ijust went to the editor setting and when i closed the window, the error lines were highlighted!! Whats happening?
« Last Edit: December 02, 2011, 06:09:49 am by neo1691 »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 30 October 2011 build (7550) is out.
« Reply #59 on: December 02, 2011, 06:21:17 am »
yes i created the new project and now it is showing the error line!! When i create just a c file it was not showing. Now in console project it is showing. Strange!!
However the errors are not highlighted in red :P
It is a good news.

Quote
Also i have ran into another problem. Now when double click on a tab, it never switches to the minimal prespective view. Have to go to the view tab and do that manually. Thats annoying!
What do you mean by "minimal perspective"? I can't catch your idea.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.