Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong include path for LU files ? #23

Open
JasonMarechal25 opened this issue Aug 8, 2024 · 0 comments · May be fixed by #24
Open

Wrong include path for LU files ? #23

JasonMarechal25 opened this issue Aug 8, 2024 · 0 comments · May be fixed by #24

Comments

@JasonMarechal25
Copy link

JasonMarechal25 commented Aug 8, 2024

During some integration using fetch_content_declare/make_available I got the following error:

CMake Error in src/cpp/lpnamer/problem_modifier/CMakeLists.txt:
  Imported target "Antares::antares-solver-simulation" includes non-existent
  path

    "/home/marechaljas/CLionProjects/build_debug/_deps/sirius_solver-src/src/LU/"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

Looking at the CMakeLists.txt we can read

target_include_directories(sirius_solver PUBLIC 
	$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/SRS/>
	$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/LU/>
	$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/PNE/>)

However their is no LU directory at source root. LU directories are in simplexe directory

image

Changing the path to $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/SIMPLEXE/LU/> fix the issue locally

@JasonMarechal25 JasonMarechal25 linked a pull request Aug 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant