Coder Social home page Coder Social logo

Comments (7)

profi200 avatar profi200 commented on August 11, 2024

That's because i did not strip out the zip stuff in fs.h and fs.cpp. It is not needed for this app to work.

from sysupdater.

mariogamer2 avatar mariogamer2 commented on August 11, 2024

how to fix the build?

from sysupdater.

profi200 avatar profi200 commented on August 11, 2024

Remove -lz from the build flags in the makefile and comment out all the zip functions in fs.h and fs.c. There comes nothing important after it so you can just use /**/.

I really should remove that myself.

from sysupdater.

mariogamer2 avatar mariogamer2 commented on August 11, 2024

I don't won't to do it.

I'm not a dev :)

EDIT: Thsi is good? a4b303c and 6b392c7 on my branch.

from sysupdater.

mariogamer2 avatar mariogamer2 commented on August 11, 2024

After f0db2b3

I'ts give me another error:
Also,I don't found -lz?
fs.cpp
arm-none-eabi-g++ -MMD -MP -MF /opt/sysUpdater/build/fs.d -g -Wall -O3 -flto -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/opt/sysUpdater/include -I/opt/sysUpdater/include/zip -I/opt/devkitpro/libctru/include -I/opt/sysUpdater/build -DARM11 -D_3DS -std=gnu++14 -c /opt/sysUpdater/source/fs.cpp -o fs.o
/opt/sysUpdater/source/fs.cpp:589:85: warning: "/" within comment [-Wcomment]
-MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY, nullptr, 0, 0, 0x800 /
UTF-8 fl
^
/opt/sysUpdater/source/fs.cpp:626:47: warning: "/" within comment [-Wcomment]
0, 0, 0, 0, nullptr, 0, 0, 0x800 /
UTF-8 flag )) != ZIP_OK)
^
In file included from /opt/sysUpdater/include/zip/zip.h:50:0,
from /opt/sysUpdater/include/fs.h:29,
from /opt/sysUpdater/source/fs.cpp:26:
/opt/sysUpdater/include/zip/ioapi.h:134:18: error: ISO C++ forbids declaration of 'voidpf' with no type [-fpermissive]
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char
^
/opt/sysUpdater/include/zip/ioapi.h:134:18: error: typedef 'voidpf' is initialized (use decltype instead)
/opt/sysUpdater/include/zip/ioapi.h:134:30: error: 'open_file_func' was not declared in this scope
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char
^
/opt/sysUpdater/include/zip/ioapi.h:135:18: error: ISO C++ forbids declaration of 'uLong' with no type [-fpermissive]
typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf str

from sysupdater.

profi200 avatar profi200 commented on August 11, 2024

Please use a gist next time. That's annoying with such long logs.

God is that a mess. I will disable the unnecessary stuff and maybe fix the other issue with the stupid attribute files from OSX.

from sysupdater.

profi200 avatar profi200 commented on August 11, 2024

The latest version should compile fine with the newest devkitARM and newest ctrulib.

from sysupdater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.