Re: [Iup-users] Tecmake Not Working (update)

2022-04-07 Thread Kaz Foxsen
If I don't need Tecmake to embed the console, is there any particular
way to uninstall it? I'm getting an error (/bin/sh: -c: line 2: syntax
error: unexpected end of file
make: *** [Makefile:58: depend_gcc] Error 2) when I try to compile my
app with the non-Tecmake Makefile and I'm not sure if it's related.

On Thu, Mar 31, 2022 at 7:39 AM Antonio Scuri  wrote:
>
>   Tecmake expects a posix configuration enabled on your system. That's why 
> mkdir is failing.
>
>   So, let's start over, first I understood that your are trying to embed 
> iuplua console on your application, is that correct?
>
>
>
> Em qua., 30 de mar. de 2022 23:05, Kaz Foxsen  escreveu:
>>
>> Hello,
>>
>> I tried working out my problem getting Tecmake to work, but now I have
>> a different problem from the one I sent an email to this list about
>> the other day.
>>
>> 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. I'm trying to compile IUP as a test to try and
>> figure out the problem.  Now when I type "tecmake mingw4-64", 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
>>
>> 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.
>>
>>
>> ___
>> 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


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Tecmake Not Working (update)

2022-03-31 Thread Kaz Foxsen
Yes, I'm trying to embed the console so the updated app (using IUP
3.30) works like the original (console window pops up with more info
when it crashes). We'd talked about it a while ago on this list, but I
wasn't able to solve the problem by reusing what the app originally
came with.

The original programmer had included a file called console.loh which
starts with: /* code automatically generated by bin2c -- DO NOT EDIT
*/
Looked into bin2c, but I don't know how to use it. Saw that Tecmake
documentation mentioned it and .loh files, so I wondered if that was
used to connect the console, but probably not since there's no
config.mak file in the app's src directory.

The C file starts with:

/** \file
 * \brief Creates a Lua executable linked to all standard IUP libraries
 * Based on the Lua stand-alone interpreter for Lua 5.1
 * See Copyright Notice in lua.h
 *
 * See Copyright Notice in iup.h
 * $Id: iupluaexe51.c,v 1.2 2005/12/16 20:42:17 scuri Exp $
 */

I'm not sure what to do and I couldn't figure out how to debug
embedded Lua and instead have to rely on sticking iup.Message to stop
the app for clues to troubleshoot bugs.

On Thu, Mar 31, 2022 at 7:39 AM Antonio Scuri  wrote:
>
>   Tecmake expects a posix configuration enabled on your system. That's why 
> mkdir is failing.
>
>   So, let's start over, first I understood that your are trying to embed 
> iuplua console on your application, is that correct?
>
>
>
> Em qua., 30 de mar. de 2022 23:05, Kaz Foxsen  escreveu:
>>
>> Hello,
>>
>> I tried working out my problem getting Tecmake to work, but now I have
>> a different problem from the one I sent an email to this list about
>> the other day.
>>
>> 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. I'm trying to compile IUP as a test to try and
>> figure out the problem.  Now when I type "tecmake mingw4-64", 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
>>
>> 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.
>>
>>
>> ___
>> 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


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Tecmake Not Working (update)

2022-03-31 Thread Antonio Scuri
  Tecmake expects a posix configuration enabled on your system. That's why
mkdir is failing.

  So, let's start over, first I understood that your are trying to embed
iuplua console on your application, is that correct?



Em qua., 30 de mar. de 2022 23:05, Kaz Foxsen 
escreveu:

> Hello,
>
> I tried working out my problem getting Tecmake to work, but now I have
> a different problem from the one I sent an email to this list about
> the other day.
>
> 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. I'm trying to compile IUP as a test to try and
> figure out the problem.  Now when I type "tecmake mingw4-64", 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
>
> 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.
>
>
> ___
> 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 Not Working (update)

2022-03-31 Thread Ranier Fonseca
De: Kaz Foxsen 
Enviado: quinta-feira, 31 de março de 2022 02:05
Para: IUP discussion list.
Assunto: [Iup-users] Tecmake Not Working (update)


>I tried working out my problem getting Tecmake to work, but now I have
>a different problem from the one I sent an email to this list about
>the other day.

>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. I'm trying to compile IUP as a test to try and
>figure out the problem.  Now when I type "tecmake mingw4-64", 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

You need create manually all the paths, because mkdir fails
with current tecmake scritpt (msvc and mingw).

Once created, tecmake can be called repeatedly.

You can create each directory one by one after each tecmake failure.

regards,
Ranier Vilela



___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Tecmake Not Working (update)

2022-03-30 Thread Kaz Foxsen
Hello,

I tried working out my problem getting Tecmake to work, but now I have
a different problem from the one I sent an email to this list about
the other day.

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. I'm trying to compile IUP as a test to try and
figure out the problem.  Now when I type "tecmake mingw4-64", 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

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.


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users