lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I use Cmake Gui to build wxLua and at the very start the second listbox gives you the option to select which one is the target platform.

Obviously you would select x64.

After that the Cmake application should select the correct compiler, which is amd64, and select the /machinetype x64 for the linker.

It might be that I don't understand your question because it is simple as this.

Here are both 32 and 64 bits releases, which is a proof of what I'm saying    https://github.com/decuant/wxLua542Win10


An OT would be to have an answer why I have always to create manually this entry CMAKE_BUILD_TYPE, but it is an OT...

Please reply again if I have missed the point.

Regards


​----------------------------------
Antonio de Curtis

Sent with ProtonMail Secure Email.​

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, March 31, 2021 2:37 PM, Luk Pro &amp;lt;&lt;a target=&quot;_blank&quot; rel=&quot;noreferrer nofollow noopener&quot; <a target="_blank" rel="noreferrer nofollow noopener" href="mailto:href=&quot;mailto:Lua.Mailing.List@gmx.com";>href=&quot;mailto:Lua.Mailing.List@gmx.com</a>&quot;&gt;<a target="_blank" rel="noreferrer nofollow noopener" href="mailto:Lua.Mailing.List@gmx.com";>Lua.Mailing.List@gmx.com</a>&lt;/a&gt;&amp;gt; wrote:

&amp;gt; Hello,
&amp;gt;
&amp;gt; -- it seems that my previous message didn't pass to the mailing list - not in the mailing archive --
&amp;gt;  
&amp;gt; similar topic has been discussed some time ago.
&amp;gt; I succeeded partially, but some questions remain.
&amp;gt;  
&amp;gt; Having followed [1], I was able to build plenty of WxWidgets versions (Debug/Release, ANSI/Unicode, 32b/64b etc.).
&amp;gt; All went OK - it was possible to build everithing via a simple batch.
&amp;gt;  
&amp;gt; I was also able to build WxLua for 32b machine - I followed instructions in [2].
&amp;gt; The problem now is to build 64b version of WxLua:
&amp;gt; I prefer using MSVC, and although I'm able to derive 64b configurations from (existing, via CMAKE created) 32b configs (I can provide a picture of the situation), it seems I should have to create 64b configs manually.
&amp;gt; I guess that the manual creation goes silgthly agians the idea that &amp;quot;makefiles&amp;quot; (for various building programs) are to be created from one source using CMAKE.
&amp;gt;  
&amp;gt; So - if I want to use CMAKE to build projects (configurations) for 64b machine, too, is there anything I should set in the scope of CMAKE (or CMAKE GUI)?
&amp;gt;  
&amp;gt; Best regards,
&amp;gt;  
&amp;gt; Lukas
&amp;gt;  
&amp;gt; [1] &lt;a target=&quot;_blank&quot; rel=&quot;noreferrer nofollow noopener&quot; href=&quot;<a target="_blank" rel="noreferrer nofollow noopener" href="https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#23---build-using-msvc-nmake";>https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#23---build-using-msvc-nmake</a>&quot;&gt;<a target="_blank" rel="noreferrer nofollow noopener" href="https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#23---build-using-msvc-nmake";>https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#23---build-using-msvc-nmake</a>&lt;/a&gt;
&amp;gt; [2] &lt;a target=&quot;_blank&quot; rel=&quot;noreferrer nofollow noopener&quot; href=&quot;<a target="_blank" rel="noreferrer nofollow noopener" href="https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#4---building-wxlua[https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#4---building-wxlua]";>https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#4---building-wxlua[https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#4---building-wxlua]</a>&quot;&gt;<a target="_blank" rel="noreferrer nofollow noopener" href="https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#4---building-wxlua[https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#4---building-wxlua]";>https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#4---building-wxlua[https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/install.md#4---building-wxlua]</a>&lt;/a&gt;