Homebrew Homebrew Development

Smariter

Active Member
Newcomer
Joined
Dec 23, 2014
Messages
29
Trophies
0
Age
55
XP
111
Country
Honestly i never edited a game. But i think that gamesquest1 can help you... ;)

Thank you. There is another problem,your make banner tool didn't work,there is a screenshot
0823dd54564e9258caec354e9f82d158cdbf4eb1.jpg
 

Rinnegatamante

Well-Known Member
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
Hi, i'm getting several errors when trying to compile latest ctrulib version, does someone know how to solve?

Code:
c:/devkitPro/ctrulib/libctru/source/services/soc.c:232:5: error: conflicting types for 'accept'
int accept(int sockfd, struct sockaddr *addr, int *addrlen)
    ^
In file included from c:/devkitPro/ctrulib/libctru/source/services/soc.c:1:0:
c:/devkitPro/ctrulib/libctru/include/sys/socket.h:72:6: note: previous declaration of 'accept' was here
  int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen);
      ^
c:/devkitPro/ctrulib/libctru/source/services/soc.c:273:5: error: conflicting types for 'bind'
int bind(int sockfd, const struct sockaddr *addr, int addrlen)
    ^
In file included from c:/devkitPro/ctrulib/libctru/source/services/soc.c:1:0:
c:/devkitPro/ctrulib/libctru/include/sys/socket.h:73:6: note: previous declaration of 'bind' was here
  int bind(int sockfd, const struct sockaddr *addr, socklen_t addrlen);
      ^
c:/devkitPro/ctrulib/libctru/source/services/soc.c:318:5: error: conflicting types for 'connect'
int connect(int sockfd, const struct sockaddr *addr, int addrlen)
    ^
In file included from c:/devkitPro/ctrulib/libctru/source/services/soc.c:1:0:
c:/devkitPro/ctrulib/libctru/include/sys/socket.h:75:6: note: previous declaration of 'connect' was here
  int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen);
      ^
c:/devkitPro/ctrulib/libctru/source/services/soc.c:565:5: error: conflicting types for 'recvfrom'
int recvfrom(int sockfd, void *buf, int len, int flags, struct sockaddr *src_addr, int *addrlen)
    ^
In file included from c:/devkitPro/ctrulib/libctru/source/services/soc.c:1:0:
c:/devkitPro/ctrulib/libctru/include/sys/socket.h:81:10: note: previous declaration of 'recvfrom' was here
  ssize_t recvfrom(int sockfd, void *buf, size_t len, int flags, struct sockaddr *src_addr, socklen_t *addrlen);
          ^
c:/devkitPro/ctrulib/libctru/source/services/soc.c:571:5: error: conflicting types for 'sendto'
int sendto(int sockfd, const void *buf, int len, int flags, const struct sockaddr *dest_addr, int addrlen)
    ^
In file included from c:/devkitPro/ctrulib/libctru/source/services/soc.c:1:0:
c:/devkitPro/ctrulib/libctru/include/sys/socket.h:83:10: note: previous declaration of 'sendto' was here
  ssize_t sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen);
          ^
c:/devkitPro/ctrulib/libctru/source/services/soc.c:577:5: error: conflicting types for 'recv'
int recv(int sockfd, void *buf, int len, int flags)
    ^
In file included from c:/devkitPro/ctrulib/libctru/source/services/soc.c:1:0:
c:/devkitPro/ctrulib/libctru/include/sys/socket.h:80:10: note: previous declaration of 'recv' was here
  ssize_t recv(int sockfd, void *buf, size_t len, int flags);
          ^
c:/devkitPro/ctrulib/libctru/source/services/soc.c:582:5: error: conflicting types for 'send'
int send(int sockfd, const void *buf, int len, int flags)
    ^
In file included from c:/devkitPro/ctrulib/libctru/source/services/soc.c:1:0:
c:/devkitPro/ctrulib/libctru/include/sys/socket.h:82:10: note: previous declaration of 'send' was here
  ssize_t send(int sockfd, const void *buf, size_t len, int flags);
          ^
c:/devkitPro/ctrulib/libctru/source/services/soc.c:587:5: error: conflicting types for 'getsockopt'
int getsockopt(int sockfd, int level, int option_name, void * data, int * data_len)
    ^
In file included from c:/devkitPro/ctrulib/libctru/source/services/soc.c:1:0:
c:/devkitPro/ctrulib/libctru/include/sys/socket.h:78:6: note: previous declaration of 'getsockopt' was here
  int getsockopt(int sockfd, int level, int optname, void *optval, socklen_t *optlen);
      ^
c:/devkitPro/ctrulib/libctru/source/services/soc.c:621:5: error: conflicting types for 'setsockopt'
int setsockopt(int sockfd, int level, int option_name, const void * data, int data_len)
    ^
In file included from c:/devkitPro/ctrulib/libctru/source/services/soc.c:1:0:
c:/devkitPro/ctrulib/libctru/include/sys/socket.h:84:6: note: previous declaration of 'setsockopt' was here
  int setsockopt(int sockfd, int level, int optname, const void *optval, socklen_t optlen);
      ^
c:/devkitPro/ctrulib/libctru/source/services/soc.c:725:5: error: conflicting types for 'getsockname'
int getsockname(int sockfd, struct sockaddr *addr, int * addr_len)
    ^
In file included from c:/devkitPro/ctrulib/libctru/source/services/soc.c:1:0:
c:/devkitPro/ctrulib/libctru/include/sys/socket.h:77:6: note: previous declaration of 'getsockname' was here
  int getsockname(int sockfd, struct sockaddr *addr, socklen_t *addrlen);
      ^
c:/devkitPro/ctrulib/libctru/source/services/soc.c:764:5: error: conflicting types for 'getpeername'
int getpeername(int sockfd, struct sockaddr *addr, int * addr_len)
    ^
In file included from c:/devkitPro/ctrulib/libctru/source/services/soc.c:1:0:
c:/devkitPro/ctrulib/libctru/include/sys/socket.h:76:6: note: previous declaration of 'getpeername' was here
  int getpeername(int sockfd, struct sockaddr *addr, socklen_t *addrlen);
      ^
make[1]: *** [soc.o] Error 1
make: *** [build] Error 2

EDIT: Solved, i had in my libctru folder old soc.c :/
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of

Attachments

  • NinjaCoinSetter.zip
    494.8 KB · Views: 302
  • Like
Reactions: 2Hack and cvskid

cvskid

Well-Known Member
Member
Joined
Apr 13, 2014
Messages
2,808
Trophies
2
XP
3,391
Country
United States

Agent Moose

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
407
Trophies
0
Age
33
XP
552
Country
United States
I do know someone asked earlier but how would I create a timer that could countdown from a minute to zero (or up) and it execute a command? (Pretty much execute a command every minute).

this is vital for what I am trying to do since after all, I am trying to make a metronome. :P

I don't understand the osGettime thing much so yeah :\
 

ernilos

Well-Known Member
Member
Joined
Aug 28, 2013
Messages
145
Trophies
0
Location
CAT
XP
280
Country
United States
I don't touch the 3DS since govanibastard started publishing what he stole from me...
Anyway, C++ and SDL support! It's really nice, now let's port some things ^-^
 

Reisyukaku

Onii-sama~
Developer
Joined
Feb 11, 2014
Messages
1,534
Trophies
2
Website
reisyukaku.org
XP
5,422
Country
United States
Anyone else having trouble with aemstro.py and test.vsh? .. i have my vars all set and i still get a traceback error.. I even tried punching in the commands by hand with absolute paths.. same error
 

NCDyson

Hello Boys...
Member
Joined
Nov 9, 2009
Messages
278
Trophies
1
XP
319
Country
United States
Anyone else having trouble with aemstro.py and test.vsh? .. i have my vars all set and i still get a traceback error.. I even tried punching in the commands by hand with absolute paths.. same error

the problem with Aemstro is that you pretty much need a specific revision of it to get it to work. For example, the latest aemstro doesn't work for me with the ctrulib examples, so I had to dowload the 11/17/14 revision to get it to compile those.

Also, make sure you're using python 3. I have 2.7 AND 3.4 installed on my system, it defaults to 2.7, so I had to change the makefile to run it with:
Code:
py -3 $(AEMSTRO)/aemstro_as.py $< ../$(notdir $<).shbin

Anyone had any luck messing with ctrgl?
 

Reisyukaku

Onii-sama~
Developer
Joined
Feb 11, 2014
Messages
1,534
Trophies
2
Website
reisyukaku.org
XP
5,422
Country
United States
the problem with Aemstro is that you pretty much need a specific revision of it to get it to work. For example, the latest aemstro doesn't work for me with the ctrulib examples, so I had to dowload the 11/17/14 revision to get it to compile those.

Also, make sure you're using python 3. I have 2.7 AND 3.4 installed on my system, it defaults to 2.7, so I had to change the makefile to run it with:
Code:
py -3 $(AEMSTRO)/aemstro_as.py $< ../$(notdir $<).shbin

Anyone had any luck messing with ctrgl?
Still no go.. and i did make sure it was using python 3.

Code:
C:\Users\Rei\Desktop\3dscraft-master>make
blocks.bin
cloud.bin
cursor.bin
terrain.bin
test.vsh
Traceback (most recent call last):
  File "c:/devkitPro/msys/aemstro_as.py", line 665, in <module>
    parseLine(dvlb.getDVLP(), vsh_dvle, line, False)
  File "c:/devkitPro/msys/aemstro_as.py", line 643, in parseLine
    dirList[name](dvlp, dvle, r.group(2))
  File "c:/devkitPro/msys/aemstro_as.py", line 535, in parseOut
    s[2]=s[2].replace(" ", "")
IndexError: list index out of range
make[1]: *** [test.vsh.o] Error 1
make: *** [build] Error 2
 

Reisyukaku

Onii-sama~
Developer
Joined
Feb 11, 2014
Messages
1,534
Trophies
2
Website
reisyukaku.org
XP
5,422
Country
United States
Off the top of my head I'd have to guess that it's still using the newer aemstro_as.py. The one from the revision I linked should only have 447 lines of code...
Guess it might not help that I linked to the revision of the wrong file...
this is the direct link to the one i used...
Well that worked but my plans still failed in the end, lol.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Yeah agreed