logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / September / 1 / 5
yuriks
I don't think this works on Windows *frown*
Lectem: how do you use CMake with dkA on windows?
KuKzz
when they are just taking emulators and slapping their junk in it - well nobody else does this so its the only choice in many cases
yuriks
DEVKITPRO is /c/devkitPro/devkitARM which obviously is not recognized by CMake
KuKzz
pcsx rearmed is the best ps1 emu on android and its only available via retroarch
same with many other things
Lectem
https://github.com/Lectem/3ds-cmake/blob/master/DevkitArm3DS.cmake#L6
reminds me I should check for WIN32
yuriks
hmm
Lectem
oh, I actually do
ah no
yuriks
any easy way to just slap that somewhere so I can use it the mGBA build system?
hm, I'll just hardcode the path for now lol
that should *really* be a cache va
var*
ugh, need to add .exe at the end of everything too <_<
yifanlu
retroarch gets 8/10 for utility and 1/10 for personality from me
Lectem
yuriks : endrift said she'd change to use my cmake files later
yuriks
Lectem: I'm poking at this until I get something that appears to work, haha
Lectem
you could just copy my DevkitArm3DS.cmake content to her CMakeLists.cmake (not a really good name choice btw)
yuriks
isn't it a toolchain file?
Lectem
it is
yuriks
it's name CMakeToolchain.txt here?
Lectem
ah nvm
I misread
its CMakeToolchain.txt
they seem to use their own variables for the flags though
yuriks
hmm... typing "make" in msys throws me to a cmd.exe shell...
Lectem
you can use make in a cmd.exe command prompt
it just works
yuriks
ugh, indeed it does, it shouldn't :|
well, typing make in cmd.exe does the same :D
throws me into a subshell
I'll try your file
Lectem
keep her flags and variables though
https://github.com/mgba-emu/mgba/blob/master/src/platform/3ds/CMakeToolchain.txt#L37 this one especially
or change the cmakelists to use my macros
^^
yuriks
sh.exe was found in your PATH, here:
c:/devkitPro/msys/bin/sh.exe
For MinGW make to work correctly sh.exe must NOT be in your path.
ugh...
endrift
use msys2 and the Unix Makefile generator and it should work fine
but idk if there's an easier way than downloading msys2
yuriks
Lectem: your macro doesn't seem to work
Lectem: DEVKITPRO is still set to /c/devkitpro/
endrift
delete the CMakeCache first
yuriks
Lectem: oh, I think you inverted the condition...
yep
but then it's broken-ish anyway? keeps barfing errors about invalid usage of the REPLACE command
endrift: as in, install cmake into msys2?
endrift
yes
with pacman
yuriks
haven't updated that in ages
endrift
https://github.com/mgba-emu/mgba/blob/master/README.md#windows-developer-building
yuriks
people should just stick to msys2 and stop bundling their own msys with everything
xyz
yeah make sure to install mingw-w64-i686-cmake and not cmake
yuriks
oh great, now everything is going to explode because I didn't upgrade correctly
endrift
yeah msys2 is way better
also what xyz said
yuriks
1 [main] pacman 13116 shared_info::initialize: size of shared memory region changed from 39824 to 28048
4055 [main] pacman 13116 C:\msys64\usr\bin\pacman.exe: *** fatal error - couldn't initialize fd 0 for /dev/pty0
4554 [main] pacman 13116 cygwin_exception::open_stackdumpfile: Dumping stack trace to pacman.exe.stackdump
21141321 [main] pacman 10108 fork: child -1 - forked process 13116 died unexpectedly, retry 0, exit code 0x100, errno 11
error: could not fork a new process (Resource temporarily unavailable)
:|
endrift
wtf
yuriks
the dll base changed
xyz
you have to update it in two steps
yuriks
you have to upgrade in a certain way
I forgot about it
xyz
well it's broken now :(
endrift
D:
yuriks
they should've really, *really* added a check for this
endrift
sorry for making this hard, yuriks
xyz
new msys2 now has a new command, 'update-core'
so you do update-core, then restart the shell if any packages were updated, then update everything with pacman
yuriks
endrift: not your fault everything sucks
xyz
otherwise it can brick mid update
endrift
great
yuriks
time for pacman -Syu $(pacman -Qq)!
xyz: it hadn't bricked somehow
endrift
wait
why the subshell?
-Syu is all packages that need upgrading
yuriks
endrift: that reinstalls *all* packages
endrift
oh, you want to reinstall packages too
yuriks
er, installed packages
xyz
it doesn't look broken but it's dead inside
yuriks
lol, 111 packages, 780mb download, 4436mb installed size for that comment on the readme
xyz: xD
endrift
you don't need most of those
yuriks
xyz: well, I restarted the shell, ran that, restarted the shell again
seems fine
endrift
they're for dev Windows versions
not 3DS
yuriks
yeah, I thought I'd take the opportunity but, jesus
that's a lot of dependencies O_o
oh
qt5
« prev 1 2 3 4 5 6 next »