coop-deluxe / sm64coopdx

An official continuation of https://github.com/djoslin0/sm64ex-coop on sm64coopdx for the enhancements and progress it already has.
https://sm64coopdx.com
403 stars 72 forks source link

src/pc/update_checker.c:6:10: fatal error: curl/curl.h: No such file or directory 6 | #include <curl/curl.h> | ^~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:1405: build/us_pc/src/pc/update_checker.o] Error 1 make: *** Waiting for unfinished jobs.... ^Cmake: *** [Makefile:1405: build/us_pc/bin/custom_textures.o] Interrupt #103

Closed PaperVb64 closed 8 months ago

PaperVb64 commented 8 months ago

I'm just having issues with compiling sm64coopdx. I've gotten this error before, and sloved it my installing libcurl4. This time around, however, it just keeps giving me this error:

root@penguin:/home/crumbsy/sm64coopdx# sudo make -j4 TEXTURE_FIX=1 EXTERNAL_DATA=1 
==== Build Options ====
Version:        us
Microcode:      f3dex2e
Build Matching: no
=======================
Building tools...
make: Entering directory '/home/crumbsy/sm64coopdx/tools'
make: Nothing to be done for 'default'.
make: Leaving directory '/home/crumbsy/sm64coopdx/tools'
Building Game...
Makefile:1156: warning: overriding recipe for target 'build/us_pc/'
Makefile:1147: warning: ignoring old recipe for target 'build/us_pc/'
Compiling: bin/custom_textures.c -> build/us_pc/bin/custom_textures.o
Piping: build/us_pc/sound/sequences.bin -> build/us_pc/sound/sequences.bin.inc.c
Piping: build/us_pc/sound/bank_sets -> build/us_pc/sound/bank_sets.inc.c
Compiling: src/pc/update_checker.c -> build/us_pc/src/pc/update_checker.o
Compiling: src/pc/gfx/gfx_dummy.c -> build/us_pc/src/pc/gfx/gfx_dummy.o
Compiling: src/pc/gfx/gfx_opengl.c -> build/us_pc/src/pc/gfx/gfx_opengl.o
src/pc/update_checker.c:6:10: fatal error: curl/curl.h: No such file or directory
    6 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1405: build/us_pc/src/pc/update_checker.o] Error 1
make: *** Waiting for unfinished jobs....
^Cmake: *** [Makefile:1404: build/us_pc/src/pc/gfx/gfx_opengl.o] Interrupt
make: *** [Makefile:1404: build/us_pc/bin/custom_textures.o] Interrupt

(Note: this still happens when I exit root, and my computer recently decided to screw me over by resetting itself out of nowhere)

Specs grabbed from Neofetch:

OS: Debian GNU/Linux 12 (bookworm) x86_64 Host: crosvm Kernel: 6.6.17-01102-gd3cec3c11146 Uptime: 1 hour, 6 mins Packages: 932 (dpkg) Shell: bash 5.2.15 DE: Generic Theme: CrosAdapta [GTK2/3] Icons: Adwaita [GTK2/3] Terminal: ld-linux-x86-64 CPU: Intel Celeron N3350 (2) @ 1.094GHz GPU: 00:02.0 Red Hat, Inc. Virtio 1.0 GPU Memory: 154MiB / 2770MiB

PaperVb64 commented 8 months ago

just wondering if it's a curl error or an error with the compiling stuff (also i'm on Chromebook)

AgentXLP commented 8 months ago

Do you use APT?

PaperVb64 commented 8 months ago

yes

AgentXLP commented 8 months ago

Try running sudo apt install libcurl4-openssl-dev

PaperVb64 commented 8 months ago

seems like it's working. I'll close the issue if it does

AgentXLP commented 8 months ago

Alright

PaperVb64 commented 8 months ago

It's done compiling and works fine! BTW, how do you install DynOS packs, and could I prehaps have a link to the server?

AgentXLP commented 8 months ago

We can talk on Discord, agentxlp

PaperVb64 commented 8 months ago

😨


From: Agent X @.> Sent: March 24, 2024 8:48 PM To: coop-deluxe/sm64coopdx @.> Cc: PaperVirtualBoy64 @.>; Author @.> Subject: Re: [coop-deluxe/sm64coopdx] src/pc/update_checker.c:6:10: fatal error: curl/curl.h: No such file or directory 6 | #include <curl/curl.h> | ^~~~~ compilation terminated. make: *** [Makefile:1405: build/us_pc/src/pc/update_che...

We can talk on Discord, agentxlp

— Reply to this email directly, view it on GitHubhttps://github.com/coop-deluxe/sm64coopdx/issues/103#issuecomment-2017026300, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWUXGZKPEQLSYV5GENTZQZTYZ5X6VAVCNFSM6AAAAABFF7PYCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJXGAZDMMZQGA. You are receiving this because you authored the thread.Message ID: @.***>