misson20000 / twili

Homebrew debug monitor for the Nintendo Switch.
GNU General Public License v3.0
184 stars 23 forks source link

'libtransistor/condvar.h' file not found compile error #61

Closed sijad closed 5 years ago

sijad commented 5 years ago

I have same issue as #55 and I want to compile twili but when I try to run make I get this error:

❯ make                                                                                        3s 908ms
mkdir -p build/twili
/usr/local/Cellar/llvm/6.0.1/bin/clang++ -isystem /Users/xxx/libtransistor_v2.1.1//include/c++/v1/ -g -fPIC -fexceptions -fuse-ld=lld -fstack-protector-strong -O3 -mtune=cortex-a53 -target aarch64-none-linux-gnu -nostdlib -nostdlibinc -isystem /Users/xxx/libtransistor_v2.1.1//include/ -D__SWITCH__=1 -Wno-unused-command-line-argument -std=c++17 -stdlib=libc++ -nodefaultlibs -nostdinc++ -Werror-return-type -Og -Itwili_common -Icommon  -c -o build/twili/twili.o twili/twili.cpp
In file included from twili/twili.cpp:43:
In file included from twili/twili.hpp:28:
In file included from twili/AppletTracker.hpp:27:
twili/process/AppletProcess.hpp:63:7: error: no type named 'KWEvent' in namespace 'trn'; did you mean
      'KEvent'?
        trn::KWEvent command_wevent;
        ~~~~~^~~~~~~
             KEvent
/Users/xxx/libtransistor_v2.1.1//include/libtransistor/cpp/types.hpp:122:7: note:
      'KEvent' declared here
class KEvent : public KWaitable {
      ^
In file included from twili/twili.cpp:43:
In file included from twili/twili.hpp:28:
twili/AppletTracker.hpp:69:7: error: no type named 'KWEvent' in namespace 'trn'; did you mean
      'KEvent'?
        trn::KWEvent process_queued_wevent;
        ~~~~~^~~~~~~
             KEvent
/Users/xxx/libtransistor_v2.1.1//include/libtransistor/cpp/types.hpp:122:7: note:
      'KEvent' declared here
class KEvent : public KWaitable {
      ^
In file included from twili/twili.cpp:43:
In file included from twili/twili.hpp:32:
twili/bridge/tcp/TCPBridge.hpp:25:9: fatal error: 'libtransistor/condvar.h' file not found
#include<libtransistor/condvar.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
make: *** [build/twili/twili.o] Error 1
❯ echo $LIBTRANSISTOR_HOME
/Users/xxx/libtransistor_v2.1.1/
sijad commented 5 years ago

README seems outdated, fixed by using https://github.com/misson20000/libtransistor/releases/tag/v2.2.0-rc3 I also needed to compile and install https://github.com/switchbrew/switch-tools