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

missing dependency? portable-endian.h #1

Open
bhepple opened this issue Jan 20, 2021 · 3 comments
Open

missing dependency? portable-endian.h #1

bhepple opened this issue Jan 20, 2021 · 3 comments

Comments

@bhepple
Copy link

bhepple commented Jan 20, 2021

On linux:

$ make -j `nproc`
Scanning dependencies of target IODash
[ 16%] Building CXX object CMakeFiles/IODash.dir/IODash.cpp.o
[ 33%] Linking CXX static library libIODash.a
[ 33%] Built target IODash
Scanning dependencies of target IODash_Benchmark_HTTP
Scanning dependencies of target IODash_Test
[ 66%] Building CXX object CMakeFiles/IODash_Test.dir/test.cpp.o
[ 66%] Building CXX object CMakeFiles/IODash_Benchmark_HTTP.dir/Benchmarks/IODash_HTTP.cpp.o
In file included from /home/bhepple/tmp/IODash/./IODash.hpp:15,
                 from /home/bhepple/tmp/IODash/Benchmarks/IODash_HTTP.cpp:13:
/home/bhepple/tmp/IODash/./IODash/EventLoop.hpp:24:10: fatal error: portable-endian.h: No such file or directory
   24 | #include <portable-endian.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/bhepple/tmp/IODash/IODash.hpp:15,
                 from /home/bhepple/tmp/IODash/test.cpp:13:
/home/bhepple/tmp/IODash/IODash/EventLoop.hpp:24:10: fatal error: portable-endian.h: No such file or directory
   24 | #include <portable-endian.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/IODash_Test.dir/build.make:83: CMakeFiles/IODash_Test.dir/test.cpp.o] Error 1
make[2]: *** [CMakeFiles/IODash_Benchmark_HTTP.dir/build.make:83: CMakeFiles/IODash_Benchmark_HTTP.dir/Benchmarks/IODash_HTTP.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:127: CMakeFiles/IODash_Test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/IODash_Benchmark_HTTP.dir/all] Error 2
make: *** [Makefile:104: all] Error 2

I can snarf a portable-endian.h from https://gist.github.com/panzi/6856583 and it compiles, but this should be distributed in the package.

@ClassicOldSong
Copy link
Member

Have you tried the latest version and initialize sub module?

@bhepple
Copy link
Author

bhepple commented Jul 21, 2021

I have tried the latest tag v0.1.8 and it does compile, at least in the ydotool build. But ydotool now fails silently!!

$ sudo ydotool type -- foo
ydotool: notice: Using ydotoold backend
$

With the older IODash v0.1.0, I get the expected result, viz:

$ sudo ydotool type -- foo
ydotool: notice: Using ydotoold backend
foo$ foo

I should probably post this to the ydotool page.

@ClassicOldSong
Copy link
Member

ydotool does not use the latest version of IODash. With CPM this should not be a problem.

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

2 participants