Rockbox Development > Starting Development and Compiling

[FIXED]Can't Compile on 5G SVN due to alarm_menu.c?

<< < (2/2)

linuxstb:
How did you checkout the source from SVN?  Did you use the command-line "svn" from within cygwin, or a GUI SVN program, such as tortoisesvn?

apps/alarm_menu.c is suspiciously early in the alphabet, which makes me think it's the first file using language strings that fails.  One problem could be that you've checked out the source code using Windows-style line endings (i.e. CR and LF), whereas your cygwin install is configured to use Unix-style line endings (i.e. just LF).  This can cause strange things to happen.

Thecoolgman:
I used Tortoise SVN and used this tutorial in the wiki: http://www.rockbox.org/twiki/bin/view/Main/UsingCygwinAndTortoiseSVN

linuxstb:

--- Quote from: Thecoolgman on August 14, 2009, 04:03:40 AM ---I used Tortoise SVN and used this tutorial in the wiki: http://www.rockbox.org/twiki/bin/view/Main/UsingCygwinAndTortoiseSVN

--- End quote ---

So your cygwin is definitely configured to use DOS (CR+LF) line endings?

I'm not sure how you can check, but maybe just typing "echo > a.txt" will tell you.  If the resulting a.txt file is 1 byte in size, then you're still using Unix line-endings, if it's two bytes, then it's correctly configured with CR+LF.

gevaerts:
Please verify that your build directory is entirely empty before you run configure

Thecoolgman:

--- Quote ---So your cygwin is definitely configured to use DOS (CR+LF) line endings?

I'm not sure how you can check, but maybe just typing "echo > a.txt" will tell you.  If the resulting a.txt file is 1 byte in size, then you're still using Unix line-endings, if it's two bytes, then it's correctly configured with CR+LF.

--- End quote ---

I think I found the problem. It came out 1 KB like you said. Should I just Delete my Cygwin Folder and instal again using CR+LF?

Navigation

[0] Message Index

[*] Previous page

Go to full version