Re: [Iup-users] iupluacd segmentation fault

2013-01-03 Thread Antonio Scuri
> I managed to track down the problem to a library conflict in my system.
> I guess that pastebin code misled me into thinking it might have been
something
> more structural.
> 
> iupluacd is fine, thanks a lot! And sorry for wasting your time!

  Great news! No problem.

Best,
Scuri



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] iupluacd segmentation fault

2013-01-03 Thread Antonio Scuri
> >Have you tried the iuplua console application?
> Uhm... Not sure about what it is supposed to do. If I run it, it just
displays the
> version and quits (Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio, no
GUI
> as it seems to be the case in the screenshot in the documentation). If I
run it
> with the "-i" option, it looks and acts like a normal lua console (ie no
"iup" table
> defined or anything).

  It is supposed to show a IUP dialog with a text box where a Lua code can
be edited and run.

 
> I will also try to track down the problem further... Apparently it is not
a very
> common thing if you haven't heard of it before :)

  Usually is a compatibility problem with some system library.

 
> Is there some specific order in which I should require the libraries? Or
any library
> that shouldn't be required before iupluacd because of some conflict?

 Yes, there is an order. It follows the dependencies hierarchy. The order
you wrote was right:

require "imlua"
require "cdlua"
require "cdluaim"
require 'iuplua'
require "iupluacd"

Best,
Scuri



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] iupluacd segmentation fault

2013-01-03 Thread Francesco Santini
I managed to track down the problem to a library conflict in my system. 
I guess that pastebin code misled me into thinking it might have been 
something more structural.

iupluacd is fine, thanks a lot! And sorry for wasting your time!

Francesco

On 01/03/2013 02:29 PM, Francesco Santini wrote:
> On 01/03/2013 02:08 PM, Antonio Scuri wrote:
>> Hi Francesco,
> Hello Antonio,
>
> thanks for your prompt reply!
>
>> Have you tried other IUP samples?
> Yes, the basic examples work as far as I can tell.
>
>> Have you tries some of the samples that use the additional controls, like
>> IupMatrix? I mean some that "require iupluacontrols".
> I just tried one that requires "iupluacontrols" (the one that asks for
> the name). Everything ok
>
>> Have you tried the iuplua console application?
> Uhm... Not sure about what it is supposed to do. If I run it, it just
> displays the version and quits (Lua 5.1.4  Copyright (C) 1994-2008
> Lua.org, PUC-Rio, no GUI as it seems to be the case in the screenshot in
> the documentation). If I run it with the "-i" option, it looks and acts
> like a normal lua console (ie no "iup" table defined or anything).
>
> I will also try to track down the problem further... Apparently it is
> not a very common thing if you haven't heard of it before :)
>
> Is there some specific order in which I should require the libraries? Or
> any library that shouldn't be required before iupluacd because of some
> conflict?
>
> Cheers,
>
> Francesco
>
>> Best Regards,
>> Antonio Scuri
>>
>>> -Original Message-
>>> From: Francesco Santini [mailto:rincew...@tin.it]
>>> Sent: quinta-feira, 3 de janeiro de 2013 09:17
>>> To: iup-users@lists.sourceforge.net
>>> Subject: [Iup-users] iupluacd segmentation fault
>>>
>>> Hello list,
>>>
>>> I just started using IUP with lua and I'm facing a problem. I'm trying
>>> to implement this code:
>>> http://lists.luaforge.net/pipermail/iup-users/2006-May/30.html but
>>> when i require iupluacd I get a Segmentation Fault.
>>>
>>> I'm running Kubuntu (Kernel 3.0.0, 64 bit), i installed Lua5.1 from the
>>> repository and built IM, CD and IUP (most recent versions as of today)
>>> from source.
>>>
>>> In Google I only found one very vague reference to a similar problem
>>> here: http://pastebin.com/pBYW0ysf
>>>
>>> The code I'm trying to run is simply
>>>
>>> require "imlua"
>>> require "cdlua"
>>> require "cdluaim"
>>> require 'iuplua'
>>> require "iupluacd" -- segmentation fault
>>>
>>> I tried various permutations of the requires with similar results.
>>>
>>> Is it a known problem? Does anybody have any clue about the reason and a
>>> possible fix?
>>>
>>> Thanks!
>>>
>>> Francesco
>>>
>>>
>> 
>> --
>>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>>> MVPs and experts. ON SALE this month only -- learn more at:
>>> http://p.sf.net/sfu/learnmore_122712
>>> ___
>>> Iup-users mailing list
>>> Iup-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>> --
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. ON SALE this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122712
>> ___
>> Iup-users mailing list
>> Iup-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] iupluacd segmentation fault

2013-01-03 Thread Francesco Santini
On 01/03/2013 02:08 PM, Antonio Scuri wrote:
>Hi Francesco,
Hello Antonio,

thanks for your prompt reply!

>
>Have you tried other IUP samples?
Yes, the basic examples work as far as I can tell.

>
>Have you tries some of the samples that use the additional controls, like
> IupMatrix? I mean some that "require iupluacontrols".
I just tried one that requires "iupluacontrols" (the one that asks for 
the name). Everything ok

>
>Have you tried the iuplua console application?
Uhm... Not sure about what it is supposed to do. If I run it, it just 
displays the version and quits (Lua 5.1.4  Copyright (C) 1994-2008 
Lua.org, PUC-Rio, no GUI as it seems to be the case in the screenshot in 
the documentation). If I run it with the "-i" option, it looks and acts 
like a normal lua console (ie no "iup" table defined or anything).

I will also try to track down the problem further... Apparently it is 
not a very common thing if you haven't heard of it before :)

Is there some specific order in which I should require the libraries? Or 
any library that shouldn't be required before iupluacd because of some 
conflict?

Cheers,

Francesco

>
> Best Regards,
> Antonio Scuri
>
>> -Original Message-
>> From: Francesco Santini [mailto:rincew...@tin.it]
>> Sent: quinta-feira, 3 de janeiro de 2013 09:17
>> To: iup-users@lists.sourceforge.net
>> Subject: [Iup-users] iupluacd segmentation fault
>>
>> Hello list,
>>
>> I just started using IUP with lua and I'm facing a problem. I'm trying
>> to implement this code:
>> http://lists.luaforge.net/pipermail/iup-users/2006-May/30.html but
>> when i require iupluacd I get a Segmentation Fault.
>>
>> I'm running Kubuntu (Kernel 3.0.0, 64 bit), i installed Lua5.1 from the
>> repository and built IM, CD and IUP (most recent versions as of today)
>> from source.
>>
>> In Google I only found one very vague reference to a similar problem
>> here: http://pastebin.com/pBYW0ysf
>>
>> The code I'm trying to run is simply
>>
>> require "imlua"
>> require "cdlua"
>> require "cdluaim"
>> require 'iuplua'
>> require "iupluacd" -- segmentation fault
>>
>> I tried various permutations of the requires with similar results.
>>
>> Is it a known problem? Does anybody have any clue about the reason and a
>> possible fix?
>>
>> Thanks!
>>
>> Francesco
>>
>>
> 
> --
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. ON SALE this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122712
>> ___
>> Iup-users mailing list
>> Iup-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] iupluacd segmentation fault

2013-01-03 Thread Antonio Scuri
  Hi Francesco,

  I need a few more info.

  Have you tried other IUP samples? 

  Have you tries some of the samples that use the additional controls, like
IupMatrix? I mean some that "require iupluacontrols".

  Have you tried the iuplua console application?

Best Regards,
Antonio Scuri

> -Original Message-
> From: Francesco Santini [mailto:rincew...@tin.it]
> Sent: quinta-feira, 3 de janeiro de 2013 09:17
> To: iup-users@lists.sourceforge.net
> Subject: [Iup-users] iupluacd segmentation fault
> 
> Hello list,
> 
> I just started using IUP with lua and I'm facing a problem. I'm trying
> to implement this code:
> http://lists.luaforge.net/pipermail/iup-users/2006-May/30.html but
> when i require iupluacd I get a Segmentation Fault.
> 
> I'm running Kubuntu (Kernel 3.0.0, 64 bit), i installed Lua5.1 from the
> repository and built IM, CD and IUP (most recent versions as of today)
> from source.
> 
> In Google I only found one very vague reference to a similar problem
> here: http://pastebin.com/pBYW0ysf
> 
> The code I'm trying to run is simply
> 
> require "imlua"
> require "cdlua"
> require "cdluaim"
> require 'iuplua'
> require "iupluacd" -- segmentation fault
> 
> I tried various permutations of the requires with similar results.
> 
> Is it a known problem? Does anybody have any clue about the reason and a
> possible fix?
> 
> Thanks!
> 
> Francesco
> 
>

--
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users