#development
1 messages ยท Page 289 of 1
love the hat tho
i don't play for my school band
very epic
This is gonna sound stupid
LMAO
really great job
but "add me on linkedin" means clicking connect right
but what really made it for me
was the sigh of eternal suffering at the end
stop
yeah it probably does
.
Yeah it was. The steel strings are absolutely fucking my pinkie and ring finger in the ass, because i need them on the second fret for the strums
pog
oof
๐๐๐
what is the command to compile my tweak?
Time to go get some dinner
make package
Men do make clean all package
i always make clean
what does all do?
i'm slow
Makes the tweak but not package
welp none of those commands are working for me
true
everything says make: *** No rule to make target 'xyz'. Stop.
nope
same error?
yup
@tepid olive wish you were here
shut up t[redacted]
is that what you're playing
@lethal ice bro its not my fault someone leaked ur snapchat here
ok
also i don't know the entire thing dw
ok
should i just restart my theos project?
idk where that came from but ok
TARGET := iphone:clang:latest:14.0
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = Centered
Centered_FILES = Tweak.x
Centered_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/tweak.mk
THEOS_DEVICE_IP = 192.168.1.141
Centered_FRAMEWORKS = AudioToolbox
well
uhh lots of things wrong here
i'd move the frameworks part to below the FILES part
^
and the theosdeviceip to the top
bruh stop attacking him for stylistic things
what OS are you on and what sdks do you have
@high river ur on linux right?
yes
ok in ur terminal
are u in the same directory as the makefile?
so in the terminal run ls and tell me if ur makefile shows up
ls
14.1 and i have 14.0 thing from pins
oh ye
ok thats fine
im an idiot
L
kindly shut the fuck up @tepid olive
stop
I type letter and you get salty 
1 blocked message 
its someone new, don't be saying L
L is letter
do i need clang 6 or can i use clang 11?
Linus seggs tips
F
You didnโt let me finish
u can use clang 11
@high river do you have a toolchain already
someone explain bingner's toolchain
ye i have swift and linux
i will
cuz idk how to set that up
M
ok and is the linux toolchain in ~/theos/toolchain
yes
bruh
Yes but I knew I needed to be in project directory
discord gay
Could not find clang 6.0 or later in PATH. I changed it to clang-11 why is it still trying to find clang 6?

what the fuck?
LOLOLOL
changed what to clang-11
did you untar the toolchain

TARGET := iphone:clang:latest:14.0 => TARGET := iphone:clang-11:latest:14.0
Fr got electrocute until he turn black
idk
nah nah u dont' need to do that
export TARGET = iphone:clang:14.0:13.0
all i did was follow tutorial
thats what i do for target
:= works btw
@tepid olive i sent it in general 
what wrong with latest?
nothing is wrong with latest
nothing
but if u add a newer sdk, it'll use that
oh
also
so will 14.0:14.0 work?
why not?
do 14.0:13.0
but it wont work for some stuff
i forget exactly what it is
but only clang12-compiled stuff will work on arm64e devices on 14.0+
its the arm64e ABI
ok
and for some reason i need to call clang as clang-11
how do i change that to make make work
u don't need to
ye
run clang --version tell me what it returns
his clang wont be in $PATH @gaunt mesa
its in $THEOS/toolchain
-_-
export ARCHS = arm64 arm64e
export TARGET := iphone:clang:14.0:13.0
export PREFIX = $(THEOS)/toolchain/Xcode.xctoolchain/usr/bin/
export THEOS_DEVICE_IP = 192.168.1.141
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = Centered
Centered_FILES = Tweak.x
Centered_FRAMEWORKS = AudioToolbox
Centered_LIBRARIES = UIKit
Centered_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/tweak.mk```
here is a makefile that should work fine as long as you have everything set up
the third line wont do anything unless youre on macOS and have that in that dir
which you dont but that ensures macOS compatibility for xcode 12 users
what's the difference in the configs?
๐

in theory nothing but i know this will work if you have the non-project related stuff set up correctly
ok
@surreal mountain u forgot to add another :$(PREFIX) to the end there
how long u been playing guitar hayden
My fingers dying inside
now im going to learn that song
And outside
what
oh yea good times
so what do i do about my clang problem
just wait until the callouses form then you will be able to play for 100 hours straight
@lethal ice the part im playing is rlly easy, the part thats hard is the little solo he does before the singing starts
THEOS_DEVICE_IP shouldn't be in a project makefile, unless your device IP changes for each project
ohhh true
Im doing that part next
Yeah im ok at it sooo far but you have to do a couple bends and my fingers said no
So im gonna keep practicing general stuff for another week and give it another go
Also that PREFIX thing is a hack for macOS, shouldn't be used anywhere else.
Playing blister in the sun rn
ye
yes
we know
dont skip days or ur fingers will start losing the callouses too
I definitely wont
nah not really
Then don't suggest it to someone who is on Lunix
u can take like a day or two off and still not fuck up ur fingers
but once u start taking long breaks ur gonna have baby fingers
export ARCHS = arm64 arm64e
export TARGET = iphone:clang:14.0:13.0
export PREFIX = $(THEOS)/toolchain/Xcode.xctoolchain/usr/bin/
INSTALL_TARGET_PROCESSES = Preferences ScreenshotServicesService SpringBoard
DEBUG = 1
FINALPACKAGE = 0
PACKAGE_VERSION = $(THEOS_PACKAGE_BASE_VERSION)
include $(THEOS)/makefiles/common.mk
SUBPROJECTS += src/Notatio src/NotatioPrefs src/NotatioApp
include $(THEOS_MAKE_PATH)/aggregate.mk
purge::
$(ECHO_BEGIN)$(PRINT_FORMAT_RED) "Purging"$(ECHO_END); $(ECHO_PIPEFAIL)
find . -name '.theos' -exec rm -rf {} \; -o -name 'packages' -exec rm -rf {} \; -o -name '.dragon' -exec rm -rf {} \; -o -name '*.ninja' -exec rm -rf {} \; -o -name '.DS_Store' -exec rm -rf {} \; 2>&1 | grep -v 'find' ; echo -n ""
``` i compile this on linux and it works fine, but i dont have to change anything to do it on mac so im keeping it
There is a lot of other things you can do if you are trying to add compilability on all platforms.
enlighten me
like the @available symbol
ifndef MACOSX or something
then u can specify the symbol
ifeq ($(OSTYPE),Darwin)
and what benefit does any of that have
@available is a pretty big thing
its important
tho dgh0st hates availability chekcs
so
At the end of the day its waste of resources on platforms that don't use it
bruh
:bruh:

:haydenfr:

Woeis
its not a waste if u have multiple different OS users working on it
?
like lets say i make a tweak with someone using linux
im gonna have to add all of that for compatibility for both of us
imo thats an environment thing that shouldn't be part of a Makefile. But one could also argue that Makefile is suppose to setup the environment for compilation so 
no, availability checks are fine enough
@gaunt mesa i donโt use linux but Procursus has top class linux support :coolguy:
wait what are we talking about even
ok im out
ok :bye:
Quip has a thing in his makefil dghost does not like
So we said โuse ifeqโ
We are talking about Lunix
Play station
how do i fix my clang problem?
Which problem?
There is no clang-11 for Lunix
@twilit jungle ayo bro's @primal perch @lethal ice @narrow mason https://i.imgur.com/lNp4ULJ.png

i have made it through this month.
i have made it through this month.
bruh hes gonna bust the fattest nut
no
i mean i got it from that lttm thingy
its NNQ


LLVM versions are entirely artificial anyways
Especially when comparing upstream to apple
true
@twilit jungle @lethal ice @primal perch claim your 10$ + tweak on twickdeeznuts
You essentially need to compare featuresets really
wtf
jjjj
:evilrondo:
you lost bro
is there somewhere else i should get clang?
the rules were simple
imagine ps5
imagine console war clown :sofuckingfunny:
wtf
ive accepted console war
can u use ps4 controller on xb1
ds4 is better for call of duty
I looooove the ds4
nah streaming through windows
Great racing controller
i heard the reactive trigger is dope
yes and inbuilt mic
sounds sus
sony wins again with this gens controller
is it disabled by default?
its enabled afaik

you can turn on per game or something
Sony always wins by controller bruh
Bingner's toolchain includes clang-10. Somewhere in this issue it explains how to install it.
https://github.com/theos/theos/issues/551
Ds3 ds4 ds5
playstation emplyees stalking u
its not even called ds5
fucking fuck
dualsense sounds stupid
I dont know i dont play videogames
i love both xbox and ps
no console war
ez
acceptance of both
we are all gamers
i love the new xbox feature of being able to keep 2 games in memory
tru
x yes

give ram saving
i'll take a look
:now:

Oreo pudding
i like the xbox velocity soc or whatever
i can't switch to ps4 mostly cuz most of my purchases are on xbox
but i like the ps4
same but idc anymore lol
Xbox Series X Pro i will buy like in 2023
i will have all consoles
bruh
switch 
gl
damn
@misty cradle wtf
just give me money ill ship it

im about to get covid and die

ps5 in canada will be like without shipping costs 440 euro, so under retail and then with shipping 480 euro ish
literally under retail
:sad:
@gaunt mesa is there any place near u with ps5 in stock :frcoal:
most are people with poor health already
i can guarantee there is gonna be some random ass one sitting in a local store
wtf
im going out to get food tonight ill check some stores on the way home
you can ofc point to some examples where a healthy young person died to covid, but majority is old people
where in CA 
what province?
Ontario
toronto?
i think so
hm
so should i switch to bingers toolchain?

check also @gaunt mesa bundles
like
disc version with bundle or without idc
i dont want digital, bc its a scam
yes
and not die on the highway
I cant drive

FIFTY FIVE
ok im back for a minute
ok
@misty cradle

they changed it here in 2001 or somethin
from 16 to 18
are u not 18?
not yet
u are 17


tr1 underage
how many more months?
because dumbass kids were driving alcohol
also what about like a permit?
u can get permit under 18 but not allowed to drive
drive alone u mean
yeah
f
that was scary the first time
:intjpray:
@tardy narwhal gm mr driver
^
gm
i am going for motorcycle permit too
Create a text file in roots/etc/, name it wsl.conf, add the following contents:
[automount]
options="metadata"
I need to do this?
@misty cradle

If you are creating projects on the mounted drives yes
where is roots/etc?
/etc/wsl.conf
not dumb, but no tweak tutorial will really do justice if you donโt know objc
There is no "tweak" tutorial
You have to learn Objective-C
Forget tweaks for now, learn ObjC and make some apps
you can use theos to make apps
you'll learn at the same time how to programmatically code UI
without using storyboard
There is no balls tutorial
its application_modern
actually for now you probably want iphone/tool
This project was created with the intention of preservation
when following this
most of it is CLI
if you however do need a quick-fix for your tweak desires, go to the actual subreddit for semi-cancerous input and a buttload of responses pointing to various guides. Youโll probably wonโt learn anything though with that method, do learn objc first as aforementioned and by tr1
Jailbreakdevelopers aka bootleg stack overflow
Don't try to rush through it, but have patience and try to learn good practices while learning the language thorougly
ld: library not found for -lUIKit
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/home/xenfo/theos/makefiles/instance/library.mk:52: /mnt/c/Users/chous/centered/.theos/obj/debug/arm64e/Centered.dylib] Error 1
What do I do
!t rte
Tag not found
There will be plenty of time to make tweaks, so focus on learning objc first and learning how UIKit works + other ios frameworks
rip
I think itd be -framework UIKit
if you want it to
but theos'll automatically install it on your phone
so dont worry about that
i mean i just wanna get this to work from the tutorial then i wanna learn obj c

learn objc first
:peepothis:
:/ fine
please learn objective c first, its so important
yo i came in here hoping the channel was active
like itโs not a persistent meme we pull here, we just want to properly guide newbies
let's go
thereโs no point to seeking a quick route for clout
too bad old messages are gone, dgh0st heavily pushing me to learn objc instead of tweaks first
me just ignoring at first but then realized he was right
and then veza
nah it not that. i just usually like to do this so i understand somewhat what i will be working on. I did this with js and it worked out ok
Nothing should be compared to JS
uroboro said js is not a real language
Swift
and that is the truth
Fr, it does not exist
js is real
@tepid olive dont have ps4, sold mine a few years ago when sony stopped supporting our old tv lol
and it the best

got xb1 rn, so ill get ps5 now again

anyways off to learn bye
@tepid olive and i am forcing my dad to pay half with as reasoning "i am your son"
it will work hopefully
who tf unpinned uroโs comment

why do we have the same comment from krit pinned twice instead wtf
Whoever usually unpins shit is retarded

never
That link dead 

bruh
true
python is real language to some extent
I donโt believe in your brain capacity
granted, not the most difficult
It doesnโt matter how difficult a language is
Itโs still a language
js on node at least
https://github.com/uroboro/Learn-Objective-C-in-24-Days-Clone/blob/master/blog_posts/41.md how would i follow this tutorial through a windows/linux machine
literally scroll up where propr! got explained how he can proceed
wot
scroll up where propr! got explained how he can proceed

-_- how far up
search bar exists
like 30 seconds
it's been forever since i've used objc ngl
If you know how to compile manually then you don't need Theos, just clang.
Pretty much applies to any IDE, usually end up just taking all changes for the IDE files and then merging the actual code properly
000000000000000000000000000000
Add it to your files in the Makefile

The child labour comes free
good to know
expressing scrolling length as a unit of time 
Exactly
just gotta put 5v into it
I suggest hooking it up directly to mains
i did that earlier and touched it

theoretically only 0.48 mA went through my hand so it didnt hurt
What is mains over there
120
No itโs a mark
but u cant feel it if the frequency is too high
Knowing the frequency is one mark
oh
@lethal ice go ahead kill yourself playing with electricity 
no more sentro
f
f
f
whats the worst that could happen
so
you only die if you put one terminal in each hand
so the electricity goes through your heart
otherwise it just burns
yes i think it does
it doesnt bro
burns seem a little better than death???
american power outlets are so stupidly unsafe lmao
fr
yea true
seek help

at least most modern outlets here have a cover over the holes so you can't just stick anything in
they get pushed to the side when you plug something in
ok time to go run at 1:26 am
true
dude when I was in the US I was charging my laptop with the US plug bit swapped onto my macbook brick
and it was like, just falling out from the wall because it's so heavy
wtf

thats because mac chargers are fucking dumb
wtf
giant ass power brick hanging from the wall

please for the love of god just have a normal outlet and then run 0.00004$ of wire to the brick
ok buddy
putting transformers directly on the outlet is so fucking annoying
it takes up room so you cant plug anything else in
rip to make my own wireless charger i would need a steady 5vac source and i dont have that 
Then make one
We donโt have an odometer for screens
I would say scroll wheel ticks but thatโs not universal
Thatโs a great tweak idea
treadmill
yea have u guys never heard of treadmill
@tepid olive any reason you arent using clang
lmaoooo
@tepid olive what is wrong with u
telling this man to use gnustep to make an ios app
clang is literally

no arc for you
do you have an @autoreleasepool
@tepid olive if you still have gnustep you can do this
-fobjc-runtime=gnustep-2.0
and arc should work
as a clang flag?
yuh
get a mac
stfu whore

well
:sofuk
hackintosh then
thats what it is 


@tepid olive you need objc headers
i dont know how manjaro works but you do so google it
he needs to use the gnustep headers if thats what hes chosen to use
true
once i get mac i will build procursus and use build_base shit like cameron
procursus benchmark
-I moment
@tepid olive

find / -name "GNUstep"
Lmao
what about when you run the find command
yeah try that
find / -name "GNUstep"
ls each of those
and find headers
see which one has System
make sure it has System/Library/Headers/
then use that
then pass to clang


how did u install this
i hate arch distros and people who use them
theyre dumb bro theyre all dumb

just tell us what you did
because if you dont understand what you're doing when someone tells you to do it, you should never do it
honestly half of helping in this channel is undoing past mistakes recommended by others

yea that
i'm guessing the gnustep headers are in a different package then
@tepid olive wait i dont see you installing gnustep lib
i dont think thatd be included in the base
ok whatever
ill find them
@tepid olive add a -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include
dumbass arch linux gnustep doesnt include objc headers in the runtime package
fucking retards
i hate arch
macOS alpha OS
id suck apple if they left my apple at my doorstep this very second
@tepid olive what clang do you have installed if i may ask?
@surreal mountain does procursus currently have all dev stuff you find yourself needing
i think so
i know it has everything i need for dragonbuild
i havent looked at theos deps but it should be the same
it has perl n shit
it has ldid
[[xz]
xcode ldid xz and perl
[[xz]]
giggle
thats xcode cli
according to the wiki
the cli isn't enough
[[xz-utils]]
i dont htink thats true
i might be wrong
thats the proper package


the wiki's instructions, though often updated, are somehow out of date
true
it just means the toolchain
for ios at least they're actually horrid
update theos wiki for armbook and use procursus on it
is what its mentioning at least
@lethal kayak no
just use brew for the standard user for now
nah
procursus hasnt been tested 
no, use procursus
idek what other dev stuff i use
idc
python
procursus is better than piece of shit brew
yuh
@tepid olive you should seriously push procursus for armbook when it's finished
im making a strapper in every lang that i can
not for the purpose of popularity but literally because brew is so fucking slow and convoluted
maybe other stuff
well the pkg is essentially just a shell script with contents
see people say js sucks
this is the real site ultra
oh thanks
that wiki is just nice to read
people say js sucks but most of it is either web stuff or can be solved using typescript
https://yourlanguagesucks.com/why/rust rust hate
Actually, it statically links almost everything. It dynamically links your program to libc (unless you target musl, an alternative libc), so your executables arenโt really self-contained.```
rust needs to dynamic link soon or they need to shut the fuck up
forced static linking is sooo shitty
Your Language Sucks > C++
It is backward compatible with C
@lethal kayak yooooo
the C one
````int a = 0; f(a, ++a, ++a);` is not guaranteed to be f(0, 1, 2). The order of evaluation is undefined.```
lmaooooo
@tepid olive i told u earlier to do -I/usr/lib/gcc/x86_64-w64-mingw32/10.2.0/include
i thought u did it and figured it out lol
well congrats you found it yourself
i literally just said
pass it to clang with his arg
what command are you currently running
ill assemble a new command with it
ok stop right there
is that gnustep stuff required
i got a new command for you
gnustep-config --objc-flags
what does this say when you run it
@lethal kayak yes it is
oh ok
alright
clang `gnustep-config --objc-flags` -I/usr/lib/gcc/x86_64-w64-mingw32/10.2.0/include main.m -o main `gnustep-config --objc-libs`
run this, it'll make me happier
we dont pass libs before the filename
lol
ok i have a better idea
youll never see this shit coming
cp -a /usr/lib/gcc/x86_64-w64-mingw32/10.2.0/include/objc /usr/lib/clang/11.0.0/include
then get rid of the -I flag
clang `gnustep-config --objc-flags` main.m -o main `gnustep-config --objc-libs`
new command
ihatearchihatearchihatearch
yes but i dont care
thats a linker error we've moved issues
try adding
clang `gnustep-config --objc-flags` main.m -o main `gnustep-config --objc-libs` -framework Foundation

ur past the compile errors at least
gnustep-config --objc-libs what does this output
ls /home/gamer/GNUstep/Library/Libraries
maybe they have foundation as a library
aha














