bioprof Posted January 25, 2009 Report Share Posted January 25, 2009 salut,j'ai tenté de compiler un programme d'essai et quand j'ai lancé make main.c, j'ai obtenu des messages d'erreur indiquant :makefile:28:\include\makefile\common.mk: no such file or directorymakefile:31:\modules\app_lcd\dummy\app_lcd.mk: no such file or directory make: *** No rule to make target '\modules\app_lcd\dummy\app_lcd.mk'. stopCes répertoires sont pourtant dans le dossier mio_base_v1_0bFaut-il configurer le path ? Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 26, 2009 Report Share Posted January 26, 2009 Don't forget environment variables:For temporary change:SET MIOS_PATH=c:\mios\trunkSET MIOS_BIN_PATH=c:\mios\trunk\bin(These directories should be where you have unzipped the mios_base zip file!)For permanent change:http://support.microsoft.com/kb/310519Sorry for the English :( Quote Link to comment Share on other sites More sharing options...
bioprof Posted January 28, 2009 Author Report Share Posted January 28, 2009 salut,thanks for information and it works but, now, when i try to compile an example programme , i have the error message from msys :C:\programmes\essai>makerm -rf _output/*rm -rf _outputmake: *** [clean] Error 1I don't understand what does it meanAnd now, ladies and gentllemen, the french versionquand j'essaie de compiler un programme d'exemple, j'obtiens de la part de msys le message d'erreur suivant :C:\programmes\essai>makerm -rf _output/*rm -rf _outputmake: *** [clean] Error 1qu'est-ce que cela signifie ? Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 28, 2009 Report Share Posted January 28, 2009 What are you making? Did you download a new zip file from ucapps.de recently? Quote Link to comment Share on other sites More sharing options...
bioprof Posted January 28, 2009 Author Report Share Posted January 28, 2009 i had follow the Quick Start Guide Toolchain Setup and installed all (SDCC, MinGW,MSYS with copy of mingw make in msys bin directory and gputils). Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 29, 2009 Report Share Posted January 29, 2009 Hmmm.... Which application are you trying to build? Quote Link to comment Share on other sites More sharing options...
bioprof Posted January 29, 2009 Author Report Share Posted January 29, 2009 sysEx sender from sdcard ( mios base apps, examples) Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 29, 2009 Report Share Posted January 29, 2009 I am unsure... I wonder if it is this bug: I think my compile environment is broke :-[Is the error different, each time you run 'make'?I am an ubuntu now, so it is difficult for me to test this...Perhaps try this: set PATH=c:\MSYS\1.0\bin;c:\Program Files\gputils\bin;c:\Program Files\SDCC\bin;c:\M inGW\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\ System32\Wbem make Sorry I can't answer in French! :( Can anyone help? Quote Link to comment Share on other sites More sharing options...
bioprof Posted January 29, 2009 Author Report Share Posted January 29, 2009 I think the problem come from vista 64 bits because i have installed all tool chain in windows xp and i have a compilation.I have some errors like unsigned pin not defined and it sound like the compilation works normally. ( sorry for the english but you are a master and i want to write in your language)Thanks a lot for all replies. Quote Link to comment Share on other sites More sharing options...
pilo Posted January 29, 2009 Report Share Posted January 29, 2009 salut / Hi!Ca ressemble à un problème de Makefile, rien de grave ;) (l'erreur du début). tu peux me dire ou trouver le truc que tu essais de compiler? (ca fait un moment que j'ai pas regardé tout ca, je suis un peu perdu...). Pour les autres, je sais pas, tu peux poster les messages d'erreurs? C'est des erreurs, ou juste des warnings?Pilo Quote Link to comment Share on other sites More sharing options...
bioprof Posted January 29, 2009 Author Report Share Posted January 29, 2009 salut,c'est dans le pack mios_base_v1_0b en téléchargement. Repertoire apps/exemples/ sdcard/sysex sender/Voici exactement le message de compilation que j'obtiens :putils\bin;%programfiles (86)%\SDCC\bin;%PATH%C:\programmes\essai>makerm -rf _output/*rm -rf _outputrm -rf *.cod *.map *.lstrm -rf *.hexmkdir -p _outputsh c:\mios_base_v1_0b\bin/mios-gpasm -c -p p18f452 -I./src -I c:\mios_base_v1_0b/include/asm -I c:\mios_base_v1_0b/include/share -I c:\mios_base_v1_0b/modules/app_lcd/dummy -DDEBUG_MODE=0 -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f -I c:\mios_base_v1_0b/modules/mios_wrapper c:\mios_base_v1_0b/modules/mios_wrapper/mios_wrapper.asm -o _output/mios_wrapper.osh c:\mios_base_v1_0b\bin/mios-gpasm -c -p p18f452 -I./src -I c:\mios_base_v1_0b/include/asm -I c:\mios_base_v1_0b/include/share -I c:\mios_base_v1_0b/modules/app_lcd/dummy -DDEBUG_MODE=0 c:\mios_base_v1_0b/modules/app_lcd/dummy/app_lcd.asm -o _output/app_lcd.osh c:\mios_base_v1_0b\bin/mios-sdcc -c -mpic16 -p18f452 --fommit-frame-pointer --optimize-goto --optimize-cmp --disable-warning 85 --obanksel=2 -I./src -I c:\mios_base_v1_0b/include/c -I c:\mios_base_v1_0b/include/share -DDEBUG_MODE=0 main.c -o _output/main.omain.c:89: error 20: Undefined identifier 'pin'main.c:89: error 20: Undefined identifier 'pin'main.c:94: error 20: Undefined identifier 'pin'main.c:94: error 20: Undefined identifier 'pin'make: *** [_output/main.o] Error 1 Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 29, 2009 Report Share Posted January 29, 2009 }Merci, pilo! I'll watch quietly from the background now :D Quote Link to comment Share on other sites More sharing options...
pilo Posted January 29, 2009 Report Share Posted January 29, 2009 Merci, pilo! I'll watch quietly from the background nowYou can still be usefull I think :) so keep watching :PAlors j'ai tout installé, et ca compile sans problème ici... (mais je suis sous linux c'est peut etre un peu plus simple, je sais pas).je note toutefois des différence entre nos ligne de compilation... ce qui est étrange et certainement la source du probème(j'ai remplacer le chemin vers mios par mios_base pour comparer rapidement). sh mios_base/mios-sdcc -c -mpic16 -p18f452 --fommit-frame-pointer --optimize-goto --optimize-cmp --disable-warning 85 --obanksel=2 -I./ -I./src -I mios_base/include/c -I mios_base/include/share -I mios_base_v1_0b/modules/sdcard -DDEBUG_MODE=0 main.c -o _output/main.o sh mios_base/mios-sdcc -c -mpic16 -p18f452 --fommit-frame-pointer --optimize-goto --optimize-cmp --disable-warning 85 --obanksel=2 -I./src -I mios_base/include/c -I mios_base/include/share -DDEBUG_MODE=0 main.c -o _output/main.o j'ai un -I. et -Imios_base_v1_0b/modules/sdcard ... on va demander à stryd_one :)Hey stryd, it seems that his make is not dealing with declaration of SDCC_INCLUDE over multiple files? The only include are those declared from common.mk, but the -I. (from the makefile in example directory) and -I $(MIOS_PATH)/modules/sdcard (from sdcard.mk) are ignored.... I don't know if this comes from make under windows... any idea? Thanks ;)Pilo Quote Link to comment Share on other sites More sharing options...
bioprof Posted January 30, 2009 Author Report Share Posted January 30, 2009 salut,voilà , j'ai réussi à compiler des programmes d'exemple à partir de mios_base_v1_0b. Tout fonctionne correctement sous xp ( à part sdcard).Merci à tous pour l'aide et le soutien et à bientôt. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 30, 2009 Report Share Posted January 30, 2009 Glad that it's working :)Pilo: yeh, something seems 'not right' there... But there's also that strange error about the 'pin' identifier, which comes from a line of code which only has a closing brace... It seems that the files have been edited or perhaps corrupted. Perhaps, all that is required here, is to download and unzip a fresh copy of the mios_base zip (obviously this would have been done on the XP box, so that would make sense)... Or maybe it's a strange msys/vista64 bug.... Quote Link to comment Share on other sites More sharing options...
pilo Posted January 31, 2009 Report Share Posted January 31, 2009 Ah super que ca marche :)sauf sdcard? je pense que comme le suggère stryd, tu devrais essayer de retelecharger l'archive, et de compiler a partir de ca.stryd thanks for the help ;) you're right about the pin identifier error... it cames from lines where there can't really be an error. Quote Link to comment Share on other sites More sharing options...
bioprof Posted February 4, 2009 Author Report Share Posted February 4, 2009 salut,Je voudrais encore vous remercier du support que vous apportez patiemment à des débutants et cela m'a été très utile.Je ne souhaite pas vraiment compiler sdcard parce que mon but était de créer un programme qui envoie certain message SysEx en fonction de l'interrupteur sur lequel on appuie.Grâce à vous j'ai créé le programme, il fonctionne et affiche ce que je souhaite.Par contre, je ne comprends pas bien la fonction display_tick. Quote Link to comment Share on other sites More sharing options...
pilo Posted February 6, 2009 Report Share Posted February 6, 2009 Salut,y'a pas de quoi, c'est normal de donner un coup de main :) Alors pour le Display_Tick : c'est une fonction qui est appellé par MIOS pour mettre à jour l'affichage. C'est une fonction qui est a redéfinir dans ton programme, pour afficher ce que tu veux. C'est fait ainsi, car l'affichage n'a pas forcément besoin d'etre mis à jour "souvent", et de ce fait, MIOS s'occupe de gérer quand il faut l'appeller.N'hésite pas à poster ton code, et si il y a des problèmes etc ;)Pilo Quote Link to comment Share on other sites More sharing options...
protofuse Posted November 25, 2009 Report Share Posted November 25, 2009 I think the problem come from vista 64 bits because i have installed all tool chain in windows xp and i have a compilation. I have some errors like unsigned pin not defined and it sound like the compilation works normally. ( sorry for the english but you are a master and i want to write in your language) Thanks a lot for all replies. comment t'as fait pour monter la toolchain sur un OS 64bits? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.