lencx / ChatGPT

🔮 ChatGPT Desktop Application (Mac, Windows and Linux)
https://nofwl.com
53.1k stars 5.99k forks source link

[Build Error] #1048

Open phoenixbyrd opened 1 year ago

phoenixbyrd commented 1 year ago

Error message

= note: /usr/bin/ld: /home/phoenixbyrd/ChatGPT/target/debug/deps/libtao-02d12b260c148d78.rlib(tao-02d12b260c148d78.tao.b7b23eb92cc63943-cgu.1.rcgu.o): undefined reference to symbol 'gdk_wayland_window_get_wl_surface' /usr/bin/ld: /lib/aarch64-linux-gnu/libgdk-3.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status

= note: some extern functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the -l flag to specify native libraries to link = note: use the cargo:rustc-link-lib directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

warning: chatgpt (bin "chatgpt") generated 1 warning error: could not compile chatgpt (bin "chatgpt") due to previous error; 1 warning emitted

OS

Debian Bookworm aarch64

Environment

I'm trying to build this on Android through Debian proot-distro in Termux. I've managed to meet all other dependencies to get to the last steps and now I'm sadly stuck and my google fu just isn't strong enough to combat this issue. Can you provide guidance on how to resolve, or kindly build for aarch64 linux?

asheroto commented 1 year ago

Please change the title to something more descriptive. 😊