Giter Club home page Giter Club logo

Comments (28)

Zcooger avatar Zcooger commented on June 6, 2024

+1

from hacktv.

SAUCYSOUP76 avatar SAUCYSOUP76 commented on June 6, 2024

Can't you just use linux?

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

don't want to boot 2 computers to play with it, so it would be nice, if i had it for windows...

from hacktv.

Zcooger avatar Zcooger commented on June 6, 2024

Getting it to work on second partition or VM takes some time along with transferring heavy .raw files generated by HackRF from guest OS to host OS.

from hacktv.

SAUCYSOUP76 avatar SAUCYSOUP76 commented on June 6, 2024

@neo7530 have you considered dual booting? I'm using this under linux and it works perfectly.
@Zcooger well it'll be quicker than waiting for the dev to compile it for windows as for me the compiliation time was roughly under a few seconds.

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

i have to transmit and receive at the same time... my tv software works on windows only, so i have to boot 2 computers to play with hacktv. virtualbox is no option, because of issues with usb, so i can't transmit from it.

from hacktv.

fsphil avatar fsphil commented on June 6, 2024

Can someone test this build please: https://www.sanslogic.co.uk/hacktv/hacktv-20190131-x86_64.zip

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

jiippyyy... works like a charm. have to reset the hackrf after transmitting, but it works :)

from hacktv.

SAUCYSOUP76 avatar SAUCYSOUP76 commented on June 6, 2024

well it'll be quicker than waiting for the dev to compile it for windows

haha disregard that comment :)

from hacktv.

Zcooger avatar Zcooger commented on June 6, 2024

For my needs it works fine, thanks.

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

Perfect. @fsphil, can you post the steps to compile it for Windows, please? Many thanks.

from hacktv.

SAUCYSOUP76 avatar SAUCYSOUP76 commented on June 6, 2024

@neo7530 i take it compiling c is not the same on windows as it is on linux?
for me it's cd hacktv and then make and make install.

from hacktv.

fsphil avatar fsphil commented on June 6, 2024

I've added a script which will attempt to build hacktv for Windows x86_64:

$ ./build_win64.sh

The required packages for each distro will vary, but on Fedora I believe you just need: git make libtool mingw64-gcc mingw64-gcc-c++ mingw64-winpthreads-static mingw64-pkg-config

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

Thank you for Your work.

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

Something goes wrong with this version when i build it for Windows in fedora:
/usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lbz2
/usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lz
/usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -liconv
/usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lz

Do you have an idea?
Thank you.

from hacktv.

fsphil avatar fsphil commented on June 6, 2024

Which version of Fedora? It's working fine here on Fedora 29 (x86_64).

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

same version... Fedora 29
Are there some missing libs in my system?

from hacktv.

fsphil avatar fsphil commented on June 6, 2024

Have you made any changes?

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

Nope... the old builds still compiling right...

from hacktv.

fsphil avatar fsphil commented on June 6, 2024

Can you show me the lines above the error, the context might help.

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024
  • HOST=x86_64-w64-mingw32
    ++ pwd
  • PREFIX=/home/marco/compile/hacktv/build_win64/install_root
  • export PKG_CONFIG_PATH=/home/marco/compile/hacktv/build_win64/install_root/lib/pkgconfig
  • PKG_CONFIG_PATH=/home/marco/compile/hacktv/build_win64/install_root/lib/pkgconfig
  • mkdir -p /home/marco/compile/hacktv/build_win64/install_root
  • cd build_win64
  • [[ ! -f /home/marco/compile/hacktv/build_win64/install_root/lib/libusb-1.0.a ]]
  • [[ ! -f /home/marco/compile/hacktv/build_win64/install_root/lib/libhackrf.a ]]
  • [[ ! -f /home/marco/compile/hacktv/build_win64/install_root/lib/libosmo-fl2k.a ]]
  • [[ ! -f /home/marco/compile/hacktv/build_win64/install_root/lib/libfdk-aac.a ]]
  • [[ ! -f /home/marco/compile/hacktv/build_win64/install_root/lib/libopus.a ]]
  • [[ ! -f /home/marco/compile/hacktv/build_win64/install_root/lib/libavformat.a ]]
  • cd ..
  • CROSS_HOST=x86_64-w64-mingw32-
  • make -j4 EXTRA_LDFLAGS=-static EXTRA_PKGS=libusb-1.0
    x86_64-w64-mingw32-gcc -o hacktv hacktv.o common.o fir.o vbidata.o teletext.o wss.o video.o videocrypt.o syster.o nicam728.o test.o ffmpeg.o file.o hackrf.o fl2k.o -g -lm -pthread -static -L/home/marco/compile/hacktv/build_win64/install_root/lib -lavdevice -lpsapi -lole32 -lstrmiids -luuid -loleaut32 -lshlwapi -lgdi32 -lm -lvfw32 -lavfilter -lm -lpostproc -lm -lavformat -lm -lbz2 -lz -lsecur32 -lws2_32 -lavcodec -liconv -lm -lz -lfdk-aac -lopus -lole32 -luser32 -lswscale -lm -lswresample -lm -lavutil -lm -luser32 -lbcrypt -lhackrf -lusb-1.0 -losmo-fl2k -lusb-1.0
    /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lbz2
    /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lz
    /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -liconv
    /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lz
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:29: hacktv] Fehler 1

from hacktv.

fsphil avatar fsphil commented on June 6, 2024

Thanks. At first glance it looks like something has changed in ffmpeg. I'm rebuilding it from fresh here now, will see if the error appears.

from hacktv.

fsphil avatar fsphil commented on June 6, 2024

It's still building fine here. Can you try from a fresh directory? Run "make clean" and delete the build_win64 directory.

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

still the same issue :(

from hacktv.

fsphil avatar fsphil commented on June 6, 2024

I've just tried on a fresh install of Fedora 30 and it worked fine. There must be something outside of your build directory that's causing ffmpeg to pull in the -lz and -lbz2 libraries. I'm not sure what it could be.

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

Will test it later with a fresh install and report. Thank you.

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

ackrf-2018.01.1/issue_template.md

  • rm -rf hackrf-2018.01.1/host/libhackrf/build
  • mkdir -p hackrf-2018.01.1/host/libhackrf/build
  • cd hackrf-2018.01.1/host/libhackrf/build
  • mingw64-cmake -DCMAKE_INSTALL_PREFIX=/root/compile/hacktv/build_win64/install_root -DCMAKE_INSTALL_LIBPREFIX=/root/compile/hacktv/build_win64/install_root/lib -DLIBUSB_INCLUDE_DIR=/root/compile/hacktv/build_win64/install_root/include/libusb-1.0 -DLIBUSB_LIBRARIES=/root/compile/hacktv/build_win64/install_root/lib/libusb-1.0.a
    /usr/bin/mingw64-cmake: Zeile 84: fg: Keine Job Steuerung in dieser Shell.

No job control in this shell... what is this? Fedora 30 fresh install... :/

from hacktv.

neo7530 avatar neo7530 commented on June 6, 2024

found it... had to install cmake...

from hacktv.

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.