0
\$\begingroup\$

enter image description here

Initially i gave the path of the stb_image.h & stb_image.c file location C/C++ include directories as adding the header file directly to the project was not working.

\$\endgroup\$
  • \$\begingroup\$ Does this question and answer fix your problem? \$\endgroup\$ – user1118321 Apr 2 at 4:29
  • 1
    \$\begingroup\$ Include your errors as text, not as images. This keeps the exact error message searchable, and accessible for users using screen readers. \$\endgroup\$ – DMGregory Apr 2 at 4:29
  • \$\begingroup\$ hey @user1118321 i have done that already yet i get the same error, the weird part is when i try load the stb_image.h file -> add as an existing item i get this error "cannot open source file stb_image.h" at this step #include <stb_image.h> and i made sure i had the #define STB_IMAGE_IMPLEMENTATION. \$\endgroup\$ – Mani Kiran Apr 2 at 4:45
  • \$\begingroup\$ solved it apparently adding the header file to the VC++ include directory solves the issue. Phew thanks guyz. \$\endgroup\$ – Mani Kiran Apr 2 at 5:00
  • \$\begingroup\$ Publish an answer to your question with the solution and accept it \$\endgroup\$ – Bálint Apr 2 at 7:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.