Error with occt during instalation salome by sources

I have tried for a little while to install the Salome 7.2.0 with few updates from their "git" server, but I cannot get through with the OCCT part. During installation (using salome Installwizard and option "Install by sources and compile") I receive such an error:

../../../src/NCollection/NCollection_BaseAllocator.cxx: In static member function ‘static void NCollection_BaseAllocator::PrintMemUsageStatistics()’:
../../../src/NCollection/NCollection_BaseAllocator.cxx:128: warning: format ‘%12d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
../../../src/NCollection/NCollection_BaseAllocator.cxx:128: warning: format ‘%12d’ expects type ‘int’, but argument 5 has type ‘Standard_Size’
../../../src/NCollection/NCollection_BaseAllocator.cxx:128: warning: format ‘%12d’ expects type ‘int’, but argument 6 has type ‘Standard_Size’

My operating system is Ubuntu 13.04

Best regards
Andrzej M Prusiński

Forum supervisor's picture

Dear Andrzej,

it seems that you are trying to compile a SALOME development snapshot, taken from SALOME git repositories, with products taken from SALOME 7.2.0 binaries.

The problem is that SALOME has recently migrated to the dev version of OCCT (i.e. future version 6.6.1) and the sources are no longer compatible with OCCT 6.5.5.

The solution could be either to build OCCT from the latest dev snapshot (git master branch) or wait for the next official SALOME release (v7.3.0, to be issued at the end of November).

Forum Supervisor