View Issue Details

IDProjectCategoryView StatusLast Update
0028057CommunityOCCT:Configurationpublic2016-11-08 13:29
ReporterBenjaminBihler Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
PlatformMinGw64 and MSVCOSWindows 
Summary0028057: Compilation fails
DescriptionSince 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
TagsNo tags attached.
Test case number

Activities

nbv

2016-11-08 11:59

developer   ~0059988

Last edited: 2016-11-08 12:02

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.

BenjaminBihler

2016-11-08 12:54

developer   ~0059996

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

nbv

2016-11-08 13:00

developer   ~0059999

Dear bugmaster,

Please close this issue.

BenjaminBihler

2016-11-08 13:16

developer   ~0060002

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...

Issue History

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 nbv Note Added: 0059988
2016-11-08 11:59 nbv Assigned To nbv => BenjaminBihler
2016-11-08 11:59 nbv Status new => feedback
2016-11-08 12:02 nbv Note Edited: 0059988
2016-11-08 12:54 BenjaminBihler Note Added: 0059996
2016-11-08 12:59 nbv Assigned To BenjaminBihler => bugmaster
2016-11-08 13:00 nbv Note Added: 0059999
2016-11-08 13:16 BenjaminBihler Note Added: 0060002
2016-11-08 13:29 abv Status feedback => closed
2016-11-08 13:29 abv Resolution open => no change required
2016-11-08 13:29 abv Target Version 7.1.0 =>