meladroit / oot3dhax_installer

erm, can I use OoT3D instead?
5 stars 2 forks source link

error: invalid type argument of unary '*' (have 'int') #7

Closed phase closed 9 years ago

phase commented 9 years ago

error

Getting this error when building

meladroit commented 9 years ago

Works on my end. We may have different versions of ctrulib.

phase commented 9 years ago

I've got the latest version from devkitARM, and looking through the code it seems that it should work, though I don't know what invalid type argument of unary '*' (have 'int') means since *srvGetSessionHandle returns what svcSendSyncRequest takes in.

meladroit commented 9 years ago

From devkitARM? Have you tried directly from smea's git repo?

phase commented 9 years ago

I have no idea where I'd put it in the dekitARM directory, nor how to build it.

meladroit commented 9 years ago

Clone the repo, make, make install, then create a symlink between ctrulib/libctru/ and $DEVKITPRO/libctru/ (or copy the folder over—if you're on Windows you probably don't have symlinks, I'm guessing). Alternatively, edit $DEVKITARM/3ds_rules so that $CTRULIB points to your git copy of ctrulib, not your devkitPro copy.

phase commented 9 years ago

Working great, but do we need oot3dhax_installer.xml?

meladroit commented 9 years ago

Yes. Otherwise you can't select OoT3D as a target. (As far as I know you can't use multiple mediatypes for non-selectable targets, so it's just easier to have selectable="true".) I guess you could regenerate it on the fly, if you wanted ...

phase commented 9 years ago

Alrighty, got everything working! :smile: