View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0028057 | Community | OCCT:Configuration | public | 2016-11-07 14:23 | 2016-11-08 13:29 |
| Reporter | BenjaminBihler | Assigned To | bugmaster | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Platform | MinGw64 and MSVC | OS | Windows | ||
| Summary | 0028057: Compilation fails | ||||
| Description | Since commit e2e0498b17acc86bdd64d3322ad2e9eb203e387f there is a problem with compilation: Scanning dependencies of target TKGeomAlgo [ 18%] Building CXX object src/TKGeomAlgo/CMakeFiles/TKGeomAlgo.dir/__/IntPatch/IntPatch_ALineToWLine.cxx.obj D:/OpenCascade/Occt/src/IntPatch/IntPatch_ALineToWLine.cxx:23:38: fatal error: IntPatch_SpecialPoints.hxx: No such file or directory compilation terminated. src/TKGeomAlgo/CMakeFiles/TKGeomAlgo.dir/build.make:1563: recipe for target 'src/TKGeomAlgo/CMakeFiles/TKGeomAlgo.dir/__/IntPatch/IntPatch_ALineToWLine.cxx.obj' failed mingw32-make[2]: *** [src/TKGeomAlgo/CMakeFiles/TKGeomAlgo.dir/__/IntPatch/IntPatch_ALineToWLine.cxx.obj] Error 1 CMakeFiles/Makefile2:430: recipe for target 'src/TKGeomAlgo/CMakeFiles/TKGeomAlgo.dir/all' failed mingw32-make[1]: *** [src/TKGeomAlgo/CMakeFiles/TKGeomAlgo.dir/all] Error 2 makefile:127: recipe for target 'all' failed mingw32-make: *** [all] Error 2 | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
|
Dear BenjaminBihler. Our team has not faced with this problem yet (OCCT with said commit has already been built by me, testers and many other developers). Therefore, please check your work version carefully. Do the files IntPatch_SpecialPoints.hxx, IntPatch_SpecialPoints.cxx, IntPatch_SpecPntType.hxx really exist(it must be in src\IntPatch directory)? These files are really new (previous OCCT version did not contain them). After you will check, please rebuild new OCCT version completely (including project files generation with CMake - please see https://dev.opencascade.org/doc/overview/html/occt_dev_guides__building.html). If it does not help please do not hesitate to ask me again. |
|
|
Dear nbv, thanks for your answer. After executing CMake - Generate indeed compilation succeeds. I am surprised because I have thought that CMake does necessary reconfigurations automatically. Also there has never been a compilation error like that here, but probably that is because new header files are rarely added to OCCT? Anyway, now it works. Thank you. Benjamin |
|
|
Dear bugmaster, Please close this issue. |
|
|
Hmmm, I am not well familiar with CMake, but a quick check has led me to http://stackoverflow.com/questions/28250081/when-should-i-rerun-cmake. There they state that it should never be necessary to manually re-run CMake if the configure scripts are well written... |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-11-07 14:23 | BenjaminBihler | New Issue | |
| 2016-11-07 14:23 | BenjaminBihler | Assigned To | => bugmaster |
| 2016-11-08 11:34 | BenjaminBihler | Assigned To | bugmaster => nbv |
| 2016-11-08 11:59 |
|
Note Added: 0059988 | |
| 2016-11-08 11:59 |
|
Assigned To | nbv => BenjaminBihler |
| 2016-11-08 11:59 |
|
Status | new => feedback |
| 2016-11-08 12:02 |
|
Note Edited: 0059988 | |
| 2016-11-08 12:54 | BenjaminBihler | Note Added: 0059996 | |
| 2016-11-08 12:59 |
|
Assigned To | BenjaminBihler => bugmaster |
| 2016-11-08 13:00 |
|
Note Added: 0059999 | |
| 2016-11-08 13:16 | BenjaminBihler | Note Added: 0060002 | |
| 2016-11-08 13:29 |
|
Status | feedback => closed |
| 2016-11-08 13:29 |
|
Resolution | open => no change required |
| 2016-11-08 13:29 |
|
Target Version | 7.1.0 => |