ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, VMX(Altivec) and VSX(Power7) for PowerPC, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.05k stars 409 forks source link

Release v5.2.122 MSVS many compiler errors #246

Closed Edi61 closed 1 year ago

Edi61 commented 1 year ago

see build-x64-windows-rel-out.log x86,x64 windows both not compiling. see also https://github.com/microsoft/vcpkg/pull/29272

ermig1979 commented 1 year ago

Oh! MSVS-2022 has build errors. I fixed they.

Adela0814 commented 1 year ago

Thank you for fixing it so quickly.

It seems that the problem has not been resolved, this is the latest log. build-x86-windows-rel-out.log

Edi61 commented 1 year ago

there is strange behviour, it seems there is a visual dependency?:

ermig1979 commented 1 year ago

May be because local build use only 64-bit release mode? Now there are errors only in 32-bit release.

ermig1979 commented 1 year ago

I committed fix.

Edi61 commented 1 year ago

It's maybe no so important, but Debug Win32 has still errors: https://github.com/Edi61/Simd/actions/runs/4086426896/jobs/7045697944 https://ci.appveyor.com/project/Edi61/simd/builds/46134371

Ps.: Did you think about using continous integration per baseline? I don't how you are testing, but it might maybe make life easier and releases would be automatically tested for all configurations? It seems that its also possible to run the tests in parallel. Since I am myself learning I have just created some example simd workflows from github (but they are limited to 2000h/month): https://github.com/Edi61/Simd/tree/master/.github/workflows Alternatively/Additonally use of appveyor is also possible which is only limited to 1 hour compilation time. After logging in to appveyor website per github and installing appveyor app, it's handled by one configuration file: e.g. https://github.com/Edi61/Simd/blob/master/appveyor.yml

ermig1979 commented 1 year ago

I did some fixes for Win32/Debug. Thank you for links!

Adela0814 commented 1 year ago

@ermig1979 I tried the latest commit and it worked. Could you please release the fixes? Thanks.

ermig1979 commented 1 year ago

Hi! It is good idea but I want to make additional tests on different platforms.

Edi61 commented 1 year ago

Hi @ermig1979 I have updated appveyor.yml, so that currently all platform combinations are included: Last build: https://ci.appveyor.com/project/Edi61/simd/builds/46160236 I can see already some errors:

Edi61 commented 1 year ago

Latest result looks fine except Visual 2015 and 2017: https://ci.appveyor.com/project/Edi61/simd/builds/46201864 Are you still planing to support them?

ermig1979 commented 1 year ago

I will try to fix bugs in old Visual Studios. If it will too difficult I stop support them.