• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
1 2 3 4 5 ... 1198 Next »

Asahi Linux CMake Error
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Asahi Linux CMake Error
06-28-2023, 04:09 AM (This post was last modified: 06-28-2023, 07:32 AM by mbc07. Edit Reason: MOD EDIT: formatting fix )
#3
Stoked1020 Offline
Junior Member
**
Posts: 4
Threads: 1
Joined: Jun 2023
(06-28-2023, 03:45 AM)JosJuice Wrote: You probably didn't initialize the submodules: git submodule update --init

Doh! Right you are...that fix that problem and now I am met with a new error:

Code:
error: too many arguments to function ‘void mbedtls_rsa_init(mbedtls_rsa_context*)’
397 |     mbedtls_rsa_init(&rsa, MBEDTLS_RSA_PKCS_V15, 0);
    |     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/paul/dolphin/Source/Core/Core/IOS/IOSC.cpp:16:
/usr/include/mbedtls/rsa.h:145:6: note: declared here
145 | void mbedtls_rsa_init(mbedtls_rsa_context *ctx);
    |      ^~~~~~~~~~~~~~~~
/home/paul/dolphin/Source/Core/Core/IOS/IOSC.cpp:400:34: error: ‘mbedtls_rsa_context’ {aka ‘struct mbedtls_rsa_context’} has no member named ‘N’
400 |     mbedtls_mpi_read_binary(&rsa.N, entry->data.data(), entry->data.size());
    |                                  ^
/home/paul/dolphin/Source/Core/Core/IOS/IOSC.cpp:401:34: error: ‘mbedtls_rsa_context’ {aka ‘struct mbedtls_rsa_context’} has no member named ‘E’
401 |     mbedtls_mpi_read_binary(&rsa.E, reinterpret_cast<const u8*>(&entry->misc_data), 4);
    |                                  ^
/home/paul/dolphin/Source/Core/Core/IOS/IOSC.cpp:402:9: error: ‘mbedtls_rsa_context’ {aka ‘struct mbedtls_rsa_context’} has no member named ‘len’
402 |     rsa.len = entry->data.size();
    |         ^~~
/home/paul/dolphin/Source/Core/Core/IOS/IOSC.cpp:404:64: error: ‘MBEDTLS_RSA_PUBLIC’ was not declared in this scope; did you mean ‘MBEDTLS_RSA_C’?
404 |     int ret = mbedtls_rsa_pkcs1_verify(&rsa, nullptr, nullptr, MBEDTLS_RSA_PUBLIC, MBEDTLS_MD_SHA1,
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Asahi Linux CMake Error - Stoked1020 - 06-28-2023, 03:18 AM
RE: Asahi Linux CMake Error - JosJuice - 06-28-2023, 03:45 AM
RE: Asahi Linux CMake Error - Stoked1020 - 06-28-2023, 04:09 AM
RE: Asahi Linux CMake Error - KHg8m3r - 06-28-2023, 09:14 AM
RE: Asahi Linux CMake Error - Stoked1020 - 06-28-2023, 02:59 PM
RE: Asahi Linux CMake Error - Stoked1020 - 06-28-2023, 02:01 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode