User forums > Help

The code doesn't appear

(1/1)

Leo.J90:
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

Michael:

--- Quote from: X.Cyclop 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. :?

--- End quote ---

May be it is a character encoding problem. Check if you use in Linux the same encoding as in Windows.

Best wishes,
Michael

Leo.J90:
Ok. I'll do it.

Thanks! :wink:
Sorry. Where can i check it?

takeshimiya:

--- Quote from: X.Cyclop on May 05, 2006, 01:41:07 am ---Sorry. Where can i check it?

--- End quote ---
Settings->Editor->Default encoding when opening files.
Assuming you're using a nightly build ;)

Navigation

[0] Message Index

Go to full version