Discuss the development of new homebrew software, tools and libraries.
Moderators: cheriff, TyRaNiD
-
be2003
- Posts: 144
- Joined: Thu Apr 20, 2006 2:46 pm
Post
by be2003 »
try putting the int main() at the end behind the other functions...
just a thought
-
JesusXP
- Posts: 79
- Joined: Tue Jan 17, 2006 11:16 am
- Location: Ontario, Canada
Post
by JesusXP »
I thought as long as I had prototype declarations, it was legal to have main where it was, and functions after it.
-
TyRaNiD
- Posts: 907
- Joined: Sun Jan 18, 2004 12:23 am
Post
by TyRaNiD »
Well the main can be anywhere you like. However you dont really describe in what way it doesn't run etc, or what firmware you are using or...
-
be2003
- Posts: 144
- Joined: Thu Apr 20, 2006 2:46 pm
Post
by be2003 »
seriously... please state the firmware and host the file along with the makefile
-
Insert_witty_name
- Posts: 376
- Joined: Wed May 10, 2006 11:31 pm
Post
by Insert_witty_name »
I've answered this on the thread you posted on QJ.net
It was a 'trying to load a file that doesn't exist' kind of error ;)
-
JesusXP
- Posts: 79
- Joined: Tue Jan 17, 2006 11:16 am
- Location: Ontario, Canada
Post
by JesusXP »
Thanks for the help :)...I gotta stop programming high..
-
be2003
- Posts: 144
- Joined: Thu Apr 20, 2006 2:46 pm
Post
by be2003 »
isnt the //prototypes part of your code redundant...
also are you remembering to include all of your LIBS in your makefile