Giter Club home page Giter Club logo

Comments (11)

srcejon avatar srcejon commented on August 17, 2024 1

My windows knowledge and understanding is essentially zero (actually even less, and I do not intend to study on it) What I see in your post is that you changed COMPUTETYPE Branchtab [NUMSTATES / 2 * RATE] ALIGN_16; to _MM_ALIGN16 COMPUTETYPE Branchtab [NUMSTATES / 2 * RATE]; Since it deviates from the way the GCC compilers add the attribute, I'll add an "ifdef" to the offending code Op zo 25 apr. 2021 om 14:33 schreef Gisle Vanem @.***>:

I think GCC allows attributes to be in front of the declaration, so you may be able to define ALIGN_16 in such a way that it works for both.

from dab-cmdline.

JvanKatwijk avatar JvanKatwijk commented on August 17, 2024

from dab-cmdline.

gvanem avatar gvanem commented on August 17, 2024

Thanks for a quick response. W/o a SSE_AVAILABLE it kinda works. No crash, but no results from dab-scanner -Q -L1.
(except for a 0 at ch 11D, 12B and 12D ?!).

I have built Welle-IO using MSVC which do work fine. So there are multiple issues with
Windows support and especially MSVC:

  • sigaction stuff.
  • VLA.
  • SSE/MMX alignment.
  • getopt()
  • C++ conformance; with -std:c++17 I get no important warnings such as:

    library/src/backend/audio-backend.cpp(66): warning C4316: 'uep_protection': object allocated on the heap may not<br> be aligned 16 in -std:c++14. No idea why.

All these items I have fixed quite easily in some example programs, but not this SSE alignment issue.

from dab-cmdline.

JvanKatwijk avatar JvanKatwijk commented on August 17, 2024

from dab-cmdline.

JvanKatwijk avatar JvanKatwijk commented on August 17, 2024

from dab-cmdline.

gvanem avatar gvanem commented on August 17, 2024

, the Qt-DAB program does a better job than the scan module for dab-cmdline

Have tried, didn't like it. My motive with DAB-cmdline is simply to use dab.dll in the new SDRangel demodulator plugin.
But I'm confused regarding the "Win32/MSVC state" of the various forks of this package. Seems there are too many?

I have built Welle-IO using MSVC which do work fine.

And I can add, DAB-reception works fine in the DAB-plugin of SDRuno.
But despite your aversion against Windows, I'll try to add some PR to fix this tragic situation...

from dab-cmdline.

srcejon avatar srcejon commented on August 17, 2024

Have tried, didn't like it. My motive with DAB-cmdline is simply to use dab.dll in the new SDRangel demodulator plugin.
But I'm confused regarding the "Win32/MSVC state" of the various forks of this package. Seems there are too many?

Today's release of SDRangel should now have DAB working on 64-bit Windows using this library - and Jvan has merged all the changes I made to get it to run.

I haven't yet updated SDRangel to use the updated DAB API though - so probably best to just use the fork SDRangel checks out automatically (you don't need to build the examples, just the library) See https://github.com/f4exb/sdrangel/wiki/Compile-in-Windows

from dab-cmdline.

gvanem avatar gvanem commented on August 17, 2024

I noted this B I G N O T E at:
https://github.com/AlbrechtL/welle.io/blob/next/src/backend/viterbi.cpp#L137

which has caused the FULL_SPIRAL_sse() junk to simply be removed from Welle-IO.
When I do not know, but there was an issue on it 4 years ago.
Seems related to my problem here.

You should perhaps remove it in your version too.

from dab-cmdline.

gvanem avatar gvanem commented on August 17, 2024

.. so probably best to just use the fork SDRangel checks out automatically

You mean this: https://github.com/f4exb/DAB-cmdline/tree/msvc ?

from dab-cmdline.

JvanKatwijk avatar JvanKatwijk commented on August 17, 2024

from dab-cmdline.

gvanem avatar gvanem commented on August 17, 2024

I found the issue with SSE & alignment problem yesterday. So I was about to close it, but you beat me to it. Thanks!

from dab-cmdline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.