<mmadia>
the terminal stuff, definitely not. a lot of the filenames aren't accurate. i didn't try the first example as i've trouble running chatgpt in falkon (or whatever that browser is called)
<mmadia>
i'm interested in trying to setup a linux box with autogpt and a haiku box, for it to ssh into and doing coding tests.
<mmadia>
right now, its a wisp of a pipe dream though. :-)
mmu_man has quit [Ping timeout: 480 seconds]
Forza has joined #haiku
<erysdren>
i compiled a haiku application with the cross-tools from linux
<erysdren>
for some reason, they won't launch on my haiku VM
<erysdren>
"could not open 'gears' with application 'gears' (Not an executable)."
<jezek2>
erysdren: you can access C++ from plain C without much problems, extending of classes is a bit hacky (copying and patching of vtables) but works well
<jezek2>
I use that approach in my cross-platform GUI library to support haiku (and similarly I use ObjC low-level API on MacOS to avoid Objective-C)
HaikuUser has joined #haiku
HaikuUser is now known as nephele_
HaikuUser has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
phoenix has quit [Quit: gone fishing]
phoenix has joined #haiku
Begasus has quit [Quit: Leaving]
Begas_VM has quit [Quit: Vision[]: i've been blurred!]
HaikuUser has joined #haiku
HaikuUser has quit []
mmu_man has joined #haiku
jmairboeck has joined #haiku
tqh has quit [Remote host closed the connection]
vdamewood has joined #haiku
nephele_ has quit [Quit: Vision[]: i've been blurred!]
kinkinkijkin has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
Begasus has joined #haiku
<Begasus>
re
Begas_VM has joined #haiku
<Begasus>
OscarL, did you try to build a newer version for Cutter with rizin?
<Begasus>
so far I haven't been able to let cutter pick up rizin :/
<OscarL>
Hi Begasus. No, I haven't touched cutter. I kept rizin on the same version, just to be safe, and to avoid possible newer dependencies (already getting tired, and didn't wanted to mess up things too much :-D)
<OscarL>
and seems there's either a problem with one of the data files, or newer Python changed something, and bails out complaing of some invalid unicode data. :-(
<OscarL>
Will try with Python 3.7 (original recipe) to see what's what (but not today).
<OscarL>
rizin failed on 64 bits :-/
<OscarL>
that's odd.
<OscarL>
mmm, and btanks failed on 32? what?
<Begas_VM>
dblatex build is ok
<Begasus>
eeps, tree-sitter again ...
<OscarL>
Will recheck the failing builds (the 32 bits one first)
gouchi has quit [Remote host closed the connection]
<OscarL>
seems btanks originally expected lua 5.1, one of the patches from korli was on that line to make it work wit 5.3, and I had to revert it (thinking I was fixing it for 5.3), due to getting 5.1 pulled in here for some reason.
<OscarL>
k, btanks fixed. (/me crosses fingers)
<OscarL>
no idea what's the issue with rizin. Build works here.
<OscarL>
damn rizing using git to get files in the background :-/ (sed fails on a clean install with rizin 0.3.4, but works on second run).
<OscarL>
better update the damn thing then to > 0.3.4, Begasus.
<OscarL>
Maybe build cutter with bundled rizin, disable standalone rizin? reversers wanting it without GUI, should be able to manage a simple build on their own using the recipe :-D
<Skipp_OSX>
So you could call the filepanel app from your C app, or you could look at the source and see how it does it and copy it (unless it uses too much C++ for you)
<erysdren>
C++ itself is fine, but i wanna see if i can add it to something like TinyFileDialogs
<erysdren>
which is strictly C
Ampilin has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
<Skipp_OSX>
BFilePanel *fPanel = new BFilePanel(fpMode, NULL, NULL, nodeFlavour, allowMultiSelect, NULL, NULL, makeModal); <= Looking at the source in src/bin/filepanel.cpp the secret sauce is this, you create a BFilePanel be_app and run it.
<erysdren>
got it
<erysdren>
looking at filepanel.cpp, i don't exactly understand how it's meant to return the path to the file
<erysdren>
unless that's handled in BFilePanel
Ampilin has quit [Quit: Vision[]: i've been blurred!]
vdamewood has quit [Quit: Life beckons.]
vezhlys has quit [Quit: Leaving]
<erysdren>
oh i see
CPYou has quit [Ping timeout: 480 seconds]
<erysdren>
got it working using popen in my C program, but fopen won't work with the resulting file string for some reason
<erysdren>
i can see that the resulting string is a valid path to the file
<erysdren>
but fopen won't take it for some reason
<PulkoMandy>
Which error does it return?
<erysdren>
i haven't checked errno yet, but fopen is just returning NULL
<erysdren>
my null check shows the path of the file it tried to open, and it's a valid path