I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips & Calcs) into a Windows exe file for my own use; however, I'd like to share it with some cycling friends, some of which use an OS other than Windows, primarily Android &/or iPad OS.
Is it possible to create a suitable file that can be used on these alternate OS's, and can it be done on my Windows PC? (Some of the people I'd like to share with are less computer conversant than me, hard to believe I know)! :-)
I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips & Calcs)
into a Windows exe file for my own use; however, I'd like to share it
with some cycling friends, some of which use an OS other than Windows, primarily Android &/or iPad OS.
Is it possible to create a suitable file that can be used on these
alternate OS's, and can it be done on my Windows PC? (Some of the people
I'd like to share with are less computer conversant than me, hard to
believe I know)! :-)
I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips & Calcs) into
a Windows exe file for my own use; however, I'd like to share it with some cycling friends, some of which use an OS other than Windows, primarily Android &/or iPad OS.
Is it possible to create a suitable file that can be used on these
alternate OS's, and can it be done on my Windows PC? (Some of the people
I'd like to share with are less computer conversant than me, hard to
believe I know)! :-)
snosniv wrote:
I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips & Calcs) into a Windows exe file for my own use; however, I'd like to share it with some cycling friends, some of which use an OS other than Windows, primarily Android &/or iPad OS.
Is it possible to create a suitable file that can be used on these alternate OS's, and can it be done on my Windows PC? (Some of the people I'd like to share with are less computer conversant than me, hard to believe I know)! :-)you can use tclexecomp to create binaries for Windows, Linux and MacOS (but currently not for the M1). It is based on Freewrap. For Android binaries
you can use Androwisth, but for iPad OS, i don't know a tool.
That's interesting. Can tclexecomp actually "cross-compile"? With freewrap
I can make a Linux exe from Windows as far as I remember (log time ago I
did this). Can tclexecomp produce Linux and Windows executables when
operated from macOS, or does it need to run on the platform for which the code is?
On Friday, November 25, 2022 at 9:14:24 PM UTC+1, Michael Niehren wrote:
snosniv wrote:
I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips & Calcs)you can use tclexecomp to create binaries for Windows, Linux and MacOS
into a Windows exe file for my own use; however, I'd like to share it
with some cycling friends, some of which use an OS other than Windows,
primarily Android &/or iPad OS.
Is it possible to create a suitable file that can be used on these
alternate OS's, and can it be done on my Windows PC? (Some of the
people I'd like to share with are less computer conversant than me,
hard to believe I know)! :-)
(but currently not for the M1). It is based on Freewrap. For Android
binaries you can use Androwisth, but for iPad OS, i don't know a tool.
Torsten Berg wrote:
That's interesting. Can tclexecomp actually "cross-compile"? With freewrap I can make a Linux exe from Windows as far as I remember (log time ago I did this). Can tclexecomp produce Linux and Windows executables when operated from macOS, or does it need to run on the platform for which the code is?
On Friday, November 25, 2022 at 9:14:24 PM UTC+1, Michael Niehren wrote:Hi Torsten,
snosniv wrote:
I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips & Calcs) >> > into a Windows exe file for my own use; however, I'd like to share it >> > with some cycling friends, some of which use an OS other than Windows, >> > primarily Android &/or iPad OS.you can use tclexecomp to create binaries for Windows, Linux and MacOS
Is it possible to create a suitable file that can be used on these
alternate OS's, and can it be done on my Windows PC? (Some of the
people I'd like to share with are less computer conversant than me,
hard to believe I know)! :-)
(but currently not for the M1). It is based on Freewrap. For Android
binaries you can use Androwisth, but for iPad OS, i don't know a tool.
tclexecomp can "cross-compile". You can use it under Windows and produce Binaries for Linux or MacOS or you can use it under MacOS and produce Binaries for Linux and Windows.
And you can customize your binaries, which means, that you can delete unneeded modules in the binariy.
Take a look at https://tclexecomp.sourceforge.net/
best regards
Michael
On Sunday, 27 November 2022 at 00:53:17 UTC, Michael Niehren wrote:friends who use Mac & not Windows.
Torsten Berg wrote:
That's interesting. Can tclexecomp actually "cross-compile"? With freewrap
I can make a Linux exe from Windows as far as I remember (log time ago I did this). Can tclexecomp produce Linux and Windows executables when operated from macOS, or does it need to run on the platform for which the
code is?
On Friday, November 25, 2022 at 9:14:24 PM UTC+1, Michael Niehren wrote:
snosniv wrote:
I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips & Calcs) >> > into a Windows exe file for my own use; however, I'd like to share it >> > with some cycling friends, some of which use an OS other than Windows,you can use tclexecomp to create binaries for Windows, Linux and MacOS >> (but currently not for the M1). It is based on Freewrap. For Android
primarily Android &/or iPad OS.
Is it possible to create a suitable file that can be used on these
alternate OS's, and can it be done on my Windows PC? (Some of the
people I'd like to share with are less computer conversant than me, >> > hard to believe I know)! :-)
binaries you can use Androwisth, but for iPad OS, i don't know a tool. Hi Torsten,
tclexecomp can "cross-compile". You can use it under Windows and produce Binaries for Linux or MacOS or you can use it under MacOS and produce Binaries for Linux and Windows.
And you can customize your binaries, which means, that you can delete unneeded modules in the binariy.
Take a look at https://tclexecomp.sourceforge.net/
best regardsI'm getting nowhere with tclexecomp at all.
Michael
So, this is what I did, what am I doing wrong please? (This is all on a Windows 10 PC)
Downloaded from sourceforge, unzipped to get a bunch of similarly named files in new dir "tclexecomp",
joined my 3 files together into 1 called ZBUILD.tcl & put in sub-dir wrap as per instructions.
(Note:- ZBUILD.tcl converted to ZBUILD.exe with just Freewrap & works fine).
In a command window I did the following:-
compiled using: tclexecomp64 -compile wrap/Zbuild.tcl to wrap/ZBUILD.tbc Removed the ZBUILD.tcl file & then renamed ZBUILD.tbc to ZBUILD.tcl
Then tried to build exe with:- tclexecomp64 wrap/ZBUILD.tcl wrap/* -forcewrap -w tclexecomp64.exe (as per instructions)
This comes back with error saying "Cannot find wrap/* to wrap.
So then tried without the wrap/* bit which did create ZBUILD.exe in the dir above wrap
Clicked on this new exe file &just get error:- (Error sourcing /zvfs/wrap/ZBUILD.tcl: expected integer but got "I )
So, just going round in circles with tclexecomp. :-(
I'm happy with what Freewrap creates for the windows environment, but if I can't get tclexecomp to work for Windows, I expect the Mac version will not work either (and I have no way to test it myself), which is what I'm trying to create for a few
Any help much appreciated.
However, I can't find TclApp anywhere to download; is it still available & where from?
On Thursday, 1 December 2022 at 09:33:33 UTC, snosniv wrote:friends who use Mac & not Windows.
On Sunday, 27 November 2022 at 00:53:17 UTC, Michael Niehren wrote:
Torsten Berg wrote:
That's interesting. Can tclexecomp actually "cross-compile"? With freewrap
I can make a Linux exe from Windows as far as I remember (log time ago I
did this). Can tclexecomp produce Linux and Windows executables when operated from macOS, or does it need to run on the platform for which the
code is?
On Friday, November 25, 2022 at 9:14:24 PM UTC+1, Michael Niehren wrote:Hi Torsten,
snosniv wrote:
I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips & Calcs)you can use tclexecomp to create binaries for Windows, Linux and MacOS
into a Windows exe file for my own use; however, I'd like to share it
with some cycling friends, some of which use an OS other than Windows,
primarily Android &/or iPad OS.
Is it possible to create a suitable file that can be used on these >> > alternate OS's, and can it be done on my Windows PC? (Some of the >> > people I'd like to share with are less computer conversant than me, >> > hard to believe I know)! :-)
(but currently not for the M1). It is based on Freewrap. For Android >> binaries you can use Androwisth, but for iPad OS, i don't know a tool.
tclexecomp can "cross-compile". You can use it under Windows and produce Binaries for Linux or MacOS or you can use it under MacOS and produce Binaries for Linux and Windows.
And you can customize your binaries, which means, that you can delete unneeded modules in the binariy.
Take a look at https://tclexecomp.sourceforge.net/
best regardsI'm getting nowhere with tclexecomp at all.
Michael
So, this is what I did, what am I doing wrong please? (This is all on a Windows 10 PC)
Downloaded from sourceforge, unzipped to get a bunch of similarly named files in new dir "tclexecomp",
joined my 3 files together into 1 called ZBUILD.tcl & put in sub-dir wrap as per instructions.
(Note:- ZBUILD.tcl converted to ZBUILD.exe with just Freewrap & works fine).
In a command window I did the following:-
compiled using: tclexecomp64 -compile wrap/Zbuild.tcl to wrap/ZBUILD.tbc Removed the ZBUILD.tcl file & then renamed ZBUILD.tbc to ZBUILD.tcl
Then tried to build exe with:- tclexecomp64 wrap/ZBUILD.tcl wrap/* -forcewrap -w tclexecomp64.exe (as per instructions)
This comes back with error saying "Cannot find wrap/* to wrap.
So then tried without the wrap/* bit which did create ZBUILD.exe in the dir above wrap
Clicked on this new exe file &just get error:- (Error sourcing /zvfs/wrap/ZBUILD.tcl: expected integer but got "I )
So, just going round in circles with tclexecomp. :-(
I'm happy with what Freewrap creates for the windows environment, but if I can't get tclexecomp to work for Windows, I expect the Mac version will not work either (and I have no way to test it myself), which is what I'm trying to create for a few
Any help much appreciated.UPDATE:
I've now downloaded tclexecomp-V1.2.0 instead of V1.4.0 and behold, we have a working Windows exe file!
I also created a Mac file, so now need a friend to test that for me somehow.
When I download V1.4.0 I gat an extra file over the V1.2.0 version called: .tclexecomp.n.swp
whatever that does?
Regards, Kev P. (snosniv).
However, I can't find TclApp anywhere to download; is it still available & where from?TclApp is a part of the TclDevKit and now on Github: https://github.com/ActiveState/tdk
It hasn't been updated in quite some time and I have never tried to make it run ... so I cannot help with installation unfortunately. As there doesn't seem to be good documentation either I guess you will have to go with trial and error.
...unless anyone can tell me how to wrap my tcl/tk file so the executable includes the image? (Windows & Mac).
On Thursday, 1 December 2022 at 09:33:33 UTC, snosniv wrote:
Any help much appreciated.UPDATE:
I've now downloaded tclexecomp-V1.2.0 instead of V1.4.0 and behold, we have a working Windows exe file!
I also created a Mac file, so now need a friend to test that for me somehow.
When I download V1.4.0 I gat an extra file over the V1.2.0 version called: .tclexecomp.n.swp
whatever that does?
Regards, Kev P. (snosniv).
When I download V1.4.0 I gat an extra file over the V1.2.0 version called: .tclexecomp.n.swp
whatever that does?
On Thursday, 1 December 2022 at 14:25:27 UTC, snosniv wrote:friends who use Mac & not Windows.
On Thursday, 1 December 2022 at 09:33:33 UTC, snosniv wrote:
On Sunday, 27 November 2022 at 00:53:17 UTC, Michael Niehren wrote:
Torsten Berg wrote:I'm getting nowhere with tclexecomp at all.
That's interesting. Can tclexecomp actually "cross-compile"? With freewrap
I can make a Linux exe from Windows as far as I remember (log time ago I >>>>> did this). Can tclexecomp produce Linux and Windows executables when >>>>> operated from macOS, or does it need to run on the platform for which the >>>>> code is?
On Friday, November 25, 2022 at 9:14:24 PM UTC+1, Michael Niehren wrote: >>>>>> snosniv wrote:
I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips & Calcs) >>>>>>> into a Windows exe file for my own use; however, I'd like to share it >>>>>>> with some cycling friends, some of which use an OS other than Windows, >>>>>>> primarily Android &/or iPad OS.you can use tclexecomp to create binaries for Windows, Linux and MacOS >>>>>> (but currently not for the M1). It is based on Freewrap. For Android >>>>>> binaries you can use Androwisth, but for iPad OS, i don't know a tool. >>>> Hi Torsten,
Is it possible to create a suitable file that can be used on these >>>>>>> alternate OS's, and can it be done on my Windows PC? (Some of the >>>>>>> people I'd like to share with are less computer conversant than me, >>>>>>> hard to believe I know)! :-)
tclexecomp can "cross-compile". You can use it under Windows and produce >>>> Binaries for Linux or MacOS or you can use it under MacOS and produce
Binaries for Linux and Windows.
And you can customize your binaries, which means, that you can delete
unneeded modules in the binariy.
Take a look at https://tclexecomp.sourceforge.net/
best regards
Michael
So, this is what I did, what am I doing wrong please? (This is all on a Windows 10 PC)
Downloaded from sourceforge, unzipped to get a bunch of similarly named files in new dir "tclexecomp",
joined my 3 files together into 1 called ZBUILD.tcl & put in sub-dir wrap as per instructions.
(Note:- ZBUILD.tcl converted to ZBUILD.exe with just Freewrap & works fine).
In a command window I did the following:-
compiled using: tclexecomp64 -compile wrap/Zbuild.tcl to wrap/ZBUILD.tbc >>> Removed the ZBUILD.tcl file & then renamed ZBUILD.tbc to ZBUILD.tcl
Then tried to build exe with:- tclexecomp64 wrap/ZBUILD.tcl wrap/* -forcewrap -w tclexecomp64.exe (as per instructions)
This comes back with error saying "Cannot find wrap/* to wrap.
So then tried without the wrap/* bit which did create ZBUILD.exe in the dir above wrap
Clicked on this new exe file &just get error:- (Error sourcing /zvfs/wrap/ZBUILD.tcl: expected integer but got "I )
So, just going round in circles with tclexecomp. :-(
I'm happy with what Freewrap creates for the windows environment, but if I can't get tclexecomp to work for Windows, I expect the Mac version will not work either (and I have no way to test it myself), which is what I'm trying to create for a few
UPDATE:
Any help much appreciated.
I've now downloaded tclexecomp-V1.2.0 instead of V1.4.0 and behold, we have a working Windows exe file!
I also created a Mac file, so now need a friend to test that for me somehow. >>
When I download V1.4.0 I gat an extra file over the V1.2.0 version called: .tclexecomp.n.swp
whatever that does?
Regards, Kev P. (snosniv).
I've since read about TclApp, which supposedly can wrap my files AND my image file into one exe file.
I'd prefer this as the current versions I've built, either Freewrap or tclexecomp, seem to need my image.png file to be in same directory.
However, I can't find TclApp anywhere to download; is it still available & where from?
I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips & Calcs) into a Windows exe file for my own use; however, I'd like to share it with some cycling friends, some of which use an OS other than Windows, primarily Android &/or iPad OS.I use tclapp to create exes for commercial purposes.
Is it possible to create a suitable file that can be used on these alternate OS's, and can it be done on my Windows PC? (Some of the people I'd like to share with are less computer conversant than me, hard to believe I know)! :-)
On Sunday, 27 November 2022 at 00:53:17 UTC, Michael Niehren wrote:
Torsten Berg wrote:
That's interesting. Can tclexecomp actually "cross-compile"? WithHi Torsten,
freewrap I can make a Linux exe from Windows as far as I remember (log
time ago I did this). Can tclexecomp produce Linux and Windows
executables when operated from macOS, or does it need to run on the
platform for which the code is?
On Friday, November 25, 2022 at 9:14:24 PM UTC+1, Michael Niehren
wrote:
snosniv wrote:
I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips &you can use tclexecomp to create binaries for Windows, Linux and MacOS
Calcs) into a Windows exe file for my own use; however, I'd like to
share it with some cycling friends, some of which use an OS other
than Windows, primarily Android &/or iPad OS.
Is it possible to create a suitable file that can be used on these
alternate OS's, and can it be done on my Windows PC? (Some of the
people I'd like to share with are less computer conversant than me,
hard to believe I know)! :-)
(but currently not for the M1). It is based on Freewrap. For Android
binaries you can use Androwisth, but for iPad OS, i don't know a tool.
tclexecomp can "cross-compile". You can use it under Windows and produce
Binaries for Linux or MacOS or you can use it under MacOS and produce
Binaries for Linux and Windows.
And you can customize your binaries, which means, that you can delete
unneeded modules in the binariy.
Take a look at https://tclexecomp.sourceforge.net/
best regards
Michael
I'm getting nowhere with tclexecomp at all.
So, this is what I did, what am I doing wrong please? (This is all on a Windows 10 PC) Downloaded from sourceforge, unzipped to get a bunch of similarly named files in new dir "tclexecomp", joined my 3 files together into 1 called ZBUILD.tcl & put in sub-dir wrap as per instructions.
(Note:- ZBUILD.tcl converted to ZBUILD.exe with just Freewrap & works
fine).
In a command window I did the following:-
compiled using: tclexecomp64 -compile wrap/Zbuild.tcl to wrap/ZBUILD.tbc Removed the ZBUILD.tcl file & then renamed ZBUILD.tbc to ZBUILD.tcl
Then tried to build exe with:- tclexecomp64 wrap/ZBUILD.tcl wrap/* -forcewrap -w tclexecomp64.exe (as per instructions)
This comes back with error saying "Cannot find wrap/* to wrap.
So then tried without the wrap/* bit which did create ZBUILD.exe in the
dir above wrap
Clicked on this new exe file &just get error:- (Error sourcing /zvfs/wrap/ZBUILD.tcl: expected integer but got "I )
So, just going round in circles with tclexecomp. :-(
I'm happy with what Freewrap creates for the windows environment, but if I can't get tclexecomp to work for Windows, I expect the Mac version will
not work either (and I have no way to test it myself), which is what I'm trying to create for a few friends who use Mac & not Windows.
Any help much appreciated.
Hi snosiv,
which version of tclexecomp did you use ?
Could you please try to do the following, which run's here.
- create a file called test.tcl with the following content
console show
puts "das ist ein Test"
- put tclexecomp64 and tclexecomp64.exe into the same directory
- create an directory called wrap
- compile the test.tcl with
./tclexecomp64 -compile test.tcl
- copy the test.tbc to the wrap directory
- call ./tclexecomp64 wrap/test.tcl -forcewrap -w tclexecomp64.exe
- try out the test.exe
- call ./tclexecomp64 wrap/test.tcl wrap/* -forcewrap -w tclexecomp64.exe
- try out again the test.exe
both of them runs here without any errors on the upcoming tclexecomp V1.5.0, which updates to tcl/tk V8.6.13 and also fixes errors on MacOS > V11.
you can also open an issue at codeberg, which will be the new location of tclexecomp:
https://codeberg.org/karl69/tclexecomp
best regards
Michael
snosniv wrote:
On Sunday, 27 November 2022 at 00:53:17 UTC, Michael Niehren wrote:
Torsten Berg wrote:
That's interesting. Can tclexecomp actually "cross-compile"? With
freewrap I can make a Linux exe from Windows as far as I remember (log >> > time ago I did this). Can tclexecomp produce Linux and Windows
executables when operated from macOS, or does it need to run on the
platform for which the code is?
On Friday, November 25, 2022 at 9:14:24 PM UTC+1, Michael Niehren
wrote:
snosniv wrote:
I've successfully converted my 3 Tcl/Tk files (GUI, Tooltips &you can use tclexecomp to create binaries for Windows, Linux and MacOS >> >> (but currently not for the M1). It is based on Freewrap. For Android
Calcs) into a Windows exe file for my own use; however, I'd like to >> >> > share it with some cycling friends, some of which use an OS other
than Windows, primarily Android &/or iPad OS.
Is it possible to create a suitable file that can be used on these
alternate OS's, and can it be done on my Windows PC? (Some of the
people I'd like to share with are less computer conversant than me, >> >> > hard to believe I know)! :-)
binaries you can use Androwisth, but for iPad OS, i don't know a tool. >> Hi Torsten,
tclexecomp can "cross-compile". You can use it under Windows and produce >> Binaries for Linux or MacOS or you can use it under MacOS and produce
Binaries for Linux and Windows.
And you can customize your binaries, which means, that you can delete
unneeded modules in the binariy.
Take a look at https://tclexecomp.sourceforge.net/
best regards
Michael
I'm getting nowhere with tclexecomp at all.
So, this is what I did, what am I doing wrong please? (This is all on a Windows 10 PC) Downloaded from sourceforge, unzipped to get a bunch of similarly named files in new dir "tclexecomp", joined my 3 files together into 1 called ZBUILD.tcl & put in sub-dir wrap as per instructions.
(Note:- ZBUILD.tcl converted to ZBUILD.exe with just Freewrap & works fine).
In a command window I did the following:-
compiled using: tclexecomp64 -compile wrap/Zbuild.tcl to wrap/ZBUILD.tbc Removed the ZBUILD.tcl file & then renamed ZBUILD.tbc to ZBUILD.tcl
Then tried to build exe with:- tclexecomp64 wrap/ZBUILD.tcl wrap/* -forcewrap -w tclexecomp64.exe (as per instructions)
This comes back with error saying "Cannot find wrap/* to wrap.
So then tried without the wrap/* bit which did create ZBUILD.exe in the
dir above wrap
Clicked on this new exe file &just get error:- (Error sourcing /zvfs/wrap/ZBUILD.tcl: expected integer but got "I )
So, just going round in circles with tclexecomp. :-(
I'm happy with what Freewrap creates for the windows environment, but if I can't get tclexecomp to work for Windows, I expect the Mac version will
not work either (and I have no way to test it myself), which is what I'm trying to create for a few friends who use Mac & not Windows.
Any help much appreciated.
I'm now trying to find out if the Mac version works that I created, so far not apparently (a friend is trying to test).
The conversion worked fine for my Windows PC, so will the tclexecomp conversion actually build a Mac executable if done on a a windows PC,
or does it have to be on a Mac itself to convert the Tcl files successfully?
I'd assumed al lwould be well with the PC conversion.
Am 19.01.23 um 16:50 schrieb snosniv:
I'm now trying to find out if the Mac version works that I created, so far not apparently (a friend is trying to test).
The conversion worked fine for my Windows PC, so will the tclexecomp conversion actually build a Mac executable if done on a a windows PC,
or does it have to be on a Mac itself to convert the Tcl files successfully?
I'd assumed al lwould be well with the PC conversion.Hi snosiv,
I've got no experience with Freewrap, instead I use tclkits, but the
result should be the same - in general an application can be "cross-compiled" if you have the correct Tcl compiled for the other platform.
However, there is an idiosyncracy on the Mac; Apple has activated a Firewall-like thing called "Gatekeeper" in recent versions of the OS
which prevents the execution of a binary that you download off the
internet, unless it is signed (costs $$ per year and requires some knowledge) and even then, it asks for permission of the downloaded
software.
Another thing is that, in order to build a "true" Mac app, one has to provide a special folder structure then create a compressed DMG image,
which only works on the Mac. Otherwise, the executable cannot be run in
the regular way (dropping it into /Applications etc.) and does not have icons, associated files etc.
Christian
On Thursday, 19 January 2023 at 20:06:58 UTC, Christian Gollwitzer wrote:
Am 19.01.23 um 16:50 schrieb snosniv:
I'm now trying to find out if the Mac version works that I created, so far not apparently (a friend is trying to test).
The conversion worked fine for my Windows PC, so will the tclexecomp conversion actually build a Mac executable if done on a a windows PC,
or does it have to be on a Mac itself to convert the Tcl files successfully?
I'd assumed al lwould be well with the PC conversion.Hi snosiv,
I've got no experience with Freewrap, instead I use tclkits, but the result should be the same - in general an application can be "cross-compiled" if you have the correct Tcl compiled for the other platform.
However, there is an idiosyncracy on the Mac; Apple has activated a Firewall-like thing called "Gatekeeper" in recent versions of the OS
which prevents the execution of a binary that you download off the internet, unless it is signed (costs $$ per year and requires some knowledge) and even then, it asks for permission of the downloaded software.
Another thing is that, in order to build a "true" Mac app, one has to provide a special folder structure then create a compressed DMG image, which only works on the Mac. Otherwise, the executable cannot be run in the regular way (dropping it into /Applications etc.) and does not have icons, associated files etc.
ChristianThanks for the info Christian, sounds like it's going to be difficult to get my code to run on a Mac. 🙁
But going to try once more when Mac owning friend gets back from hols.
Bit of a shame as it was very simple to create the Windows version (which works just fine).
Kev P.
On Thursday, 19 January 2023 at 20:06:58 UTC, Christian Gollwitzer wrote:
Am 19.01.23 um 16:50 schrieb snosniv:
I'm now trying to find out if the Mac version works that I created, so far not apparently (a friend is trying to test).
The conversion worked fine for my Windows PC, so will the tclexecomp conversion actually build a Mac executable if done on a a windows PC,
or does it have to be on a Mac itself to convert the Tcl files successfully?
I'd assumed al lwould be well with the PC conversion.Hi snosiv,
I've got no experience with Freewrap, instead I use tclkits, but the result should be the same - in general an application can be "cross-compiled" if you have the correct Tcl compiled for the other platform.
However, there is an idiosyncracy on the Mac; Apple has activated a Firewall-like thing called "Gatekeeper" in recent versions of the OS
which prevents the execution of a binary that you download off the internet, unless it is signed (costs $$ per year and requires some knowledge) and even then, it asks for permission of the downloaded software.
Another thing is that, in order to build a "true" Mac app, one has to provide a special folder structure then create a compressed DMG image, which only works on the Mac. Otherwise, the executable cannot be run in the regular way (dropping it into /Applications etc.) and does not have icons, associated files etc.
ChristianThanks for the info Christian, sounds like it's going to be difficult to get my code to run on a Mac. 🙁
But going to try once more when Mac owning friend gets back from hols.
Bit of a shame as it was very simple to create the Windows version (which works just fine).
Kev P.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (3 / 13) |
| Uptime: | 146:34:59 |
| Calls: | 12,091 |
| Calls today: | 4 |
| Files: | 15,000 |
| Messages: | 6,517,509 |