NO

Author Topic: IDE cannot show source file  (Read 5642 times)

Ran

  • Guest
IDE cannot show source file
« on: September 12, 2012, 09:27:43 AM »
Hello,

When I'm working in the IDE I have 14 source files.
When I build all the sources build and give errors.... ok
But a lot of the source (.c) do not show up in the IDE clicking
the errors or clicking on the source file in the source files menu
on the right.
So they are prensent  but I cannot change 6 of the 14 source files
because they do not show up in the IDE.

Why ???
Greetings,
Ran

CommonTater

  • Guest
Re: IDE cannot show source file
« Reply #1 on: September 12, 2012, 02:45:07 PM »
What OS are you running and how much memory do you have?

On some 32 bit systems you can only open 6 or 7 files at a time. 
So you may need to close some of the files in order to open others.






Ran

  • Guest
Re: IDE cannot show source file
« Reply #2 on: September 12, 2012, 03:24:23 PM »
Hoh, I did not know that, I'm working under Wine in Ubuntu and
Wine has not much memory as I recall.
Visual C++ did work without any problems (just some but not memory related)
And did not know if Pelle's C would work in Wine but it does.
Just did try a small program and compiling, executing was ok.
So I thought.... never mind, I could always try to make fewer but
bigger files and put functions together.

Thanks for the info,
Greetings,
Ran
« Last Edit: September 12, 2012, 03:26:03 PM by Ran »

CommonTater

  • Guest
Re: IDE cannot show source file
« Reply #3 on: September 12, 2012, 04:02:10 PM »
Hoh, I did not know that, I'm working under Wine in Ubuntu and
Wine has not much memory as I recall.
Visual C++ did work without any problems (just some but not memory related)
And did not know if Pelle's C would work in Wine but it does.
Just did try a small program and compiling, executing was ok.
So I thought.... never mind, I could always try to make fewer but
bigger files and put functions together.

Thanks for the info,
Greetings,
Ran

That might work, but keep in mind that you're still using about the same amount of memory.

Also if you are building static link libraries POLINK does not support smart linking.  It's minimum blob size is one object. Each source file compiles to one object. So each independent function in the library needs to be in it's own source file.  Unless you want to be linking dormant code into your applications, you need to split things up. Of course this could mean some library projects have hundreds of sources.

Your better bet is to get used to the limit on the number of open files and get in the habit of only opening the ones you need open at the moment.  That is... when you're done editing, right click the file's tab and close it.

What version of PellesC are you using?


Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 775
Re: IDE cannot show source file
« Reply #4 on: September 13, 2012, 02:23:24 AM »
What OS are you running and how much memory do you have?

On some 32 bit systems you can only open 6 or 7 files at a time. 
So you may need to close some of the files in order to open others.
On what 32bit systems would that be?  ???

Ralf

CommonTater

  • Guest
Re: IDE cannot show source file
« Reply #5 on: September 13, 2012, 02:28:17 AM »
What OS are you running and how much memory do you have?

On some 32 bit systems you can only open 6 or 7 files at a time. 
So you may need to close some of the files in order to open others.
On what 32bit systems would that be?  ???

Ralf

I ran into it with xp32/2gb ram ... POIDE would only let me open 6 files at a time.  Especially annoying since I was working on a library with a couple of dozen sources.  Apparently the problem has been around since PC Ver 5.0 and, if memory serves, there have been bug reports about it. 
 
The 64bit POIDE does not have this limitation.



 
« Last Edit: September 13, 2012, 02:33:05 AM by CommonTater »

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 775
Re: IDE cannot show source file
« Reply #6 on: September 13, 2012, 09:22:03 AM »
What OS are you running and how much memory do you have?

On some 32 bit systems you can only open 6 or 7 files at a time. 
So you may need to close some of the files in order to open others.
On what 32bit systems would that be?  ???

Ralf

I ran into it with xp32/2gb ram ... POIDE would only let me open 6 files at a time.  Especially annoying since I was working on a library with a couple of dozen sources.  Apparently the problem has been around since PC Ver 5.0 and, if memory serves, there have been bug reports about it. 
 
The 64bit POIDE does not have this limitation.
When you mentioned this alleged limitation a while ago (2 years now?), I was running and testing it on my old AlienWare laptop, a 1.4MHZ P4Mobile with 768MB of RAM, running Windows XPProSp3 and did not have any such restrictions...

Ralf

CommonTater

  • Guest
Re: IDE cannot show source file
« Reply #7 on: September 13, 2012, 12:06:19 PM »
When you mentioned this alleged limitation a while ago (2 years now?), I was running and testing it on my old AlienWare laptop, a 1.4MHZ P4Mobile with 768MB of RAM, running Windows XPProSp3 and did not have any such restrictions...

Hi Ralf....

I don't know what to tell you... I did have the problem and the OP described it to a T...
If memory servers there was some kind of fix for it... but I don't remember what it was.


Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2154
Re: IDE cannot show source file
« Reply #8 on: September 13, 2012, 12:49:21 PM »
I don't know what to tell you... I did have the problem and the OP described it to a T...
If memory servers there was some kind of fix for it... but I don't remember what it was.
http://forum.pellesc.de/index.php?topic=4527.msg17057#msg17057
MaxFileSize in register or xml-file.
But maybe that don't help that ubuntu/wine problem...
May the source be with you

CommonTater

  • Guest
Re: IDE cannot show source file
« Reply #9 on: September 13, 2012, 07:59:27 PM »
I don't know what to tell you... I did have the problem and the OP described it to a T...
If memory servers there was some kind of fix for it... but I don't remember what it was.
http://forum.pellesc.de/index.php?topic=4527.msg17057#msg17057
MaxFileSize in register or xml-file.
But maybe that don't help that ubuntu/wine problem...

Thank you Timo  :D  ... I took a quick look but didn't find it.