mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 08:18:25 +02:00
[setup] add aliceVision lib64 folder to LD_LIBRARY_PATH
This commit is contained in:
parent
9f5366589e
commit
7aae234b02
1 changed files with 4 additions and 3 deletions
|
@ -69,16 +69,17 @@ def setupEnvironment():
|
|||
aliceVisionDir = os.path.join(rootDir, "aliceVision")
|
||||
# default directories
|
||||
aliceVisionBinDir = os.path.join(aliceVisionDir, "bin")
|
||||
aliceVisionLibDir = os.path.join(aliceVisionDir, "lib64") # Unix
|
||||
aliceVisionShareDir = os.path.join(aliceVisionDir, "share")
|
||||
qtPluginsDir = os.path.join(rootDir, "qtPlugins")
|
||||
sensorDBPath = os.path.join(aliceVisionShareDir, "cameraSensors.db")
|
||||
voctreePath = os.path.join(aliceVisionShareDir, "vlfeat_K80L3.tree")
|
||||
# Linux: "lib" contains shared libraries that needs to be in LD_LIBRARY_PATH
|
||||
libPath = os.path.join(rootDir, "lib")
|
||||
# Unix: "lib" contains shared libraries that needs to be in LD_LIBRARY_PATH
|
||||
libDir = os.path.join(rootDir, "lib")
|
||||
|
||||
env = {
|
||||
'PATH': aliceVisionBinDir,
|
||||
'LD_LIBRARY_PATH': [aliceVisionBinDir, libPath],
|
||||
'LD_LIBRARY_PATH': [libDir, aliceVisionLibDir], # Unix
|
||||
'QT_PLUGIN_PATH': [qtPluginsDir],
|
||||
'QML2_IMPORT_PATH': [os.path.join(qtPluginsDir, "qml")]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue