Expanded Windows Compile Guide
Home › Forums › Development › Expanded Windows Compile Guide
- This topic is empty.
-
AuthorPosts
-
September 6, 2010 at 8:36 pm #25978cadbuscaParticipant
OK, I’m using the same SVN’s. I assume after you made libogc that you did a make install to update the devkitpro libogc, otherwise you would of had errors. Did you add the dol to a wiimc subdirectory that contains all the other files that were downloaded when you installed the official 1.0.9 release? I’ve had no problems with that process.
Sorry I cannot be of more help.September 6, 2010 at 8:47 pm #25979bambiParticipantNothing appear at my c:Wiimc folder
Log:
ls ./libexif.sym -no-undefined -version-info 15:1:3 -o libexif.la -rpath /c/dev
kitPro/portlibs/ppc/lib exif-byte-order.lo exif-content.lo exif-data.lo exif-ent
ry.lo exif-format.lo exif-ifd.lo exif-loader.lo exif-log.lo exif-mem.lo exif-mno
te-data.lo exif-tag.lo exif-utils.lo libmnote-canon.la libmnote-fuji.la libmnot
e-olympus.la libmnote-pentax.la -lm
libtool: link: rm -fr .libs/libexif.a .libs/libexif.la .libs/libexif.lai
libtool: link: (cd .libs/libexif.lax/libmnote-canon.a && powerpc-eabi-ar x “/c/w
iimc/libs/libexif/libexif/./.libs/libmnote-canon.a”)
libtool: link: (cd .libs/libexif.lax/libmnote-fuji.a && powerpc-eabi-ar x “/c/wi
imc/libs/libexif/libexif/./.libs/libmnote-fuji.a”)
libtool: link: (cd .libs/libexif.lax/libmnote-olympus.a && powerpc-eabi-ar x “/c
/wiimc/libs/libexif/libexif/./.libs/libmnote-olympus.a”)
libtool: link: (cd .libs/libexif.lax/libmnote-pentax.a && powerpc-eabi-ar x “/c/
wiimc/libs/libexif/libexif/./.libs/libmnote-pentax.a”)
libtool: link: powerpc-eabi-ar cru .libs/libexif.a exif-byte-order.o exif-conte
nt.o exif-data.o exif-entry.o exif-format.o exif-ifd.o exif-loader.o exif-log.o
exif-mem.o exif-mnote-data.o exif-tag.o exif-utils.o .libs/libexif.lax/libmnote
-canon.a/exif-mnote-data-canon.o .libs/libexif.lax/libmnote-canon.a/mnote-canon-
entry.o .libs/libexif.lax/libmnote-canon.a/mnote-canon-tag.o .libs/libexif.lax/
libmnote-fuji.a/exif-mnote-data-fuji.o .libs/libexif.lax/libmnote-fuji.a/mnote-f
uji-entry.o .libs/libexif.lax/libmnote-fuji.a/mnote-fuji-tag.o .libs/libexif.la
x/libmnote-olympus.a/exif-mnote-data-olympus.o .libs/libexif.lax/libmnote-olympu
s.a/mnote-olympus-entry.o .libs/libexif.lax/libmnote-olympus.a/mnote-olympus-tag
.o .libs/libexif.lax/libmnote-pentax.a/exif-mnote-data-pentax.o .libs/libexif.l
ax/libmnote-pentax.a/mnote-pentax-entry.o .libs/libexif.lax/libmnote-pentax.a/mn
ote-pentax-tag.o
libtool: link: powerpc-eabi-ranlib .libs/libexif.a
libtool: link: rm -fr .libs/libexif.lax
libtool: link: ( cd “.libs” && rm -f “libexif.la” && ln -s “../libexif.la” “libe
xif.la” )
make[2]: Leaving directory `/c/wiimc/libs/libexif/libexif’
Making all in test
make[2]: Entering directory `/c/wiimc/libs/libexif/test’
Making all in nls
make[3]: Entering directory `/c/wiimc/libs/libexif/test/nls’
make[3]: Nothing to be done for `all’.
make[3]: Leaving directory `/c/wiimc/libs/libexif/test/nls’
make[3]: Entering directory `/c/wiimc/libs/libexif/test’
make[3]: Nothing to be done for `all-am’.
make[3]: Leaving directory `/c/wiimc/libs/libexif/test’
make[2]: Leaving directory `/c/wiimc/libs/libexif/test’
Making all in doc
make[2]: Entering directory `/c/wiimc/libs/libexif/doc’
make[2]: Nothing to be done for `all’.
make[2]: Leaving directory `/c/wiimc/libs/libexif/doc’
Making all in binary
make[2]: Entering directory `/c/wiimc/libs/libexif/binary’
make[2]: Nothing to be done for `all’.
make[2]: Leaving directory `/c/wiimc/libs/libexif/binary’
Making all in contrib
make[2]: Entering directory `/c/wiimc/libs/libexif/contrib’
Making all in examples
make[3]: Entering directory `/c/wiimc/libs/libexif/contrib/examples’
make[3]: Nothing to be done for `all’.
make[3]: Leaving directory `/c/wiimc/libs/libexif/contrib/examples’
make[3]: Entering directory `/c/wiimc/libs/libexif/contrib’
make[3]: Nothing to be done for `all-am’.
make[3]: Leaving directory `/c/wiimc/libs/libexif/contrib’
make[2]: Leaving directory `/c/wiimc/libs/libexif/contrib’
make[2]: Entering directory `/c/wiimc/libs/libexif’
make[2]: Leaving directory `/c/wiimc/libs/libexif’
make[1]: Leaving directory `/c/wiimc/libs/libexif’ed.seykota@TI /c/wiimc/libs/libexif
$ make install
Making install in m4m
make[1]: Entering directory `/c/wiimc/libs/libexif/m4m’
make[2]: Entering directory `/c/wiimc/libs/libexif/m4m’
make[2]: Nothing to be done for `install-exec-am’.
make[2]: Nothing to be done for `install-data-am’.
make[2]: Leaving directory `/c/wiimc/libs/libexif/m4m’
make[1]: Leaving directory `/c/wiimc/libs/libexif/m4m’
Making install in po
make[1]: Entering directory `/c/wiimc/libs/libexif/po’
if test “libexif” = “gettext-tools”; then
/bin/sh .././mkinstalldirs /c/devkitPro/portlibs/ppc/share/gettext/po;for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed e
[email protected] [email protected] insert-header.sin Rules-quot Makevars.templat
e; do
/bin/install -c -m 644 ./$file
/c/devkitPro/portlibs/ppc/share/gettext/po/$file;
done;
for file in Makevars; do
rm -f /c/devkitPro/portlibs/ppc/share/gettext/po/$file;
done;
else
: ;
fi
make[1]: Leaving directory `/c/wiimc/libs/libexif/po’
Making install in libexif
make[1]: Entering directory `/c/wiimc/libs/libexif/libexif’
make[2]: Entering directory `/c/wiimc/libs/libexif/libexif’
test -z “/c/devkitPro/portlibs/ppc/lib” || /bin/mkdir -p “/c/devkitPro/portlibs/
ppc/lib”
/bin/sh ../libtool –mode=install /bin/install -c libexif.la ‘/c/devkitPro/
portlibs/ppc/lib’
libtool: install: /bin/install -c .libs/libexif.lai /c/devkitPro/portlibs/ppc/li
b/libexif.la
libtool: install: /bin/install -c .libs/libexif.a /c/devkitPro/portlibs/ppc/lib/
libexif.a
libtool: install: chmod 644 /c/devkitPro/portlibs/ppc/lib/libexif.a
libtool: install: powerpc-eabi-ranlib /c/devkitPro/portlibs/ppc/lib/libexif.a
Libraries have been installed in:
/c/devkitPro/portlibs/ppc/libIf you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR’
flag during linking and do at least one of the following:
– add LIBDIR to the `LD_RUN_PATH’ environment variable
during linking
– use the `-Wl,-rpath -Wl,LIBDIR’ linker flagSee any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
test -z “/c/devkitPro/portlibs/ppc/include/libexif” || /bin/mkdir -p “/c/devkitP
ro/portlibs/ppc/include/libexif”
/bin/install -c -m 644 exif-byte-order.h exif-content.h exif-data.h exif-data-t
ype.h exif-entry.h exif-format.h exif-ifd.h exif-loader.h exif-log.h exif-mem.h
exif-mnote-data.h exif-tag.h exif-utils.h _stdint.h ‘/c/devkitPro/portlibs/ppc/i
nclude/libexif’
make[2]: Leaving directory `/c/wiimc/libs/libexif/libexif’
make[1]: Leaving directory `/c/wiimc/libs/libexif/libexif’
Making install in test
make[1]: Entering directory `/c/wiimc/libs/libexif/test’
Making install in nls
make[2]: Entering directory `/c/wiimc/libs/libexif/test/nls’
make[3]: Entering directory `/c/wiimc/libs/libexif/test/nls’
make[3]: Nothing to be done for `install-exec-am’.
make[3]: Nothing to be done for `install-data-am’.
make[3]: Leaving directory `/c/wiimc/libs/libexif/test/nls’
make[2]: Leaving directory `/c/wiimc/libs/libexif/test/nls’
make[2]: Entering directory `/c/wiimc/libs/libexif/test’
make[3]: Entering directory `/c/wiimc/libs/libexif/test’
make[3]: Nothing to be done for `install-exec-am’.
make[3]: Nothing to be done for `install-data-am’.
make[3]: Leaving directory `/c/wiimc/libs/libexif/test’
make[2]: Leaving directory `/c/wiimc/libs/libexif/test’
make[1]: Leaving directory `/c/wiimc/libs/libexif/test’
Making install in doc
make[1]: Entering directory `/c/wiimc/libs/libexif/doc’
make[2]: Entering directory `/c/wiimc/libs/libexif/doc’
make[2]: Nothing to be done for `install-exec-am’.
test -z “/c/devkitPro/portlibs/ppc/doc/libexif” || /bin/mkdir -p “/c/devkitPro/p
ortlibs/ppc/doc/libexif”
make[2]: Leaving directory `/c/wiimc/libs/libexif/doc’
make[1]: Leaving directory `/c/wiimc/libs/libexif/doc’
Making install in binary
make[1]: Entering directory `/c/wiimc/libs/libexif/binary’
make[2]: Entering directory `/c/wiimc/libs/libexif/binary’
make[2]: Nothing to be done for `install-exec-am’.
make[2]: Nothing to be done for `install-data-am’.
make[2]: Leaving directory `/c/wiimc/libs/libexif/binary’
make[1]: Leaving directory `/c/wiimc/libs/libexif/binary’
Making install in contrib
make[1]: Entering directory `/c/wiimc/libs/libexif/contrib’
Making install in examples
make[2]: Entering directory `/c/wiimc/libs/libexif/contrib/examples’
make[3]: Entering directory `/c/wiimc/libs/libexif/contrib/examples’
make[3]: Nothing to be done for `install-exec-am’.
make[3]: Nothing to be done for `install-data-am’.
make[3]: Leaving directory `/c/wiimc/libs/libexif/contrib/examples’
make[2]: Leaving directory `/c/wiimc/libs/libexif/contrib/examples’
make[2]: Entering directory `/c/wiimc/libs/libexif/contrib’
make[3]: Entering directory `/c/wiimc/libs/libexif/contrib’
make[3]: Nothing to be done for `install-exec-am’.
make[3]: Nothing to be done for `install-data-am’.
make[3]: Leaving directory `/c/wiimc/libs/libexif/contrib’
make[2]: Leaving directory `/c/wiimc/libs/libexif/contrib’
make[1]: Leaving directory `/c/wiimc/libs/libexif/contrib’
make[1]: Entering directory `/c/wiimc/libs/libexif’
make[2]: Entering directory `/c/wiimc/libs/libexif’
make[2]: Nothing to be done for `install-exec-am’.
test -z “/c/devkitPro/portlibs/ppc/doc/libexif” || /bin/mkdir -p “/c/devkitPro/p
ortlibs/ppc/doc/libexif”
/bin/install -c -m 644 README AUTHORS NEWS ChangeLog ABOUT-NLS COPYING ‘/c/devk
itPro/portlibs/ppc/doc/libexif’
test -z “/c/devkitPro/portlibs/ppc/lib/pkgconfig” || /bin/mkdir -p “/c/devkitPro
/portlibs/ppc/lib/pkgconfig”
/bin/install -c -m 644 libexif.pc ‘/c/devkitPro/portlibs/ppc/lib/pkgconfig’
make[2]: Leaving directory `/c/wiimc/libs/libexif’
make[1]: Leaving directory `/c/wiimc/libs/libexif’ed.seykota@TI /c/wiimc/libs/libexif
$ cd ..ed.seykota@TI /c/wiimc/libs
$ ===============================
sh: ===============================: command not founded.seykota@TI /c/wiimc/libs
$ cd libntfs/ed.seykota@TI /c/wiimc/libs/libntfs
$ make
make -C source PLATFORM=cube BUILD=cube_release
make[1]: Entering directory `/c/wiimc/libs/libntfs/source’
make[2]: `/c/wiimc/libs/libntfs/source/./../lib/cube/libntfs.a’ is up to date.
make[1]: Leaving directory `/c/wiimc/libs/libntfs/source’
make -C source PLATFORM=wii BUILD=wii_release
make[1]: Entering directory `/c/wiimc/libs/libntfs/source’
make[2]: `/c/wiimc/libs/libntfs/source/./../lib/wii/libntfs.a’ is up to date.
make[1]: Leaving directory `/c/wiimc/libs/libntfs/source’ed.seykota@TI /c/wiimc/libs/libntfs
$ make install
make -C source PLATFORM=cube BUILD=cube_release
make[1]: Entering directory `/c/wiimc/libs/libntfs/source’
make[2]: `/c/wiimc/libs/libntfs/source/./../lib/cube/libntfs.a’ is up to date.
make[1]: Leaving directory `/c/wiimc/libs/libntfs/source’
make -C source PLATFORM=wii BUILD=wii_release
make[1]: Entering directory `/c/wiimc/libs/libntfs/source’
make[2]: `/c/wiimc/libs/libntfs/source/./../lib/wii/libntfs.a’ is up to date.
make[1]: Leaving directory `/c/wiimc/libs/libntfs/source’
make -C source install
make[1]: Entering directory `/c/wiimc/libs/libntfs/source’
cp ../include/ntfs.h /c/devkitPro/libogc/include
cp ../lib/wii/libntfs.a /c/devkitPro/libogc/lib/wii
cp ../lib/cube/libntfs.a /c/devkitPro/libogc/lib/cube
make[1]: Leaving directory `/c/wiimc/libs/libntfs/source’ed.seykota@TI /c/wiimc/libs/libntfs
$
sh:
: command not founded.seykota@TI /c/wiimc/libs/libntfs
$ cd ..ed.seykota@TI /c/wiimc/libs
$ cd opencore-amr/
sh: cd: opencore-amr/: No such file or directoryed.seykota@TI /c/wiimc/libs
$ make
make: *** No targets specified and no makefile found. Stop.ed.seykota@TI /c/wiimc/libs
$ make install
make: *** No rule to make target `install’. Stop.ed.seykota@TI /c/wiimc/libs
$ cd ..ed.seykota@TI /c/wiimc
$ cd openjpeg/
sh: cd: openjpeg/: No such file or directoryed.seykota@TI /c/wiimc
$ make
cd source/mplayer; make -f Makefile; cd ../..
make[1]: Entering directory `/c/wiimc/source/mplayer’
/c/devkitPro/devkitPPC/bin/powerpc-eabi-gcc -I/c/devkitPro/portlibs/ppc/include
-I/c/devkitPro/libogc/include -Ilibdvdread4 -Ilibdvdnav -I/c/devkitPro/portlibs/
ppc/include/freetype2 -I/c/devkitPro/libogc/include/ogc/machine -I/c/devkitPro/d
evkitPPC/../buildscripts/powerpc-eabi/gcc/gcc/include -MD -MP -std=gnu99 -D_LARG
EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mpaired -fno-tree-vectorize -I. -Os -pipe –
DGEKKO -mrvl -mcpu=750 -mtune=750 -meabi -mhard-float -mdouble-float -c -o comm
and.o command.c
In file included from command.c:40:
libvo/font_load.h:25:22: error: ft2build.h: No such file or directory
libvo/font_load.h:26:10: error: #include expects “FILENAME” or
In file included from command.c:40:
libvo/font_load.h:60: error: expected specifier-qualifier-list before ‘FT_Face’
make[1]: *** [command.o] Error 1
make[1]: Leaving directory `/c/wiimc/source/mplayer’
filebrowser.cpp
In file included from c:/wiimc/source/wiimc.h:11,
from c:/wiimc/source/filebrowser.cpp:22:
c:/wiimc/source/utils/FreeTypeGX.h:27:22: warning: ft2build.h: No such file or d
irectory
c:/wiimc/source/utils/FreeTypeGX.h:28:10: error: #include expects “FILENAME” orc:/wiimc/source/utils/FreeTypeGX.h:29:10: error: #include expects “FILENAME” or
make[1]: *** [filebrowser.o] Error 1
make: *** [build] Error 2ed.seykota@TI /c/wiimc
$ make install
make: *** No rule to make target `install’. Stop.ed.seykota@TI /c/wiimc
$
sh:
: command not founded.seykota@TI /c/wiimc
$ cd ..ed.seykota@TI /c
$ cd ..ed.seykota@TI /
$ make
make: *** No targets specified and no makefile found. Stop.ed.seykota@TI /
$ exitSeptember 6, 2010 at 9:13 pm #25980AnonymousInactiveThis is error I’m getting trying to compile first library. What am i doing wrong? 🙁
MS@MSWXP /d/developing/WiiMC/libs/fribidi
$ make
make all-recursive
make[1]: Entering directory `/d/developing/WiiMC/libs/fribidi'
Making all in gen.tab
make[2]: Entering directory `/d/developing/WiiMC/libs/fribidi/gen.tab'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/d/developing/WiiMC/libs/fribidi/gen.tab'
Making all in charset
make[2]: Entering directory `/d/developing/WiiMC/libs/fribidi/charset'
.deps/fribidi-char-sets-cap-rtl.Plo:44: *** missing separator. Stop.
make[2]: Leaving directory `/d/developing/WiiMC/libs/fribidi/charset'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/developing/WiiMC/libs/fribidi'
make: *** [all] Error 2September 6, 2010 at 9:35 pm #25981cadbuscaParticipantEd: my guess is you missed step 3.. nothing in your portlibs eg: ft2type.h
Silent: Not enough info. I have no idea what you did before that make command, so I can’t tell what you did wrong.
Follow the guide precisely, and then update the libogc as others have explained.
September 6, 2010 at 10:33 pm #25982AnonymousInactiveFixed it myself. I looked into /d/developing/WiiMC/libs/fribidi/charset/.deps/fribidi-char-sets-cap-rtl.Plo at line 44 and there was a strange escape sequence (because i had # character in the path where i installed devkitPro). Uninstalled it, installed it back to “clean” directory and got everything working.
I can enjoy WiiMC and WiiMC Plus now 😀 Thanks jhb50!
September 11, 2010 at 6:15 pm #25983Jake7bballParticipantTo anyone interested, my compiled dol now runs. Turned out to be the versions of the portlibs I was using. Updated them all to the latest svn revisions, and now runs without issue.
September 12, 2010 at 4:46 am #25984cadbuscaParticipantStep 3 was explicit as to the portlib versions. Are you telling me they are wrong or were you using older versions than these? I think I am still using those versions.
September 16, 2010 at 8:36 pm #25985swatpup32ParticipantHello,
has changed while compiling something? I get an error message againmem2_manager.o: In function `mem2_free’:
c:/devkitPro/msys/home/BadBoy/wiimc/source/utils/mem2_manager.c:176: undefined r
eference to `__lwp_heap_block_size’
mem2_manager.o: In function `mem2_memalign’:
c:/devkitPro/msys/home/BadBoy/wiimc/source/utils/mem2_manager.c:145: undefined r
eference to `__lwp_heap_block_size’
collect2: ld returned 1 exit status
make[1]: *** [/home/BadBoy/wiimc/wiimc.elf] Error 1
make: *** [build] Error 2September 16, 2010 at 10:05 pm #25986cadbuscaParticipantThe last SVN I am using is 508 which compiles fine…and my enhancements merge fine as well.
Starting with 509 MASSIVE changes have been made with which I would expect lots of problems.September 20, 2010 at 6:15 am #25987twilbrandParticipantI was able to compile rev519 and 520 just fine following the tutorial, so I’m not sure what is causing your problem, BadBoy… 🙁
September 20, 2010 at 12:25 pm #25988cadbuscaParticipantGood to hear the tutorial is still correct and that 520 compiles correctly.. I’m about to jump up to 520 myself.
September 20, 2010 at 2:04 pm #25989AnonymousInactive@jhb50 wrote:
Good to hear the tutorial is still correct and that 520 compiles correctly.. I’m about to jump up to 520 myself.
Great, hope you’ll update your patch too 😉
September 20, 2010 at 6:31 pm #25990cadbuscaParticipantFor sure
September 22, 2010 at 11:16 pm #25991SkankstaParticipantAs one of the other posters mentioned, I’m getting errors compiling recent SVN sources at the end now:
linking … wiimc.elf
mem2_manager.o: In function `mem2_free’:
c:/users/nobody/wii/wiimc/source/utils/mem2_manager.c:204: undefined reference to `__lwp_heap_block_size’
mem2_manager.o: In function `mem2_memalign’:
c:/users/nobody/wii/wiimc/source/utils/mem2_manager.c:173: undefined reference to `__lwp_heap_block_size’
collect2: ld returned 1 exit status
make[1]: *** [/c/users/nobody/wii/wiimc/wiimc.elf] Error 1
make: *** [build] Error 2I’m using the latest libogic SVN, is there something else I need to update?
September 23, 2010 at 10:21 am #25992VoltManEXEParticipant@cmb wrote:
As one of the other posters mentioned, I’m getting errors compiling recent SVN sources at the end now:
linking … wiimc.elf
mem2_manager.o: In function `mem2_free’:
c:/users/nobody/wii/wiimc/source/utils/mem2_manager.c:204: undefined reference to `__lwp_heap_block_size’
mem2_manager.o: In function `mem2_memalign’:
c:/users/nobody/wii/wiimc/source/utils/mem2_manager.c:173: undefined reference to `__lwp_heap_block_size’
collect2: ld returned 1 exit status
make[1]: *** [/c/users/nobody/wii/wiimc/wiimc.elf] Error 1
make: *** [build] Error 2I’m using the latest libogic SVN, is there something else I need to update?
I have the same problem, latest SVN afaik, have tried to recompile everything but still the same error, also checked the libs folder to see if i had to compile another libary but that was not the case so i am puzzeled what to do now?
-
AuthorPosts
- You must be logged in to reply to this topic.