PROJ icon indicating copy to clipboard operation
PROJ copied to clipboard

PROJ 7.0.0 - Failed Tests from Source Code

Open mustafamizrak opened this issue 5 years ago • 5 comments

After PROJ compilation from source code with cmake on Windows 10 platform, running tests with ctest results in failure, only 6% success.

# The following tests FAILED:                                                                                                       
2 - Builtins (Exit code 0xc0000135                                                                            )                                                                                                                                
3 - Builtins2 (Exit code 0xc0000135                                                                           )                                                                                                                                
4 - Axisswap (Exit code 0xc0000135                                                                            )                                                                                                                                
5 - Deformation (Exit code 0xc0000135                                                                         )                                                                                                                                
6 - Ellipsoid (Exit code 0xc0000135                                                                           )                                                                                                                                
7 - GDA (Exit code 0xc0000135                                                                                 )                                                                                                                                
8 - 4D-API-cs2cs-style (Exit code 0xc0000135                                                                  )                                                                                                                              
9 - DHDN_ETRS89 (Exit code 0xc0000135                                                                         )                                                                                                                              
10 - Unitconvert (Exit code 0xc0000135                                                                         )                                                                                                                               
11 - geotiff_grids (Exit code 0xc0000135                                                                       )                                                                                                                               
12 - GIGS-5101.1-jhs (Exit code 0xc0000135                                                                     )                                                                                                                               
13 - GIGS-5101.2-jhs (Exit code 0xc0000135                                                                     )                                                                                                                               
14 - GIGS-5101.3-jhs (Exit code 0xc0000135                                                                     )                                                                                                                               
15 - GIGS-5101.4-jhs-etmerc (Exit code 0xc0000135                                                              )                                                                                                                               
16 - GIGS-5102.1 (Exit code 0xc0000135                                                                         )                                                                                                                               
17 - GIGS-5103.1 (Exit code 0xc0000135                                                                         )                                                                                                                               
18 - GIGS-5103.2 (Exit code 0xc0000135                                                                         )                                                                                                                               
19 - GIGS-5103.3 (Exit code 0xc0000135                                                                         )                                                                                                                               
20 - GIGS-5105.2 (Exit code 0xc0000135                                                                         )                                                                                                                               
21 - GIGS-5106 (Exit code 0xc0000135                                                                           )                                                                                                                               
22 - GIGS-5107 (Exit code 0xc0000135                                                                           )                                                                                                                               
23 - GIGS-5109 (Exit code 0xc0000135                                                                           )                                                                                                                               
24 - GIGS-5111.1 (Exit code 0xc0000135                                                                         )                                                                                                                               
25 - GIGS-5112 (Exit code 0xc0000135                                                                           )                                                                                                                               
26 - GIGS-5113 (Exit code 0xc0000135                                                                           )                                                                                                                               
27 - GIGS-5201 (Exit code 0xc0000135                                                                           )                                                                                                                               
28 - GIGS-5208 (Exit code 0xc0000135                                                                           )                                                                                                                               
29 - proj_pj_transform_test (Exit code 0xc0000135                                                              )                                                                                                                               
31 - proj_angular_io_test (Exit code 0xc0000135                                                                )                                                                                                                               
32 - proj_context_test (Exit code 0xc0000135                                                                   )                                                                                                                               
33 - pj_phi2_test (Exit code 0xc0000135                                                                        )                                                                                                                               
34 - proj_test_cpp_api (Exit code 0xc0000135                                                                   )                                                                                                                               
35 - gie_self_tests (Exit code 0xc0000135                                                                      )                                                                                                                               
36 - test_network (Exit code 0xc0000135                                                                        )                                                                                                                      
Errors while running CTest                            

Expected Output

Success on all tests.

Environment Information

  • PROJ version (7.0.0)
  • cmake
  • Win 10 - 64 bit

Installation method

  • build source code (cmake, 64-bit build)

mustafamizrak avatar Apr 27 '20 02:04 mustafamizrak

Try 7.0.1RC1

rouault avatar Apr 27 '20 18:04 rouault

Also, tested with 7.0.1 release. I got same result, passed only 6% test with source code.

mustafamizrak avatar May 01 '20 19:05 mustafamizrak

There's likely something wrong with your build. Do the command line utilities work fine ? People have had issues with sqlite3 builds compiled with non standard compilation flags for example. If you follow the build instructions at https://proj.org/install.html#compilation-and-installation-from-source-code, that should work

rouault avatar May 01 '20 19:05 rouault

Command line utilities work fine. I used sqlite3 with custom build Win 10 (64-bit) (build params: nmake /f Makefile.msc MACHINE=x64 BUILD=release). I compiled PROJ with cmake with exact steps. Do you have any additional parameters for sqlite3 build?

mustafamizrak avatar May 01 '20 19:05 mustafamizrak

Run cmake with -V to have more details. But I'd suggest you use a pre-built sqlite3 lib to avoid any issue. Not sure the defaults of sqlite3 are reasonable. I see Conda uses https://github.com/conda-forge/sqlite-feedstock/blob/master/recipe/bld.bat

rouault avatar May 01 '20 20:05 rouault

Closing as obsolete

rouault avatar Feb 18 '23 15:02 rouault