compilation help please
Home › Forums › Development › compilation help please
- This topic is empty.
-
AuthorPosts
-
February 9, 2011 at 5:59 am #28123cadbuscaParticipant
Pretty obvious that you did not merge the new images into the directory. Better check you did the libs too.
February 9, 2011 at 7:49 am #28124sonyParticipantOj !! …I’m sorry 😳 😳 , yesterday was too late, and I need sleep …
Yes, actually the error was not the same.And it was as simple as copying images directory while the package WiiMC + v6
To decompress images.zip the directory tree softly: imagesimages… pictures here.
Passing images to wiimcsourceimages …. the result was wiimcsourceimagesimages …. why the linker failedNow everything perfect wiimc WiiMC SVN843 + v6
Thank’s … and … I’m sorry 😕
February 9, 2011 at 6:06 pm #28125rodriesKeymasterThat’s ok, I’m happy you were able to solve it. 🙂
February 9, 2011 at 8:18 pm #28119cadbuscaParticipantYes, when you want to merge the contents of dir1images with dir2images you must copy dir1images and paste it into dir2. That’s the way windows works. The other option is to copy all of the images within dir1images and paste them into dir2images.
February 13, 2011 at 7:56 pm #28126swatpup32ParticipantHey
can you help me please?I keep getting an error message.
The problems I have since rev 849 I could only compile without problems.
I wanted to include a new logo,
as it did not work I have msys command (cd wiimc / make clean / make
now get only error messageslinking … wiimc.elf
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.5.1/../../../../powerpc-eabi/bin/ld.exe: cannot find -lmplayerwii
collect2: ld returned 1 exit status
make[1]: *** [/home/BadBoy/wiimc/wiimc.elf] Error 1
“make”: *** [build] Error 2> Process Exit Code: 2
> Time Taken: 11:06[/code]March 23, 2011 at 5:08 am #28127friiloaderParticipantI was compiling fine, I’m getting the exact same error since the latest revisions though, I’ve gone to the ends of the earth to solve it to no avail, tried different pc’s reinstallation of devkit like 10 times following the wiimc compile guide, I’m trying older revisions of wiimc at the moment to see if this same error still occurs….
I can’t find lmplayerwii anywhere on the system though so I know it’s not there and this is why I’m getting the error but I cannot find lmplayerwii on my system or the net…. what gives… ❓
looks like im missing all of these lmplayerwii -lavformat -lavcodec, where can I find them? I see these folders in the source folder but no lib it’s as if they don’t get compiled iono.. I don’t get it I didn’t have this problem before….
linking … wiimc.elf
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.5.1/../../../../powerpc-eabi/bin/ld.exe: cannot find -lmplayerwii“pulls hair out”
March 23, 2011 at 6:15 am #28128cadbuscaParticipantFollow the guide then update the additional libraries per the referenced post amd the Development tab/ Compile Intructions. SVN909 then compiles without error.
March 23, 2011 at 6:21 am #28129friiloaderParticipantI’ll try that, I’ll let you know how it goes soon. ty
March 23, 2011 at 7:03 am #28130friiloaderParticipantWhen I try to compile the updated version of libogc for enabling large file support used by tinysmb I get this error
> “make”
make[1]: Entering directory `/c/Users/pc2/Desktop/libogc/wii’
make[1]: *** No rule to make target `console.o’, needed by `/wii/libogc.a’. Stop.
make[1]: Leaving directory `/c/Users/pc2/Desktop/libogc/wii’
“make”: *** [wii] Error 2> Process Exit Code: 2
> Time Taken: 00:01Why is this happening?
http://www.wiimc.org/forum/viewtopic.php?f=5&t=1042&start=10#p4611
:::::EDIT::::: Never mind I was able to get around this by typing “unset PLATFORM” in the MySys Shell, now I am getting this:
linking … wiimc.elf
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.5.1/../../../../powerpc-eabi/bin/ld.exe: cannot find -lmplayerwii
collect2: ld returned 1 exit status
make[1]: *** [/c/wiimc/wiimc.elf] Error 1
“make”: *** [build] Error 2> Process Exit Code: 2
> Time Taken: 06:10I don’t understand, I thought ” -lmplayerwii”, “-lavformat”, “-lavcodec” and some others came with the source? could you tell me where to find these libs, I swear the first time I ever compiled wiimc I had NONE of these problems what so ever everything went smooth, how am I missing lmplayerwii if someone can tell me that I’ll be good to go.
:::EDIT:::::::: ok I figured it out, the lmplayerwii lib and others were not being compiled because strings.h was missing…. hints the complation of the libs was terminated as soon as the compiler noticed strings.h was missing although it continued about it’s way as if everything was going fine it only appeared that way and near the end of the compilation during the linking process the compiler noticed the libs were missing “they had not been compiled because strings.h was missing” . I didn’t realize that just because strings.h was missing the compiler would throw missing lib errors, my mistake was I figured I’d fix the missing strings.h after I fixed the missing lib problem, turns out I should have did it the other way around and my day would have been a bit smoother.
One more problem was that I wasn’t sure which SVN to use, thanks to jhb50 for clearing that up, this too was causing random errors.
March 23, 2011 at 9:18 pm #28131cadbuscaParticipantI assume you also used http://www.wiimc.org/forum/viewtopic.php?f=5&t=1167#p5248 to correct the strings.h problem. I’ve added that link to compile guide.
April 2, 2011 at 6:19 pm #28132dreamcox53ParticipantI have tried to get this to compile . had the strings.h issue got that worked out but ended up with another fatal error and the compile stopped . Is it possible to get a compiled version from someone or could someone create a torrent ?
April 3, 2011 at 12:11 am #28133dreamcox53Participant[quote- effective from r762: Ext 2/3/4 support.
Requires libext2fs-wii available at:
svn checkout http://libext2fs-wii.googlecode.com/svn/trunk
Build and install under …/devkitPro/libogc:
cd ; make ; make install– effective from r770: Large file support.
Requires zlib v1.2.5 available at:
svn checkout http://grrlib.googlecode.com/svn/trunk/GRRLIB/lib/zlib
Build and install under …/devkitPro/libogc:
cd ; make ; make install
Manually remove the old zlib v1.2.4: zlib.h, zconf.h and libz.a under …/devkitPro/portlibs/ppc/…Requires updated version of libogc for enabling large file support used by tinysmb.
Available at:
svn checkout https://devkitpro.svn.sourceforge.net/svnroot/devkitpro/trunk/libogc
Build and install under …/devkitPro/libogc:
cd ; make ; make install][/quote]I’m a noob at compiling and would like some help on the way I add these libraries . Just the correct way to install these (syntax) I know I’m missing these and cannot go any further and i know jhb50 said he wasn’t going to discuss these further , but if there was a description for noobs (today was the first day I attempted compiling) it would benefit more than myself , I’m sure .
April 3, 2011 at 12:50 am #28134cadbuscaParticipantIf you would read the WIIMC+ documentation the answer would be obvious.
April 3, 2011 at 3:36 pm #28135dreamcox53ParticipantCompiled and running .
-
AuthorPosts
- You must be logged in to reply to this topic.