can't find limits.h

Bug #762266 reported by todd welti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libfreespace
In Progress
Undecided
Merrill Roller

Bug Description

I'm trying to compile the libfreespace examples. I believe I am up to date on lates version etc. I am a bit of a noob with VS, but here goes. I tried to compile the examples having only downloaded the libfreespace (LFS) library (not the source code). That didn't seem to work, so I downoaded the LFS library source. I tried to build the examples, and I believe it is first trying to build LFS library. it is finding source for the LFS library, but generating the error:

Error 2 fatal error C1083: Cannot open include file: 'limits.h': No such file or directory c:\documents and settings\twelti\my documents\visual studio 2005\projects\libfreespaceproj\libfreespace\include\freespace\win32_stdint.h 42

I searched and could not find the file in any directories I have downloaded. It is also generating an error about "can't find libfreespaced.lib". I assume that is because it can't build the library, due to the first error in wind32_stdint.h, mentioned above.

Any help is appreciated.

Revision history for this message
todd welti (twelti) wrote :

also noticed htat when I try to open examples.sln, it says it cant find setup.vcproj

Revision history for this message
Merrill Roller (merrill-roller) wrote :

-- Copied from an email I had with Todd directly --

Limits.h is a standard header file for C, so it should have been installed when you installed VS. You can check to see if it is there by looking in the include folder for Visual Studio. It should be somewhere similar to the following:

C:\Program Files\Microsoft Visual Studio 8\VC\include\

If it is not there then you might want to uninstall and reinstall Visual Studio and see if that fixes the problem.

-------

I'll also look into the setup.vcproj, thanks.

Changed in libfreespace:
status: New → In Progress
assignee: nobody → Merrill Roller (merrill-roller)
Revision history for this message
Merrill Roller (merrill-roller) wrote :

Reported workaround as follows:

C:\WinDDK\7600.16385.1\inc\crt;C:\WinDDK\7600.16385.1\inc\api

in the General>"Additional Include Directories" for building libfreespace, as the lib does not like the includes from the VS 9.0 CRT directories.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.