-
Notifications
You must be signed in to change notification settings - Fork 130
Closed
Labels
BugProblems in the build system, build scripts, etc or faults in the interface.Problems in the build system, build scripts, etc or faults in the interface.
Milestone
Description
Describe the bug
The OSI flatbuffers build does not run properly with the current CMakeLists.txt because for the osi_version.proto both CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BUILD_DIR are added to the path. Only the build directory should be used for osi_version.proto.
Describe how to reproduce the bug
Steps to reproduce the behavior:
- CMakeLists.txt (16): Set option(OSI_BUILD_FLATBUFFER "Build flatbuffer versions of libraries" ON)
- Try to build OSI
- See error:
Convert C:/Users/tsedlmayer/Documents/dev/open-simulation-interface/flatbuild/osi_version.proto to osi_version.fbs using flatc
C:\Users\tsedlmayer\Documents\dev\open-simulation-interface\flatbuild\flatbuffers-build\Release\flatc.exe : error : unable to load file: C:/Users/tsedlmayer/Documents/dev/open-simulation-interface/C:/Users/tsedlmayer/Documents/dev/open-simulation-interface/flatbuild/osi_version.proto
Metadata
Metadata
Assignees
Labels
BugProblems in the build system, build scripts, etc or faults in the interface.Problems in the build system, build scripts, etc or faults in the interface.