Author Topic: The 22 October 2007 build (4551) is out.  (Read 35455 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 22 October 2007 build (4551) is out.
« Reply #15 on: October 23, 2007, 10:36:06 am »
ok, but don't laugh at my horrible beginners code  :mrgreen:
Don't you worry... ;-)

Anyway: I'm sorry to say this, but for me the project opens just fine...?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #16 on: October 23, 2007, 10:36:23 am »
ok, but don't laugh at my horrible beginners code  :mrgreen:

Fixed in revision 4553. Thanks a lot for pointing this and providing the source. :)

PS: Sorry CC. You're not the culprit. ;)
« Last Edit: October 23, 2007, 10:47:53 am by Biplab »
Be a part of the solution, not a part of the problem.

Offline frithjofh

  • Regular
  • ***
  • Posts: 376
Re: The 22 October 2007 build (4551) is out.
« Reply #17 on: October 23, 2007, 11:16:31 am »
well, do I have to change anything in my code then ...?  :D
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #18 on: October 23, 2007, 12:44:32 pm »
well, do I have to change anything in my code then ...?  :D

No, you don't need to make any change to your code. :)
Be a part of the solution, not a part of the problem.

Offline morgan

  • Single posting newcomer
  • *
  • Posts: 9
Character encoding problem ?
« Reply #19 on: October 23, 2007, 03:46:36 pm »
Hello everyone,

Linux' CB-4551 seems to store files in UTF-8, though it is configured to use another codepage. Can anybody confirm this ?

(I work on debian Etch and i need CP1252 because of a XP/Vista/Linux development environment behind subversion)

When I edit a file, after saving, file tells me that it is UTF-8 :

   morgan@morgan-desktop:~/src/eventManager$ file tMessage.h
   tMessage.h: UTF-8 Unicode C program text
   morgan@morgan-desktop:~/src/eventManager$

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Character encoding problem ?
« Reply #20 on: October 23, 2007, 04:27:06 pm »
Linux' CB-4551 seems to store files in UTF-8, though it is configured to use another codepage. Can anybody confirm this ?

I made a change in rev 4553 which would fix such problem. But still one issue remains. The fallback code uses ISO-8859-1 encoding. So even if you set the code page to CP1252, C::B won't be able to detect it on Linux as the detection code is missing.
Be a part of the solution, not a part of the problem.

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: The 22 October 2007 build (4551) is out.
« Reply #21 on: October 23, 2007, 06:15:28 pm »
rev4554 doesn't compile for me (Did svn cleanup + ./bootstrap + make clean + ./configure --with-contrib-plugins=all + make + make install)
Code
Making install in projectsimporter
make[4]: Betrete Verzeichnis '/home/darthdespotism/dev/CB/src/plugins/projectsimporter'
Making install in resources
make[5]: Betrete Verzeichnis '/home/darthdespotism/dev/CB/src/plugins/projectsimporter/resources'
Makefile:282: *** Rekursive Variable »PWD« referenziert sich (schließlich) selbst.  Schluss.
make[5]: Verlasse Verzeichnis '/home/darthdespotism/dev/CB/src/plugins/projectsimporter/resources'
make[4]: *** [install-recursive] Fehler 1
make[4]: Verlasse Verzeichnis '/home/darthdespotism/dev/CB/src/plugins/projectsimporter'
make[3]: *** [install-recursive] Fehler 1
make[3]: Verlasse Verzeichnis '/home/darthdespotism/dev/CB/src/plugins'
make[2]: *** [install-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/darthdespotism/dev/CB/src'
make[1]: *** [install-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/darthdespotism/dev/CB'
make: *** [install] Fehler 2
g++ 4.1.2-0ubuntu4
Ubuntu 7.04
wxWidget 2.8.4
« Last Edit: October 23, 2007, 06:18:48 pm by darthdespotism »

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #22 on: October 23, 2007, 06:37:32 pm »
rev4554 doesn't compile for me (Did svn cleanup + ./bootstrap + make clean + ./configure --with-contrib-plugins=all + make + make install)

Should work now. Can you please confirm? My Linux box can't access svn atm. :)
Be a part of the solution, not a part of the problem.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 22 October 2007 build (4551) is out.
« Reply #23 on: October 23, 2007, 07:47:50 pm »
Still does not compile in svn 4555.
Same error (selfreferencing "PWD") . Now it's line 409.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #24 on: October 23, 2007, 08:02:36 pm »
Still does not compile in svn 4555.
Same error (selfreferencing "PWD") . Now it's line 409.

Confirmed. But I don't understand why it fails whereas similar code works for other targets?? :(
Be a part of the solution, not a part of the problem.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 22 October 2007 build (4551) is out.
« Reply #25 on: October 23, 2007, 08:37:17 pm »
confirmed.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 22 October 2007 build (4551) is out.
« Reply #26 on: October 24, 2007, 12:07:39 am »
Hi Biplap,

I changed the "Makefile.am" in "src/plugins/projectsimporter/resources/" to:
Code
EXTRA_DIST = project_import_menu.xrc  manifest.xml

pkgdata_DATA = projectsimporter.zip
CLEANFILES = $(pkgdata_DATA)

projectsimporter.zip: $(EXTRA_DIST)
        PWD=`pwd` cd $(srcdir) && zip $(PWD)/projectsimporter.zip manifest.xml *.xrc > /dev/null

This solved the problem for me.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #27 on: October 24, 2007, 06:50:18 am »
I changed the "Makefile.am" in "src/plugins/projectsimporter/resources/" to:
Code
EXTRA_DIST = project_import_menu.xrc  manifest.xml

pkgdata_DATA = projectsimporter.zip
CLEANFILES = $(pkgdata_DATA)

projectsimporter.zip: $(EXTRA_DIST)
        PWD=`pwd` cd $(srcdir) && zip $(PWD)/projectsimporter.zip manifest.xml *.xrc > /dev/null

This solved the problem for me.

Thanks for the info. It's now fixed in SVN. :)

I had made two stupid mistakes which caused this problems. :evil:
1) Unfortunately the "Tab" character in Makefile.am file was replaced by Space character which is not allowed.
2) The line ending got changed to CR-LF style as I edited that on Windows.

My apologies for the inconvenience caused. :oops:
Be a part of the solution, not a part of the problem.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 22 October 2007 build (4551) is out.
« Reply #28 on: October 24, 2007, 08:03:45 am »
where before it failed for me during make install, now it fails in make  :shock:

Should it do a make clean first ? [Can try this the earliest this evening, but can also check on my linuxbox at work, in 45 minutes ;-)]


EDIT : linuxbox at work : ok
« Last Edit: October 24, 2007, 09:09:43 am by killerbot »

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #29 on: October 24, 2007, 08:38:35 am »
where before it failed for me during make install, now it fails in make  :shock:

Should it do a make clean first ? [Can try this the earliest this evening, but can also check on my linuxbox at work, in 4 minutes ;-)]

Try deleting the Makefile.in and Makefile (of src/plugins/projectimporter/resource dir) and then doing a ./bootstrap and ./configure
« Last Edit: October 24, 2007, 08:52:04 am by Biplab »
Be a part of the solution, not a part of the problem.