NO

Author Topic: iprtrmib.h missing?  (Read 3531 times)

core

  • Guest
iprtrmib.h missing?
« on: May 22, 2009, 06:01:58 PM »
Hi there.   This is my very first day using Pelles C so I hesitate to call this a "bug report", but here goes:

If you #include <iphlpapi.h>, that attempts to pull in iprtrmib.h, which is not present.  (Actually none of my compilers and associated SDKs have this file either.)

This is for both 5.0 and 6.0 straight out-of-the-box.  I haven't started monkeying with downloading new SDKs and such as I'm not sure that would be the wisest thing to do at this point being brand new to the compiler and not knowing anything about it. 

I can understand certain APIs not being there in the first place, sure.  But if a header is right there in the fresh install should I not be able to #include it?

This is the 32 bit version of Pelles C, and I've got it installed on an XP box if it matters.

The code and project I'm trying to compile was a completed app from a year or so ago, so obviously it worked for the programmer that was here before me, and it must have been version 5.0.

What would be the recommended (non-kludgey) way to get this working?

Thanks!
-core

core

  • Guest
Re: iprtrmib.h missing?
« Reply #1 on: May 22, 2009, 09:43:42 PM »
Ok I found a 4.5 version of the compiler out there floating around, and it builds the project fine.

If anyone has a suggestion/explanation I'd still love to hear it though.  I'd rather not be using an unsupported version as it seems the only way to get 4.5 now is via untrusted download sites.

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2113
Re: iprtrmib.h missing?
« Reply #2 on: May 23, 2009, 06:23:31 AM »
Maybe, because is a very rarely used, has been simply forget to include in the package.
If you google for "iprtrmib.h" you can find a lot of copies of this include file. If you could test if they works you may give help to solve the issue in the actual release.
Pelle is working very hard to make new powerful versions of the compiler sharing his work for free, so some help it's appreciated.
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

lamer

  • Guest
Re: iprtrmib.h missing?
« Reply #3 on: June 12, 2009, 11:16:11 AM »
Hi,
I have the same problem:
iprtrmib.h is in CE folder, so there is no need to search for it in the web.
Instead of "WinCE" I get the following error message when trying to compile:
C:\Program Files\PellesC\Include\Win\Iphlpapi.h(18): fatal error #1035: Can't find include file <iprtrmib.h>.
Why "Win"?
I tried to reinstall PellesC and left the checkbox of PocketPC installation unchecked - then the file "iprtrmib.h" does go to ...PellesC\Include\Win, but the problem is not solved, instead of one I get multiple error messages on compilation.
Deinstallations and installations do nothing, the problem remains.
Everything was perfectly with version 4.5
I haven't tried version 6 yet, but to all appearances the bug is still there.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: iprtrmib.h missing?
« Reply #4 on: June 16, 2009, 08:40:07 PM »
I will look at it - iprtrmib.h will be added for version 6.0 if it's easy (otherwise not, maybe later). The WinCE version is most likely different from the desktop version, so probably not very useful...
/Pelle