none
Open include file header in Visual Studio 2015 RRS feed

  • Question

  • I have a Windows 7 PC with Visual Studio 2015 upgrade 3 installed on it and I would like to install a library for Python with pip.
    When I run pip command with administrative rights it often return this error: fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory

    How to include header in pip command?

    Thursday, May 25, 2017 3:03 PM

All replies

  • In the project's properties go to "VC++ Directories" and add the directory with the include files to the "Include Directories". Be sure that "All Configurations" is selected in the "Configuration" box; it is the default but it was not the default in previous versions of VS.

    If that does not help then I misunderstand the question.



    Sam Hobbs
    SimpleSamples.Info

    Thursday, May 25, 2017 9:45 PM
  • Hi Michele Cir,

    Welcome to the MSDN forum.

    Refer to your description, you issue is about the Python development. Since our forum is to discuss the VS IDE, please redirect to this appropriate forum: https://github.com/Microsoft/PTVS/issues and start a new thread to seek for a more professional support, thank you for your understanding.

    BTW, please make sure you already upgrade pip to the latest version, or run the command: pip install --upgrade pip command to check it.

    Best regards,

    Sara


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, May 26, 2017 5:24 AM
  • Hi Sara,
    yes pip is updated to the last version (9.0.1). Anyway I will forward the question to the PTVS community. 

    Thanks

    Hi Sam,
    as you can see in screenshot below in project's properties there isn't "VC++ Directories": are you using Visual Studio 2015?

    Friday, May 26, 2017 9:02 AM

  • Thanks

    Hi Sam,
    as you can see in screenshot below in project's properties there isn't "VC++ Directories": are you using Visual Studio 2015?

    I probably misunderstood. Since you are asking about an include file I assumed it is a VC++ project. For a VC++ project the version of VS does not matter; I think "VC++ Directories" applies to all versions of VS.


    Sam Hobbs
    SimpleSamples.Info

    Saturday, May 27, 2017 3:27 AM