Code::Blocks Forums
User forums => Help => Topic started by: Leo.J90 on May 04, 2006, 07:04:02 pm
-
I copied all CB files from Windows to Linux, and when i try to open and change any main.c the code doesn't appear, main.c apperas as empty. But, if i open it with Kate the code appears. :?
When i compile it, it makes 5 folders as if I'd be on Windows. For example:
I have:
/Functions/ <--- folder
main.c
Functions.cbp
Functions.layout
And when i compile it, it makes: C:/Documents and Settings/Leo/My Documents/Exercises/Functions/Functions.exe
So i have: /home/leo/Documents/Exercises/Functions/C:/Documents and Settings/Leo/My Documents/Exercises/Functions/Functions.exe
-
I copied all CB files from Windows to Linux, and when i try to open and change any main.c the code doesn't appear, main.c apperas as empty. But, if i open it with Kate the code appears. :?
May be it is a character encoding problem. Check if you use in Linux the same encoding as in Windows.
Best wishes,
Michael
-
Ok. I'll do it.
Thanks! :wink:
Sorry. Where can i check it?
-
Sorry. Where can i check it?
Settings->Editor->Default encoding when opening files.
Assuming you're using a nightly build ;)