Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tidal-link can't find abl_link.h #924

Closed
yaxu opened this issue Jul 10, 2022 · 0 comments
Closed

tidal-link can't find abl_link.h #924

yaxu opened this issue Jul 10, 2022 · 0 comments

Comments

@yaxu
Copy link
Member

yaxu commented Jul 10, 2022

It's there, though.. It seems the problem is that it thinks none of the include-dirs exist (they do).

alex@pop-os:~/src/tidal/tidal-link$ cabal v2-install --lib
Wrote tarball sdist to
/home/alex/src/tidal/dist-newstyle/sdist/tidal-1.8.0.tar.gz
Wrote tarball sdist to
/home/alex/src/tidal/dist-newstyle/sdist/tidal-parse-0.0.1.tar.gz
Wrote tarball sdist to
/home/alex/src/tidal/dist-newstyle/sdist/tidal-listener-0.1.0.0.tar.gz
Wrote tarball sdist to
/home/alex/src/tidal/dist-newstyle/sdist/tidal-link-1.0.tar.gz
Resolving dependencies...
Build profile: -w ghc-8.8.4 -O1
In order, the following will be built (use -v for more details):
 - tidal-link-1.0 (lib) (requires build)
Starting     tidal-link-1.0 (lib)
Building     tidal-link-1.0 (lib)

Failed to build tidal-link-1.0.
Build log (
/home/alex/.cabal/logs/ghc-8.8.4/tidal-link-1.0-ae90e9626323bad57fac3c95583832668cad6936a63cf7a2083c42a2e00614d0.log
):
Configuring library for tidal-link-1.0..
Warning: 'include-dirs: link/extensions/abl_link/include' directory does not
exist.
Warning: 'include-dirs: link/include' directory does not exist.
Warning: 'include-dirs: link/modules/asio-standalone/asio/include' directory
does not exist.
Preprocessing library for tidal-link-1.0..
compiling dist/build/Sound/Tidal/Link_hsc_make.c failed (exit code 1)
rsp file was: "dist/build/Sound/Tidal/hsc2hscall29018-0.rsp"
command was: /usr/bin/x86_64-linux-gnu-gcc -c dist/build/Sound/Tidal/Link_hsc_make.c -o dist/build/Sound/Tidal/Link_hsc_make.o -fuse-ld=gold -D__GLASGOW_HASKELL__=808 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Ilink/include -Ilink/modules/asio-standalone/asio/include -Ilink/extensions/abl_link/include -Idist/build/link/include -Idist/build/link/modules/asio-standalone/asio/include -Idist/build/link/extensions/abl_link/include -Idist/build/autogen -Idist/build/global-autogen -include dist/build/autogen/cabal_macros.h -I/usr/lib/ghc/base-4.13.0.0/include -I/usr/lib/ghc/integer-gmp-1.0.2.0/include -I/usr/lib/ghc/include -I/usr/lib/ghc/include/
error: Link.hsc:5:10: fatal error: abl_link.h: No such file or directory
compilation terminated.

cabal: Failed to build tidal-link-1.0. See the build log above for details.

alex@pop-os:~/src/tidal/tidal-link$ ls link/extensions/abl_link/include/
abl_link.h
@yaxu yaxu closed this as completed in 8900f19 Jul 10, 2022
yaxu added a commit that referenced this issue Jul 10, 2022
tidal-link: add link source files to extra-source-files, fixes #924
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant