DacoTaco / priiloader

A Wii homebrew application that can prevent and fix some user level bricks
GNU General Public License v2.0
544 stars 101 forks source link

Windows building bug since the rev66 #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I compiled it myself from a certain time priiloader but rev66 since I
arrived over there .. I use vista. Sorry for my bad English, I'm French ^ ^ '

Original issue reported on code.google.com by kynowo...@hotmail.fr on 19 Feb 2010 at 1:36

GoogleCodeExporter commented 9 years ago
and what would the error be?

Original comment by dac...@gmail.com on 19 Feb 2010 at 2:41

GoogleCodeExporter commented 9 years ago
Thank's google code --" . So I try to translate myself . Unable tu build the
priiloader rev66. I know that it happened with three persons with windows.

This is a log message :

1>------ Début de la régénération globale : Projet : Priiloader, 
Configuration :
Release Win32 ------
1>Actions de projet Makefile en cours
1>clean ...
1>../Shared/SubWCRev.exe "../." "../Shared/svnrev_template.h" 
"../Shared/svnrev.h"
1>SubWCRev: 'c:\Users\kyno\Desktop\Priiloader'
1>Last committed at revision 66
1>Updated to revision 66
1>certs.bin
1>bin2s -a 32 /c/Users/kyno/Desktop/Priiloader/priiloader/data/certs.bin |
powerpc-eabi-as -o certs.bin.o
1>echo "extern const u8" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"_end[];" > `(echo certs.bin | tr . _)`.h
1>echo "extern const u8" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"[];" >> `(echo certs.bin | tr . _)`.h
1>echo "extern const u32" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`_size";" >> `(echo certs.bin | tr . _)`.h
1>stub.bin
1>bin2s -a 32 /c/Users/kyno/Desktop/Priiloader/priiloader/data/stub.bin |
powerpc-eabi-as -o stub.bin.o
1>echo "extern const u8" `(echo stub.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"_end[];" > `(echo stub.bin | tr . _)`.h
1>echo "extern const u8" `(echo stub.bin | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`"[];"
>> `(echo stub.bin | tr . _)`.h
1>echo "extern const u32" `(echo stub.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`_size";" >> `(echo stub.bin | tr . _)`.h
1>error.cpp
1>font.cpp
1>gecko.cpp
1>hacks.cpp
1>main.cpp
1>c:/Users/kyno/Desktop/Priiloader/priiloader/source/main.cpp: In function 'void
BootMainSysMenu()':
1>c:/Users/kyno/Desktop/Priiloader/priiloader/source/main.cpp(1565): warning: 
taking
address of temporary
1>c:/Users/kyno/Desktop/Priiloader/priiloader/source/main.cpp: In function 'void
InstallLoadDOL()':
1>c:/Users/kyno/Desktop/Priiloader/priiloader/source/main.cpp(1719): warning:
comparison between signed and unsigned integer expressions
1>password.cpp
1>c:/Users/kyno/Desktop/Priiloader/priiloader/source/password.cpp: In function 
'void
password_check()':
1>c:/Users/kyno/Desktop/Priiloader/priiloader/source/password.cpp(364): warning:
deprecated conversion from string constant to 'char*'
1>settings.cpp
1>state.cpp
1>usbstorage.c
1>unstub.S
1>linking ... priiloader.elf
1>output ... priiloader.dol
1>OpenDolBoot /c/Users/kyno/Desktop/Priiloader/priiloader/priiloader.dol
../Installer/data/priiloader.app
1>./OpenDolBoot: ./OpenDolBoot: cannot execute binary file
1>make: *** [build] Error 126
1>Project : error PRJ0019: Un outil a retourné un code d'erreur à partir de 
"Actions
de projet Makefile en cours"
1>Le journal de génération a été enregistré à l'emplacement
"file://c:\Users\kyno\Desktop\Priiloader\priiloader\Release\BuildLog.htm"
1>Priiloader - 1 erreur(s), 3 avertissement(s)
2>------ Début de la régénération globale : Projet : Installer, 
Configuration :
Release Win32 ------
2>Actions de projet Makefile en cours
2>clean ...
2>certs.bin
2>bin2s -a 32 /c/Users/kyno/Desktop/Priiloader/Installer/data/certs.bin |
powerpc-eabi-as -o certs.bin.o
2>echo "extern const u8" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"_end[];" > `(echo certs.bin | tr . _)`.h
2>echo "extern const u8" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"[];" >> `(echo certs.bin | tr . _)`.h
2>echo "extern const u32" `(echo certs.bin | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`_size";" >> `(echo certs.bin | tr . _)`.h
2>priiloader.app
2>bin2s -a 32 /c/Users/kyno/Desktop/Priiloader/Installer/data/priiloader.app |
powerpc-eabi-as -o priiloader.app.o
2>echo "extern const u8" `(echo priiloader.app | sed -e 's/^\([0-9]\)/_\1/' | 
tr .
_)`"_end[];" > `(echo priiloader.app | tr . _)`.h
2>echo "extern const u8" `(echo priiloader.app | sed -e 's/^\([0-9]\)/_\1/' | 
tr .
_)`"[];" >> `(echo priiloader.app | tr . _)`.h
2>echo "extern const u32" `(echo priiloader.app | sed -e 's/^\([0-9]\)/_\1/' | 
tr .
_)`_size";" >> `(echo priiloader.app | tr . _)`.h
2>su.tik
2>bin2s -a 32 /c/Users/kyno/Desktop/Priiloader/Installer/data/su.tik |
powerpc-eabi-as -o su.tik.o
2>echo "extern const u8" `(echo su.tik | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"_end[];" > `(echo su.tik | tr . _)`.h
2>echo "extern const u8" `(echo su.tik | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`"[];"
>> `(echo su.tik | tr . _)`.h
2>echo "extern const u32" `(echo su.tik | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`_size";" >> `(echo su.tik | tr . _)`.h
2>su.tmd
2>bin2s -a 32 /c/Users/kyno/Desktop/Priiloader/Installer/data/su.tmd |
powerpc-eabi-as -o su.tmd.o
2>echo "extern const u8" `(echo su.tmd | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`"_end[];" > `(echo su.tmd | tr . _)`.h
2>echo "extern const u8" `(echo su.tmd | sed -e 's/^\([0-9]\)/_\1/' | tr . 
_)`"[];"
>> `(echo su.tmd | tr . _)`.h
2>echo "extern const u32" `(echo su.tmd | sed -e 's/^\([0-9]\)/_\1/' | tr .
_)`_size";" >> `(echo su.tmd | tr . _)`.h
2>main.cpp
2>linking ... Installer.elf
2>output ... Installer.dol
2>wiiload /c/Users/kyno/Desktop/Priiloader/Installer/Installer.dol
2>wiiload v0.5
2>coded by dhewg
2>compressing 972960 bytes... 40.64%
2>resolving 48.93.85-79
2>transfer failed.
2>error resolving hostname
2>Le journal de génération a été enregistré à l'emplacement
"file://c:\Users\kyno\Desktop\Priiloader\Installer\Release\BuildLog.htm"
2>Installer - 0 erreur(s), 0 avertissement(s)
========== Régénération globale : 1 a réussi, 1 a échoué, 0 a été 
ignoré ==========

Original comment by kynowo...@hotmail.fr on 19 Feb 2010 at 4:13

GoogleCodeExporter commented 9 years ago
Google translate sorry ^^"

Original comment by kynowo...@hotmail.fr on 19 Feb 2010 at 4:25

GoogleCodeExporter commented 9 years ago
i've the same issue.

Original comment by orwel....@free.fr on 19 Feb 2010 at 5:39

GoogleCodeExporter commented 9 years ago
Is it because of the improvement for linux? ( google translate ) 

Original comment by kynowo...@hotmail.fr on 19 Feb 2010 at 6:32

GoogleCodeExporter commented 9 years ago
it can't seem to run opendolboot :/
try changing the makefile from priiloader and let it say 
./OpenDolBoot $(OUTPUT).dol ../Installer/data/priiloader.app

if that fails change it to:
OpenDolBoot.exe $(OUTPUT).dol ../Installer/data/priiloader.app

Original comment by dac...@gmail.com on 19 Feb 2010 at 8:20

GoogleCodeExporter commented 9 years ago
change makefile by opendolboot ? juste the name ?

Original comment by kynowo...@hotmail.fr on 19 Feb 2010 at 9:54

GoogleCodeExporter commented 9 years ago
Ok, the first line (./OpenDolBoot $(OUTPUT).dol ../Installer/data/priiloader.app
) insn't working.
The second(OpenDolBoot.exe $(OUTPUT).dol ../Installer/data/priiloader.app
) works fine :)

Thanks :p

Original comment by orwel....@free.fr on 19 Feb 2010 at 9:57

GoogleCodeExporter commented 9 years ago
ha ^^' i love english ^^' I try ;) . thank's

Original comment by kynowo...@hotmail.fr on 19 Feb 2010 at 9:58

GoogleCodeExporter commented 9 years ago
know i understand ^^'

Original comment by kynowo...@hotmail.fr on 19 Feb 2010 at 9:59

GoogleCodeExporter commented 9 years ago
Thank's a lot !! :D

Original comment by kynowo...@hotmail.fr on 19 Feb 2010 at 10:03

GoogleCodeExporter commented 9 years ago
it compiles now?
what change worked? (cause both the makefile as it is works fine for me...)

Original comment by dac...@gmail.com on 19 Feb 2010 at 10:09

GoogleCodeExporter commented 9 years ago
for me, only your second choise (OpenDolBoot.exe ...). Put "./" before 
"OpenDolBoot
$(OUT..." don't work for me. My config, if it could help : win 7 x64, VS 2008

Thanks for your work ! :)

Original comment by orwel....@free.fr on 19 Feb 2010 at 10:17

GoogleCodeExporter commented 9 years ago
yes , when  : " OpenDolBoot.exe $(OUTPUT).dol ../Installer/data/priiloader.app "

It compiles perfectly ;) 

Thank's :) . savez-vous pourquoi sa ne marchez pas ? 

Original comment by kynowo...@hotmail.fr on 19 Feb 2010 at 10:18

GoogleCodeExporter commented 9 years ago
quand tu compiles sous linux, tu t'en fout de mettre l'extension de 
l'application,
elle est reconnue quand même. Par contre, Windows ne la reconnait pas si tu 
n'indique
pas le nom de fichier+l'extension... Merci Biloute ^^

Original comment by orwel....@free.fr on 19 Feb 2010 at 10:27

GoogleCodeExporter commented 9 years ago
alright. that tells me enough. ill commit the changes soon

Original comment by dac...@gmail.com on 19 Feb 2010 at 10:52

GoogleCodeExporter commented 9 years ago
also orwel. please keep it english.
and youre wrong

if you type "dir" in a windows command prompt windows will look in the known 
paths
(which are in the variable %PATH% , as seen by typing in the command path + the 
path
where you are in the command prompt) for the following :
dir.com
dir.exe
dir.bat

if it can't find those then it'll say command not found

however, i guess cygwin (where make is working in afaik) doesn't allow 
manipulation
like that (but it worked for me :/) unless the command is in 1 of the known 
paths

Original comment by dac...@gmail.com on 20 Feb 2010 at 8:44

GoogleCodeExporter commented 9 years ago
ok, sorry :/

Original comment by orwel....@free.fr on 20 Feb 2010 at 11:00

GoogleCodeExporter commented 9 years ago
priiloader 0.4 soon? :p

Original comment by kynowo...@hotmail.fr on 20 Feb 2010 at 11:50

GoogleCodeExporter commented 9 years ago
lol 0.4 will be released once i have some more epic changes. right now not much
changed...

Original comment by dac...@gmail.com on 20 Feb 2010 at 3:00

GoogleCodeExporter commented 9 years ago
ha.. And actually , you are a project for priiloader ?My name is Sherlock (h) xD

Original comment by kynowo...@hotmail.fr on 20 Feb 2010 at 6:10

GoogleCodeExporter commented 9 years ago

Original comment by dac...@gmail.com on 4 Mar 2010 at 8:18