Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Makefile:273: recipe for target 'obj-dreamcast-x64-sse4_1/hw/gdrom/gdromv3.build_obj' failed #1934

Open
Evegen55 opened this issue May 3, 2021 · 1 comment

Comments

@Evegen55
Copy link

Evegen55 commented May 3, 2021

Please Note: This form is the minimum required information for submitting bugs.
Removing this form may lead to your issue being closed until it is completed.

Platform Branch Hash CIDL
Ubuntu 16.04 alpha Hashtag (skip if unknown) git clone

Description of the Issue

Hi! I've tried to compile code in accordance with manual, but make command fails with reason

/home/user/reicast-emulator/reicast/linux/../../libswirl/hw/gdrom/gdromv3.cpp:69:28: error: could not convert ‘0’ from ‘int’ to ‘GD_ErrRegT::<anonymous union>’
     GD_ErrRegT Error = { 0 };
                            ^
/home/user/reicast-emulator/reicast/linux/../../libswirl/hw/gdrom/gdromv3.cpp:70:41: error: could not convert ‘0’ from ‘int’ to ‘GD_InterruptReasonT::<anonymous union>’
     GD_InterruptReasonT IntReason = { 0 };
                                         ^
/home/user/reicast-emulator/reicast/linux/../../libswirl/hw/gdrom/gdromv3.cpp:71:33: error: could not convert ‘0’ from ‘int’ to ‘GD_FeaturesT::<anonymous union>’
     GD_FeaturesT Features = { 0 };
                                 ^
/home/user/reicast-emulator/reicast/linux/../../libswirl/hw/gdrom/gdromv3.cpp:72:33: error: could not convert ‘0’ from ‘int’ to ‘GD_SecCountT::<anonymous union>’
     GD_SecCountT SecCount = { 0 };
                                 ^
/home/user/reicast-emulator/reicast/linux/../../libswirl/hw/gdrom/gdromv3.cpp:73:33: error: could not convert ‘0’ from ‘int’ to ‘GD_SecNumbT::<anonymous union>’
     GD_SecNumbT SecNumber = { 0 };
                                 ^
/home/user//reicast-emulator/reicast/linux/../../libswirl/hw/gdrom/gdromv3.cpp:75:31: error: could not convert ‘0’ from ‘int’ to ‘GD_StatusT::<anonymous union>’
     GD_StatusT GDStatus = { 0 };
                               ^
Makefile:273: recipe for target 'obj-dreamcast-x64-sse4_1/hw/gdrom/gdromv3.build_obj' failed

make: *** [obj-dreamcast-x64-sse4_1/hw/gdrom/gdromv3.build_obj] Error 1


Makefile:273: recipe for target 'obj-dreamcast-x64-sse4_1/hw/gdrom/gdromv3.build_obj' failed

I have all libs needed to compile

sudo apt install build-essential libasound2 libegl1-mesa-dev libgles2-mesa-dev libasound2-dev mesa-common-dev libgl1-mesa-dev libudev-dev libpulse-dev

Debugging Steps Tested
Logs Gathered
Screenshots

(Replace this line with any issue screenshots)

  • [ X] Place an X in the box to confirm you have filled in this form
@Evegen55
Copy link
Author

Evegen55 commented May 3, 2021

compiling was the only way for me, because installing reicast via snap didn't work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant