Homebrew Compiling .elf file

Shroomalistic

Active Member
OP
Newcomer
Joined
Sep 2, 2015
Messages
37
Trophies
0
Age
45
XP
104
Country
United States
Ive racked my brains all night trying to figure this out and nothing is working.

Im trying to get the snes9x_3ds.elf file from the newest 1.11 version but for the life of me I can not figure it out.

https://github.com/bubble2k16/snes9x_3ds/releases

I've read a few people ask for it but havent seen it anywhere and I've read people just compiled it themselves.

Ive tried everything I can to compile it but just get errors and nothing outputted. Ive get the newest devkitarm kit installed and tried running it every which way.

Can someone give me some steps to do this?
 

trainboy2019

Well-Known Member
Member
Joined
Oct 6, 2015
Messages
1,114
Trophies
0
Age
23
Location
GA
XP
1,107
Country
United States
Ive racked my brains all night trying to figure this out and nothing is working.

Im trying to get the snes9x_3ds.elf file from the newest 1.11 version but for the life of me I can not figure it out.

https://github.com/bubble2k16/snes9x_3ds/releases

I've read a few people ask for it but havent seen it anywhere and I've read people just compiled it themselves.

Ive tried everything I can to compile it but just get errors and nothing outputted. Ive get the newest devkitarm kit installed and tried running it every which way.

Can someone give me some steps to do this?
So if I understand this correctly, you want to compile the .elf from the source code? If so, this is a helpful link. Also check you have all the dependencies for that application.
 

Shroomalistic

Active Member
OP
Newcomer
Joined
Sep 2, 2015
Messages
37
Trophies
0
Age
45
XP
104
Country
United States
thanks for the tip I read that a few times but something is not working here, this is what I get

c:\snes9x_3ds>make
3dsmain.cpp
arm-none-eabi-g++ -MMD -MP -MF /c/snes9x_3ds/build/3dsmain.d -g -w -O3 -mword-relocations -finline-limit=20000 -fomit-frame-pointer -ffunction-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/c/snes9x_3ds/include -I/c/devkitPro/libctru/include -I/c/snes9x_3ds/build -I/c/snes9x_3ds/source -I/c/snes9x_3ds/source/unzip -DARM11 -D_3DS -DLIBCTRU_1_0_0 -fno-rtti -fno-exceptions -std=gnu++11 -c /c/snes9x_3ds/source/3dsmain.cpp -o 3dsmain.o
In file included from c:/snes9x_3ds/source/3dsmain.cpp:32:0:
c:/snes9x_3ds/source/3dsfiles.h:36:18: error: 'string' is not a member of 'std'
std::vector<std::string> file3dsGetFiles(char *extensions, int maxFiles);
^~~~~~
c:/snes9x_3ds/source/3dsfiles.h:36:18: note: suggested alternative: 'strstr'
std::vector<std::string> file3dsGetFiles(char *extensions, int maxFiles);
^~~~~~
strstr
c:/snes9x_3ds/source/3dsfiles.h:36:18: error: 'string' is not a member of 'std'
c:/snes9x_3ds/source/3dsfiles.h:36:18: note: suggested alternative: 'strstr'
std::vector<std::string> file3dsGetFiles(char *extensions, int maxFiles);
^~~~~~
strstr
c:/snes9x_3ds/source/3dsfiles.h:36:24: error: template argument 1 is invalid
std::vector<std::string> file3dsGetFiles(char *extensions, int maxFiles);
^
c:/snes9x_3ds/source/3dsfiles.h:36:24: error: template argument 2 is invalid
c:/snes9x_3ds/source/3dsmain.cpp: In function 'void fileGetAllFiles()':
c:/snes9x_3ds/source/3dsmain.cpp:595:53: error: conversion from 'int' to non-scalar type 'std::vector<std::__cxx11::basic_string<char> >' requested
std::vector<std::string> files = file3dsGetFiles("smc,sfc,fig", 1000);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
make[1]: *** [3dsmain.o] Error 1
make: *** [build] Error 2
 

trainboy2019

Well-Known Member
Member
Joined
Oct 6, 2015
Messages
1,114
Trophies
0
Age
23
Location
GA
XP
1,107
Country
United States
Hmm... this is trickier than I thought. I'm not sure how to fix this. It seems to be throwing an error because of the strings. But other than that, I'm not sure what to do.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: 20 some years later crash bandicoot still pisses me off