diggyprin / dop-mii

Automatically exported from code.google.com/p/dop-mii
GNU General Public License v3.0
0 stars 0 forks source link

DOP-Mii doesn't build on Linux #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I couldn't get DOP-Mii to build on Linux straight from a Subversion checkout, 
but I did manage it eventually!

It boiled down to three main problems:
   1. Use of Windows line endings and incorrect permissions in *.sh files
   2. #include statements using the wrong case, which means GCC can't find it.

I've modified all the source files to use the correct case - it would probably 
have been easier to rename the header files, but that doesn't fit very well 
into a patch. (Or, IIRC, svn.) The patch is attached to the issue, if you want 
it. I understand that it touches half the files in the repository, but it is 
just simple case changes.

The patch also removes ^Ms from PreBuild.sh and PostBuild.sh. You might not 
want this, so I've made a diff without those changes too. (Otherwise, run: sed 
's/^M//g' < PreBuild.sh | tee PreBuild.sh   for both files. Also the ^M should 
be an actual carriage return - use ^V^M to type it in bash.)

I'm not sure if the permissions are SVN's fault or not, but a simple 'find 
-name \*.sh -exec chmod +x \{\} \;' sorts that out.

Thanks.

Original issue reported on code.google.com by lucasjnj...@googlemail.com on 15 Jul 2010 at 11:16

GoogleCodeExporter commented 8 years ago
Sorry, the original patches contained my Makefile modifications (for some 
reason I had to manually add libogc to the linker path with -L, and the include 
directory to CFLAGS. I think my environment isn't configured right.)

Here are the revised patches.

Original comment by lucasjnj...@googlemail.com on 15 Jul 2010 at 11:19

Attachments:

GoogleCodeExporter commented 8 years ago
Should be done, as of Rev 109.

:)

Original comment by gb.luke on 16 Aug 2010 at 1:16

GoogleCodeExporter commented 8 years ago
Issue 40 has been merged into this issue.

Original comment by gb.luke on 16 Aug 2010 at 1:18