SGL-UT / GPSTk

ATTENTION: This repository has been moved and is for archival purposes only. GPSTk toolkit has been renamed to GNSSTK and has been split into two new separate repositories. GNSSTK now only contains libraries while the other repository GNSSTK-APPS contains only applications. The rename and split into libraries and applications started with version v12.0.0 on September 2021. GPSTk --> GNSSTK at https://gitlab.com/sgl-ut/gnsstk --> GNSSTK-APPS at https://gitlab.com/sgl-ut/gnsstk-apps
Other
342 stars 185 forks source link

SWIG python bindings fail to build on OSX with case insensitive file system #8

Closed butala closed 8 years ago

butala commented 8 years ago

I hit a problem building the python SWIG bindings on a OS X system. The issue is that GPSTk/swig/src/Exception.i interferes with the file exception.i distributed with SWIG. Normally, on a sane unix-like system, this would never happen because the file system is case sensitive. However, this is not the default for OS X.

I "fixed" the problem by renaming Exception.i to GPSTk_exception.i and adjusting the appropriate %include line in gpstk.i.

I am not sure if you want to consider this a problem with OS X or if it is worth making the change to the GPSTk source. Just thought I would pass this along.

protogeezer commented 8 years ago

Good catch! Thanks.

butala commented 8 years ago

SWIG bindings build in 2.9 under OSX