Author Topic: Codeblocks gets stuck when building a project inside a unicode named folder  (Read 6970 times)

Offline Lefteris

  • Multiple posting newcomer
  • *
  • Posts: 14
Hello all,

The title says it all. I was writting a simple program of mine and it was starting to build but nothing was happening. Which was pretty odd and got me thinking something was wrong in the project properties. But then I noticed that I had the .cbp project file inside a folder with unicode characters on the folder's name (Japanese to be precise). By changing the name to English only everything worked perfectly. So I would like to ask if this is a known problem or if my deduction was incorrect and something else was the cause after all.

Thanks in advance!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
cb version?
os version?
compiler version?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Lefteris

  • Multiple posting newcomer
  • *
  • Posts: 14
Yes, sorry :)

Codeblocks 8.02
Windows 7 Ultimate Edition
compiler: gcc (the one that came with codeblocks 8.02)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
That gcc is believed to be broken on Vista/win7
Try to update (you could go for the TDM 4.4.x release)
But it might turn out as a gcc/mingw problem.
Also don't use path with spaces.

Morten, Jens, the other devs: Is it possible to show a warning if the user is using a dangerous path (one with spaces, non english characters)?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

tobeythorn

  • Guest
I want to report the same problem. Building using gcc compiler causes Code::Blocks to crash if the path to my project includes Japanese characters. If I change the path in English everything works fine.

My system is also running
Code::Blocks 8.02 on Windows 7 ultimate.

 

Offline Lefteris

  • Multiple posting newcomer
  • *
  • Posts: 14
Hello again.

I tried another unicode language (greek) and the same thing happened.

oBFusCATed I downloaded this TDM release of MinGW and used it as the compiler for the project inside the unicode named folder. Unfortunately the same thing happens so that does not seem to explain it.

Incidentally, I would like to ask another question. Unless you mentioned it I would have never known that the gcc that comes with that particular version of codeblocks is broken at vista/7. Everything is okay for me. Either way I now switched to the MinGW release by TDM. Since you suggested it would you happen to know what are the benefits compared to the normal MinGW? I read in a blog that it is a "fork" of the MinGW project set to release new versions faster and sooner. Is that true?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Yes, you get the latest gcc very fast, also the installation seems easier.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]