PawelTroka / Computator.NET

Computator.NET is a special kind of numerical software that is fast and easy to use but not worse than others feature-wise. It's features include: - Real and complex functions charts - Real and complex calculator - Real functions numerical calculations including different methods - Over 107 Elementary functions - Over 141 Special functions - Over 21 Matrix functions and operations - Scripting language with power to easy computations including matrices - You can declare your own custom functions with scripting language
GNU General Public License v3.0
233 stars 51 forks source link

GSL doesn't load correctly on Unix #30

Closed PawelTroka closed 7 years ago

PawelTroka commented 7 years ago

It does load correctly after commit 51d45804409986f83aaf65ccd24cdb86ede67907 in most cases in Linux but not always. Also it still does not work in Mac OS as we need to have assembly compiled there.

PawelTroka commented 7 years ago

Finally resolved hacky way with commit 751ffa0dcd00325f22b32203f43bb81e42f125a6 and 84d8e6a7a56787341380f2db73c83ebc017340a5.

Basically on first run of application on Unix it will use x86 versions of GSL library (those which are in root directory of Computator.NET.Core project). If this Unix is x64 however it will copy from resources x64 version of GSL files and replace the one in root (copied there during build). Now any consequent run will load new x64 versions because it got replaced. This is the best we could do and this is good enough for now keeping in mind the problems we had to deal with.