Project

General

Profile

Bug #823

CMake compilation: exv_conf.h at the wrong place

Added by Sebastien Gilles over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
build
Target version:
Start date:
27 Apr 2012
Due date:
% Done:

0%

Estimated time:

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

Related to Exiv2 - Feature #536: Switch to a unified build system based on cmakeClosed

Actions

History

#1

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

#2

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

#3

Updated by Robin Mills over 9 years ago

  • Assignee set to Robin Mills
#4

Updated by Robin Mills over 9 years ago

  • Status changed from New to Assigned
#5

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.

#6

Updated by Robin Mills over 8 years ago

  • Status changed from Resolved to Closed
  • Target version set to 0.24

Fixed in 0.24.

Also available in: Atom PDF