He estado en esta situación bastantes veces donde visual studio no respeta el Directorios de inclusión adicionales cuando se trata de lib
y header source files
. Por ejemplo, acabo de descargar el código fuente MyGUI y me aseguré de que los directorios de inclusión fueran correctos. Incluso los puse en caminos absolutos, Visual Studio todavía se quejaba de que no podía encontrar archivos de encabezado específicos.Visual Studio no cumple con los directorios de inclusión
¿Alguien experimentar lo mismo con los proyectos, y si es así, ¿hay una solución a este problema? Cita en bloque
EDIT: My apologies for not being able to explain fully. I know that the library and source files have different include directories. The project that I received had correct directory paths for the Additional Include Directories and Additional Library Directories but Visual Studio still failed to recognize them properly. I can right click and open the header file within Visual Studio but when compiling it still complains it cannot find the required header files. I regularly make projects relying on a framework I myself programmed, so I am quite familiar with how to set up dependencies. This is however the second time this seems to be happening. I don't recall which 3rd party project I was trying to compile last time, but Visual Studio simply refused to believe that the
Additional Include Directories
paths is where it should look for the header files. I am not sure how to give the complete details of this particular library (MyGUI) but I can point you to the website where you can download it to try and see if it is able to find the header files that are included in the project (if it doesn't compile, that is fine, and it is probably because of additional dependencies, but it should at least be able to find files in the common folder, especially when I put absolute paths in Additional Include Directories)
Nunca he sido (desde la versión 6) incapaz de configurar correctamente Visual Studio para aceptar archivos de cabecera y/o biblioteca. Publique la estructura de directorios de su biblioteca y cómo configura su proyecto en Visual Studio. –