News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 22 October 2007 build (4551) is out.

Started by killerbot, October 22, 2007, 08:11:52 PM

Previous topic - Next topic

MortenMacFly

Quote from: nausea on October 23, 2007, 09:25:23 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: [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]

Biplab

#16
Quote from: nausea on October 23, 2007, 09:25: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. ;)
Be a part of the solution, not a part of the problem.

frithjofh

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

Biplab

Quote from: nausea on October 23, 2007, 11:16:31 AM
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.

morgan

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$

Biplab

Quote from: morgan on October 23, 2007, 03:46:36 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.

darthdespotism

#21
rev4554 doesn't compile for me (Did svn cleanup + ./bootstrap + make clean + ./configure --with-contrib-plugins=all + make + make install)

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

Biplab

Quote from: darthdespotism 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)

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.

Jenna

Still does not compile in svn 4555.
Same error (selfreferencing "PWD") . Now it's line 409.

Biplab

Quote from: jens on October 23, 2007, 07:47:50 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.

killerbot


Jenna

Hi Biplap,

I changed the "Makefile.am" in "src/plugins/projectsimporter/resources/" to:

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.

Biplab

Quote from: jens on October 24, 2007, 12:07:39 AM
I changed the "Makefile.am" in "src/plugins/projectsimporter/resources/" to:

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.

killerbot

#28
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

Biplab

#29
Quote from: killerbot 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 4 minutes ;-)]

Try deleting the Makefile.in and Makefile (of src/plugins/projectimporter/resource dir) and then doing a ./bootstrap and ./configure
Be a part of the solution, not a part of the problem.