Windows path conventions and CMake

Topics about the general development of Orxonox.

Moderator: PPS-Leaders

Post Reply
User avatar
1337
Baron Vladimir Harkonnen
Posts: 521
Joined: Wed Oct 10, 2007 7:59 am

Windows path conventions and CMake

Post by 1337 » Wed Jan 21, 2009 8:39 pm

This is not really a bug, but nevertheless I would like to share this knowledge with you:
Windows allows semicolons (";") to be used in paths and filenames. At the same time CMake uses semicolons to store lists in strings...
Bottom line is that you cannot run CMake with a semicolon in any of your relevant paths.

So when you encounter strange problems with CMake on a Windows box, be aware...
http://www.xkcd.com/
A webcomic of romance, sarcasm, math, and language.

User avatar
x3n
Baron Vladimir Harkonnen
Posts: 810
Joined: Mon Oct 30, 2006 5:40 pm
Contact:

Post by x3n » Thu Jan 22, 2009 12:58 pm

Thanks for the note


Btw, Unix allows = in filenames, Windows doesn't (there may be more such symbols). With TortoiseSVN (and probably with other clients too) it's not even possible to do a full checkout if one file contains such a symbol, it just stops with an error at this file. I've encountered this problem in another project.
Fabian 'x3n' Landau, Orxonox developer

User avatar
1337
Baron Vladimir Harkonnen
Posts: 521
Joined: Wed Oct 10, 2007 7:59 am

Post by 1337 » Thu Jan 22, 2009 3:00 pm

Oh, that's really no so good for windows users...
Thanks a lot for the hint anyway.

I once had to recheckout the media repository because a file was renamed, but only one lower case letter was changed to upper case. Later on, the same situation occurred, but didn't raise problems though..
http://www.xkcd.com/
A webcomic of romance, sarcasm, math, and language.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests