View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001348 | Assembly | Bug | public | 2014-01-08 23:45 | 2014-05-12 15:15 |
| Reporter | Conte91 | Assigned To | |||
| Priority | normal | Severity | trivial | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | x86_64 | OS | Arch linux | ||
| Product Version | trunk | ||||
| Summary | 0001348: Assembly module does not include OCC_LIBRARY_DIR in CMakeLists.txt | ||||
| Description | Assembly module does not use OCC_LIB_DIR to link correctly Opencascade libraries. Thus the application won't compile if libraries are not in standard ld paths like /usr/lib. | ||||
| Steps To Reproduce | Try to compile the application having OpenCascade installed in a directory different from /usr (e.g. /opt/opencascade) | ||||
| Additional Information | OS: Linux Platform: 64-bit Version: 0.14.3133 (Git) Branch: makepkg Hash: 45c2731b15ea9119b7ddcd33a19339541ffac8c3 Python version: 2.7.6 Qt version: 4.8.5 Coin version: 3.1.3 SoQt version: 1.5.0 OCC version: 6.6.0 Patch attached. | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
fix-occ-library-dir.patch (718 bytes)
diff --git a/src/Mod/Assembly/App/CMakeLists.txt b/src/Mod/Assembly/App/CMakeLists.txt
index f157a4a..8ce1b36 100644
--- a/src/Mod/Assembly/App/CMakeLists.txt
+++ b/src/Mod/Assembly/App/CMakeLists.txt
@@ -21,6 +21,7 @@ include_directories(
)
+link_directories(${OCC_LIBRARY_DIR})
set(Assembly_LIBS
${ODE_LIBRARIES}
${OCC_LIBRARIES}
diff --git a/src/Mod/Assembly/Gui/CMakeLists.txt b/src/Mod/Assembly/Gui/CMakeLists.txt
index 47a111f..89b0896 100644
--- a/src/Mod/Assembly/Gui/CMakeLists.txt
+++ b/src/Mod/Assembly/Gui/CMakeLists.txt
@@ -20,6 +20,7 @@ include_directories(
${EIGEN3_INCLUDE_DIR}
)
+link_directories( ${OCC_LIBRARY_DIR})
set(AssemblyGui_LIBS
#${ODE_LIBRARIES}
Assembly
|
|
|
which branch, master or jriegel/dev-assembly ? |
|
|
jriegel/dev-assembly, sorry for not specifying it in the bug report! |
|
|
fixed in jriegel/dev-assembly branch |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-01-08 23:45 | Conte91 | New Issue | |
| 2014-01-08 23:45 | Conte91 | File Added: fix-occ-library-dir.patch | |
| 2014-01-20 10:41 | wmayer | Assigned To | => Jriegel |
| 2014-01-20 10:41 | wmayer | Status | new => assigned |
| 2014-01-20 18:29 |
|
Note Added: 0004110 | |
| 2014-01-20 18:29 |
|
Status | assigned => feedback |
| 2014-01-20 21:41 | Conte91 | Note Added: 0004111 | |
| 2014-01-20 21:41 | Conte91 | Status | feedback => assigned |
| 2014-04-27 14:29 |
|
Note Added: 0004584 | |
| 2014-04-27 14:29 |
|
Status | assigned => resolved |
| 2014-04-27 14:29 |
|
Resolution | open => fixed |
| 2014-05-12 15:15 | yorik | Status | resolved => closed |
FreeCAD