Re: [Iup-users] Tecmake Is Giving Me Errors
I followed Tecmake installation instructions, but I'm confused about config.mak vs tecmakewin.mak. Is the user supposed to paste a copy of tecmakewin.mak into a source folder and rename it to config.mak? No. Neither, actually, to build IUP. IUP already has inside its source the .mak files ready. If you are not building IUP from sources, Tecmake is not a very user friendly tool. Especially in Windows. Tecmake is actually a gnu Makefile. I will send more details in the latest message you sent. Best, Scuri Em dom., 27 de mar. de 2022 às 02:54, Kaz Foxsen escreveu: > Hello, > > I'm trying to get Tecmake to work so I can attach an iuplua51 console > to an .exe, but Tecmake is giving me errors when trying to use it on a > simple pair of test files. I followed Tecmake installation > instructions, but I'm confused about config.mak vs tecmakewin.mak. Is > the user supposed to paste a copy of tecmakewin.mak into a source > folder and rename it to config.mak? > > If I have tecmakewin.mak in my app's directory and run "tecmake > mingw4_64" (with "Location of this file" set to "TECMAKE = > $(TECMAKE_HOME)/tecmakewin.mak") I get this error: > "mingw32-make: *** No rule to make target 'config.mak', needed by > '.wdep'. Stop." > > If I change the name to config.mak, then I get these two lines repeating: > "config.mak:60: warning: overriding recipe for target 'sysinfo' > config.mak:60: warning: ignoring old recipe for target 'sysinfo'" then > "config.mak:138: *** Too many open files. Stop." It doesn't matter > if I keep "TECMAKE = $(TECMAKE_HOME)/tecmakewin.mak" or change it to > "TECMAKE = D:/Programming/Misc_Lua/embed/config.mak". > > How can I get Tecmake to work? > > > ___ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users > ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users
Re: [Iup-users] Tecmake Is Giving Me Errors
I tried downloading the IUP 3.30 source files to see what its config.mak looked like. I copied it into my folder where my test files are and added "NO_DEPEND = YES" to it to get rid of an error about dependency, having seen that suggested in the mailing list archive for other Tecmake problems. Now the console gives me: ''; echo 'Tecmake: Starting [ test:mingw4_64 ]' if [ ! -d ../obj/mingw4_64 ] ; then mkdir -p ../obj/mingw4_64 ; fi ! was unexpected at this time. mingw32-make: *** [d:\Apps\Programming\Tecmake\tecmakewin.mak:1706: ../obj/mingw4_64] Error 255 In that file, line 1706 is: if [ ! -d $@ ] ; then mkdir -p $@ ; fi I don't know what this means. How do I fix it? My end goal with Tecmake is to be able to add an updated error console to an app I upgraded from IUP 2.5 to 3.30. Since the upgrade, the error console no longer appears when the app crashes and I could really use its helpful information. The original app used a .LOH file to add the console, and researching that extension lead me to Tecmake. On Sun, Mar 27, 2022 at 1:53 AM Kaz Foxsen wrote: > > Hello, > > I'm trying to get Tecmake to work so I can attach an iuplua51 console > to an .exe, but Tecmake is giving me errors when trying to use it on a > simple pair of test files. I followed Tecmake installation > instructions, but I'm confused about config.mak vs tecmakewin.mak. Is > the user supposed to paste a copy of tecmakewin.mak into a source > folder and rename it to config.mak? > > If I have tecmakewin.mak in my app's directory and run "tecmake > mingw4_64" (with "Location of this file" set to "TECMAKE = > $(TECMAKE_HOME)/tecmakewin.mak") I get this error: > "mingw32-make: *** No rule to make target 'config.mak', needed by > '.wdep'. Stop." > > If I change the name to config.mak, then I get these two lines repeating: > "config.mak:60: warning: overriding recipe for target 'sysinfo' > config.mak:60: warning: ignoring old recipe for target 'sysinfo'" then > "config.mak:138: *** Too many open files. Stop." It doesn't matter > if I keep "TECMAKE = $(TECMAKE_HOME)/tecmakewin.mak" or change it to > "TECMAKE = D:/Programming/Misc_Lua/embed/config.mak". > > How can I get Tecmake to work? ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users
[Iup-users] Tecmake Is Giving Me Errors
Hello, I'm trying to get Tecmake to work so I can attach an iuplua51 console to an .exe, but Tecmake is giving me errors when trying to use it on a simple pair of test files. I followed Tecmake installation instructions, but I'm confused about config.mak vs tecmakewin.mak. Is the user supposed to paste a copy of tecmakewin.mak into a source folder and rename it to config.mak? If I have tecmakewin.mak in my app's directory and run "tecmake mingw4_64" (with "Location of this file" set to "TECMAKE = $(TECMAKE_HOME)/tecmakewin.mak") I get this error: "mingw32-make: *** No rule to make target 'config.mak', needed by '.wdep'. Stop." If I change the name to config.mak, then I get these two lines repeating: "config.mak:60: warning: overriding recipe for target 'sysinfo' config.mak:60: warning: ignoring old recipe for target 'sysinfo'" then "config.mak:138: *** Too many open files. Stop." It doesn't matter if I keep "TECMAKE = $(TECMAKE_HOME)/tecmakewin.mak" or change it to "TECMAKE = D:/Programming/Misc_Lua/embed/config.mak". How can I get Tecmake to work? ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users