Click here to Skip to main content

C / C++ / MFC

   

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
GeneralRe: please send explaination PinmvpLuc Pattyn13:12 23 Feb '12  
GeneralRe: please send explaination PinmvpCPallini21:53 23 Feb '12  
AnswerRe: please send explaination PinmemberChris Losinger1:27 23 Feb '12  
AnswerRe: please send explaination PinmemberJohnNawrocki2:08 23 Feb '12  
GeneralRe: please send explaination PinmvpRichard MacCutchan2:36 23 Feb '12  
AnswerRe: please send explaination PinmemberVuNic3:56 23 Feb '12  
QuestionNMAKE can't find include file in subfolder -- SOLVED [modified] PinmemberAlan Balkany11:50 22 Feb '12  
Using Microsoft's NMAKE with -I option for include paths. It works for the include files in these folders, but can't seem to find one in a named subfolder:
 
Here's the resulting command & error message:
 
cl /nologo /Ox /MD /EHsc /W3 /D_CRT_SECURE_NO_DEPRECATE -I "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\sys"; -I. "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\sys" "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include" "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include" -DAVOID_WIN32_FILEIO -DCHECK_JPEG_YCBCR_SUBSAMPLING -DDEFAULT_EXTRASAMPLE_AS_ALPHA -DSTRIPCHOP_DEFAULT=TIFF_STRIPCHOP -DSTRIP_SIZE_DEFAULT=8192 -DLOGLUV_SUPPORT -DNEXT_SUPPORT -DTHUNDER_SUPPORT -DLZW_SUPPORT -DPACKBITS_SUPPORT -DCCITT_SUPPORT -DTIF_PLATFORM_CONSOLE -DFILLODER_LSB2MSB /c tif_unix.c tif_unix.c tif_unix.c(35) : fatal error C1083: Cannot open include file: 'sys/types.h': No such file or directory
 
Two things to note:
 
1. The "missing" file, "types.h", IS in the "sys" subfolder of one of the include paths, so "sys/types.h" should have been found, and
 
2. The "sys" subfolder was also included (out of desperation) and types.h STILL wasn't found.
 
Any ideas why this include file can't be found?
"Microsoft -- Adding unnecessary complexity to your work since 1987!"


modified 24 Feb '12.

AnswerRe: NMAKE can't find include file in subfolder PinmemberDavidCrow16:48 22 Feb '12  
GeneralRe: NMAKE can't find include file in subfolder PinmemberAlan Balkany5:45 24 Feb '12  
GeneralRe: NMAKE can't find include file in subfolder PinmemberDavidCrow5:56 24 Feb '12  
QuestionRe: NMAKE can't find include file in subfolder PinmvpCPallini22:45 22 Feb '12  
AnswerRe: NMAKE can't find include file in subfolder PinmvpRichard MacCutchan23:01 22 Feb '12  
AnswerRe: NMAKE can't find include file in subfolder PinmvpRichard MacCutchan22:59 22 Feb '12  
GeneralRe: NMAKE can't find include file in subfolder PinmemberAlan Balkany5:35 24 Feb '12  
GeneralRe: NMAKE can't find include file in subfolder PinmvpRichard MacCutchan6:12 24 Feb '12  
AnswerRe: NMAKE can't find include file in subfolder Pinmemberbjorn_ht23:35 22 Feb '12  
GeneralRe: NMAKE can't find include file in subfolder PinmvpRichard MacCutchan2:38 23 Feb '12  
GeneralRe: NMAKE can't find include file in subfolder Pinmemberbjorn_ht5:15 23 Feb '12  
GeneralRe: NMAKE can't find include file in subfolder PinmvpRichard MacCutchan6:24 23 Feb '12  
GeneralRe: NMAKE can't find include file in subfolder Pinmemberbjorn_ht9:44 23 Feb '12  
GeneralRe: NMAKE can't find include file in subfolder PinmemberAlan Balkany5:37 24 Feb '12  
Questions it safe to pass CComVariant declared locally ot other function Pinmemberptr_Electron3:55 22 Feb '12  
AnswerRe: s it safe to pass CComVariant declared locally ot other function PinmemberJochen Arndt4:39 22 Feb '12  
QuestionHow to check CComVariant.boolval is valid and extract bool value from it Pinmemberptr_Electron3:51 22 Feb '12  
AnswerRe: How to check CComVariant.boolval is valid and extract bool value from it Pinmemberbjorn_ht4:44 22 Feb '12  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Beta | 2.5.120517.1 | Last Updated 23 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid