Bug #823
CMake compilation: exv_conf.h at the wrong place
0%
Description
I compiled the code with CMake, and when I include "exiv2.hpp" in my source file I got an error message that the line "#include "exv_conf.h"" in types.hpp failed.
I looked at it and could find the cmake-generated exv_conf.h one folder ahead of src (types.hpp is in src and exv_conf.h is at the same level as src)
I do not know if this is an actual bug or if somehow I did a mistake somewhere in my Cmake configuration.
Best regards,
Sébastien Gilles
Related issues
History
Updated by Sebastien Gilles over 9 years ago
Never mind this one: it was because I used my own CMakeLists in another folder to call yours. Calling yours directly doesn't yield the problem; I'll have to figure out which variable is not correctly defined in the call (I'm pretty novice with Cmake)
Sorry for the inconvenience; however issue #822 remains fully relevant
Updated by Sebastien Gilles over 9 years ago
No, finally this issue is valid: the compilation goes well when CmakeLists.txt from the root directory is used, but exv_conf.h is one level ahead of src, whereas several header files in src assumes it is also in src directory
Updated by Robin Mills almost 9 years ago
- Status changed from Assigned to Resolved
I believe this is the same issue as this: http://dev.exiv2.org/issues/849 So, I'm going to mark this resolved.
Updated by Robin Mills over 8 years ago
- Status changed from Resolved to Closed
- Target version set to 0.24
Fixed in 0.24.