-
booster666
- Posts: 3
- Joined: Mon Dec 22, 2008 11:27 am
Post
by booster666 » Mon Dec 22, 2008 11:31 am
Hello,
I am creating a new version of Pong 2,
But when i 'make' the project (ALT + 1)
In the output i get:
Code: Select all
> "make"
linking ... pong2.elf
h:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld.exe: cannot find -lfreetype
collect2: ld returned 1 exit status
make[1]: *** [/h/DevkitproProjects/first/pong2/pong2.elf] Error 1
"make": *** [build] Error 2
> Process Exit Code: 2
> Time Taken: 00:00
What do i need to do??
Thanks
-
cuppm
- Posts: 9
- Joined: Sun Dec 14, 2008 11:04 pm
Post
by cuppm » Mon Dec 22, 2008 8:45 pm
Did you downloaded the GC/Wii FreeType library build and put the headers and lib in the libogc folder like it specifies? If you didn't put it there, is the lib path specified in your make file?
-
booster666
- Posts: 3
- Joined: Mon Dec 22, 2008 11:27 am
Post
by booster666 » Tue Dec 23, 2008 11:27 am
I installed it in the libogc folder, but now i get this error.
Code: Select all
linking ... pong2.elf
h:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld.exe: cannot find -lmxml
collect2: ld returned 1 exit status
make[1]: *** [/h/DevkitproProjects/first/pong2/pong2.elf] Error 1
"make": *** [build] Error 2
> Process Exit Code: 2
> Time Taken: 00:00
-
cuppm
- Posts: 9
- Joined: Sun Dec 14, 2008 11:04 pm
Post
by cuppm » Tue Dec 23, 2008 12:53 pm
The "cannot find -l<something>" error means it can't find the <something> library. In this case it means it can't find the mxml library. Try looking here
http://code.google.com/p/wiichat/.
-
booster666
- Posts: 3
- Joined: Mon Dec 22, 2008 11:27 am
Post
by booster666 » Tue Dec 23, 2008 2:10 pm
cuppm wrote:The "cannot find -l<something>" error means it can't find the <something> library. In this case it means it can't find the mxml library. Try looking here
http://wiibrew.org/wiki/Development_Tools.
I have installed mxml libary but i think i am missing this file:libmxml.a
edit: don't link to banned sites
This i got:H:\devkitPro\libogc\include\mxml.h
This i dont have:H:\devkitPro\libogc\lib\wii\libmxml.a
libmxml.a isnt enywhere on my PC or in the mxml-2.5.tar.gz
-
segers_j
- Posts: 2
- Joined: Tue Feb 24, 2009 8:24 pm
Post
by segers_j » Fri Mar 06, 2009 4:04 am
ld is the linker, the linker has nothing to do with .h files. The .a file is what the linker wants. It must be named lib<whatever the linker is looking for>.a and it must be in the paths the linker searches as defined in the make file.
http://wiichat.googlecode.com/files/mxml-wii.tgz includes the .a file in mxml-wii/mxml/lib.
Happy coding -- Jerry
Who is online
Users browsing this forum: No registered users and 2 guests