cristianadrielbraun / Meshcentral-TrayMesh

Deserved Tray Icon for MeshCentral Agent
MIT License
4 stars 0 forks source link

How do I compile this? #1

Open ben71fl opened 4 years ago

ben71fl commented 4 years ago

I found you on reddit and this tool looks great! Im just not sure how to compile it? I tried VS, and I tried grabbing the pascal compiler you built it on and couldnt figure out how to compile it there.

thanks!

cristianadrielbraun commented 4 years ago

Hi! im glad you want to try it. As the readme says, its made on CodeTyphon Its not actually "pure" Pascal but "Free Pascal", sort of a fork of Pascal, and its something like the "Open source version of delphi". Because yes, both Delphi and Free Pascal are still in active development. Why do i use CodeTyphon/FreePascal?

TL;TR: CodeTyphon (.ctpr file opens the entire project)

PS: Just in case, remember you got the compiled binaries here: Relases

ben71fl commented 4 years ago

I did download the CodeTyphon app, I didn’t see an option to ‘compile’ the code into the .exe. I will try to read up on it more.

Thanks

From: yomono notifications@github.com Sent: Friday, August 28, 2020 1:20 AM To: yomono/Meshcentral-TrayMesh Meshcentral-TrayMesh@noreply.github.com Cc: Ben Filippelli ben@level5mgmt.com; Author author@noreply.github.com Subject: Re: [yomono/Meshcentral-TrayMesh] How do I compile this? (#1)

Hi! im glad you want to try it. As the readme says, its made on CodeTyphon: CodeTyphonhttps://www.pilotlogic.com/sitejoom/index.php/wiki/84-wiki/codetyphon-studio/72-codetyphon-about Its not actually "pure" Pascal but "Free Pascal", sort of a fork of Pascal, and its something like the "Open source version of delphi". Because yes, both Delphi and Free Pascal are still in active development. Why do i use CodeTyphon/FreePascal?

TL;TR: CodeTyphonhttps://www.pilotlogic.com/sitejoom/index.php/wiki/84-wiki/codetyphon-studio/72-codetyphon-about

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/yomono/Meshcentral-TrayMesh/issues/1#issuecomment-682330721, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJIW3PCDQXP57CBM4FCNJ43SC447FANCNFSM4QNXBGHA.

cristianadrielbraun commented 4 years ago

Well.. Building the Typhon IDE could be a little confusing the first time. You should follow this guide: https://www.pilotlogic.com/sitejoom/index.php/wiki?id=202 (Follow them in the right order) After that, you will have a "CodeTyphon" icon, and a "Tyhpon64" icon (or Typhon32, or both). The one you want to open is the "Typhon64" one. That's the actual IDE. Once opened, open the project (locating the .ctpr file) and look for these icons on the top bar: Icons or press Ctrl + F9. Or, Under "Run -> Compile".

Ylianst commented 3 years ago

Thanks for posting about CodeTyphon, I had no idea about this. I used to code in Borland Pascal ages ago, so this may work out. I really need a way to build cross-platform native apps. MeshCentral Router is in C# which limits what platform I can compile to.

cristianadrielbraun commented 3 years ago

Thanks for posting about CodeTyphon, I had no idea about this. I used to code in Borland Pascal ages ago, so this may work out. I really need a way to build cross-platform native apps. MeshCentral Router is in C# which limits what platform I can compile to.

Wow Im so glad this catch your attention! Personally, I love this platform. Is really fast, trully multi platform, the compiled programs are most of the time dependencies-free... And, since we are already here, CodeTyphone is actually a fork of the original project, Lazarus.

pierreaa commented 2 years ago

Hello yomono! Is it possible to do a compile for MacOs using CodeTyphon? Would Meshcentral-TrayMesh work on the menu bar of MacOS? I'm curious to see it in action! If it's not possible for now, I will install it on a Windows or Linux computer. Thanks!

cristianadrielbraun commented 2 years ago

Hello yomono! Is it possible to do a compile for MacOs using CodeTyphon? Would Meshcentral-TrayMesh work on the menu bar of MacOS? I'm curious to see it in action! If it's not possible for now, I will install it on a Windows or Linux computer. Thanks!

Hey, pierreaa! Wow, I completely forgot about this repo. Honestly, this was just a proof of concept and I don't even know if it would be compatible with current versions of MeshCentral. I was thinking of doing a "new proof of concept" using Golang, which in the last 2 years has evolved a lot in GUI related development. that being said.. About the project itself (regadles if would work or not once running) you should be able to compile CodeTyphon (https://www.pilotlogic.com/sitejoom/index.php/86-wiki/installation/424-macos-detail-installation.html) but then you'll still need to edit a bunch of stuff, since this is just a "wrapper" around the meshagent.exe. There is no pipes or anything like that involved.. So, while it should be technically possible, the question would be just... why? 🤣