User forums > Using Code::Blocks
When I open some source files they open as an empty file... Please Help.
Aaragus:
I have been searching for a good program to use in Linux, I have only been using C::B for 2 days now but I am very satisfied with it. But I am having a problem that makes debugging impossible. Many source files I try to open don't load the content of the file. Is this some sort of a setup problem or could it be my source files? The source files were created in Context, I used to create the source in windows and compile it with gcc in a linux shell. As I said, some of my source files open without a problem, but others do not. Any ideas or help would be greatly appreciated, this problem is frustrating me and I can't think of a solution. :(
mandrav:
http://forums.codeblocks.org/index.php?topic=1673.0
Aaragus:
I read a lot and searched even more before I had written my original post. Yet still I haven't found a solution or indication of what I can do to open these .c files that don't open. I am using Debian Linux with C::B Build Dec. 12 2005, 16:33:17 - wx2.6.1 (Linux, unicode). I don't think that this is a problem with C::B because I can open some .c files, but the others open empty. Is there anything specific that would make a file not open? Thanks in advance anyone who can help me. :D
280Z28:
--- Quote from: Aaragus on January 03, 2006, 06:58:55 pm ---I read a lot and searched even more before I had written my original post. Yet still I haven't found a solution or indication of what I can do to open these .c files that don't open. I am using Debian Linux with C::B Build Dec. 12 2005, 16:33:17 - wx2.6.1 (Linux, unicode). I don't think that this is a problem with C::B because I can open some .c files, but the others open empty. Is there anything specific that would make a file not open? Thanks in advance anyone who can help me. :D
--- End quote ---
Apply the patch in this thread to C::B svn revision 1651. :)
http://forums.codeblocks.org/index.php?topic=1833.0
mauser:
Are the files you can't open in plain english. look at difference between the files you can open and the ones you can't. are they in the same encoding.
Navigation
[0] Message Index
[#] Next page
Go to full version