Opensource PureBasic IDE now much easier to build
Opensource PureBasic IDE now much easier to build
Hi everybody,
just a quick note about the PureBasic OpenSource Projects for those who are not following the development closely:
We have spend the past months replacing all parts that require a C compiler and simplifying the build process so you do not have to install a ton of preconditions to compile the IDE anymore. All you need now is a PureBasic installation and nothing else. So if you have been hesitant to check the project out so far due to the build complexity, it might be worth to have another look now
You can find the new build instructions here: https://github.com/fantaisie-software/p ... l/BUILD.md
Happy hacking!
The PureBasic Team
just a quick note about the PureBasic OpenSource Projects for those who are not following the development closely:
We have spend the past months replacing all parts that require a C compiler and simplifying the build process so you do not have to install a ton of preconditions to compile the IDE anymore. All you need now is a PureBasic installation and nothing else. So if you have been hesitant to check the project out so far due to the build complexity, it might be worth to have another look now
You can find the new build instructions here: https://github.com/fantaisie-software/p ... l/BUILD.md
Happy hacking!
The PureBasic Team
quidquid Latine dictum sit altum videtur
Re: Opensource PureBasic IDE now much easier to build
Thanks it's fabulous
-
- Addict
- Posts: 4527
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Opensource PureBasic IDE now much easier to build
That's interesting news for people like me. Thank you!
Re: Opensource PureBasic IDE now much easier to build
Boom! That is great news.
Opens up contributions from us simpler folk.
Opens up contributions from us simpler folk.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Opensource PureBasic IDE now much easier to build
Thanks Freak; I look forward to testing this later today.
Re: Opensource PureBasic IDE now much easier to build
I've been following this, and I'm very grateful! Thank you Freak and everyone else involved!
It should be much easier for people to make and submit contributions now. (And it's just less complication overall.)
It should be much easier for people to make and submit contributions now. (And it's just less complication overall.)
Re: Opensource PureBasic IDE now much easier to build
Great news. I hope that this has removed the greatest barrier ...
Re: Opensource PureBasic IDE now much easier to build
Tested on Windows compilation, it's works.
Juste changed line #69 in MakeWindows.cmd
(path to PBSourceFile.ico: I don't use Git, so my path are differents)
To:
Now I have to try to remember which modification(s) I had requested in the IDE and try to do them myself. No more excuses
Juste changed line #69 in MakeWindows.cmd
(path to PBSourceFile.ico: I don't use Git, so my path are differents)
Code: Select all
Build\makeversion.exe ide Build/VersionInfo.rc /cygdrive/c/PureBasic/git/purebasic/PureBasicIDE/data/PBSourceFile.ico
Code: Select all
Build\makeversion.exe ide Build/VersionInfo.rc %PUREBASIC_HOME%/../purebasic-devel/PureBasicIDE/data/PBSourceFile.ico
Now I have to try to remember which modification(s) I had requested in the IDE and try to do them myself. No more excuses
Re: Opensource PureBasic IDE now much easier to build
Nope, this is still far too confusing for a newbie like me. I'd need a literal step-by-step. All I've done so far is copy my existing PureBasic folder to "PureBasicIDE", and unzipped the "UnixTools-4-Win" folder inside it. Have no idea what to do next. We need a real simple step-by-step tutorial. Anyone up to the task? Thanks.
'makewindows.cmd' is not recognized as an internal or external command, operable program or batch file.
Re: Opensource PureBasic IDE now much easier to build
You not need unix tools for compile Windows, but you need source IDEBarryG wrote: ↑Wed Nov 03, 2021 10:52 am Nope, this is still far too confusing for a newbie like me. I'd need a literal step-by-step. All I've done so far is copy my existing PureBasic folder to "PureBasicIDE", and unzipped the "UnixTools-4-Win" folder inside it. Have no idea what to do next. We need a real simple step-by-step tutorial. Anyone up to the task? Thanks.'makewindows.cmd' is not recognized as an internal or external command, operable program or batch file.
1. Go to https://github.com/fantaisie-software/purebasic
2. Click on Green button 'Code'
3. Select 'Download Zip' on dropdown menu
5. Create a folder anywhere where you have acces write (ie: C:\PB_Dev_IDE)
4. Copy your PB (6) exist folder in this folder (ie: C:\PB_Dev_IDE\PureBasic)
5. Unzip all files in a another directory (ie: C:\PB_Dev_IDE\purebasic-devel)
So you have now:
- C:\PB_Dev_IDE\PureBasic (Copy of the last PB6)
- C:\PB_Dev_IDE\purebasic-devel (All sources of PB IDE)
6. Go to c:\PB_Dev_IDE\purebasic-devel\PureBasicIDE\
7. Edit file MakeWindows.cmd
8. Line #69 change
- /cygdrive/c/PureBasic/git/purebasic/PureBasicIDE/data/PBSourceFile.ico
To
- %PUREBASIC_HOME%/../purebasic-devel/PureBasicIDE/data/PBSourceFile.ico
9. Go to folder where MakeWindows.cmd is (C:\PB_Dev_IDE\purebasic-devel\PureBasicIDE)
10. Compile (launch MakeWindows followed by folder of your PB6 copy
- MakeWindows.cmd c:\PB_Dev_IDE\PureBasic
11. your c:\PB_Dev_IDE\PureBasic\PureBasic.exe is the new IDE (see about box)
Edit 14:00: Corrected PureBasicC to PureBasic
That's all
Last edited by Marc56us on Wed Nov 03, 2021 1:54 pm, edited 1 time in total.
Re: Opensource PureBasic IDE now much easier to build
@Marc56us: nice step-by-step plan.
before I would follow the plan, I have one question: why c:\PB_Dev_IDE\PureBasicC instead of c:\PB_Dev_IDE\PureBasic?
the created path above was named c:\PB_Dev_IDE\PureBasic.
@BarryG: maybe this is the problem....
before I would follow the plan, I have one question: why c:\PB_Dev_IDE\PureBasicC instead of c:\PB_Dev_IDE\PureBasic?
the created path above was named c:\PB_Dev_IDE\PureBasic.
@BarryG: maybe this is the problem....
Mostly running PureBasic <latest stable version and current alpha/beta> (x64) on Windows 11 Home
Re: Opensource PureBasic IDE now much easier to build
It's a great news, no need to install all these dependencies VC2013, Win7.1SDK, it really makes life easier
For the fun and if anyone interested, I modified a bit the current batch with some extra controls, auto-download and unzip UnixTool, if it is not already in the Path and I added a menu to make it an AllInOne, just need to open BuildMenu.cmd and follow the steps
Build_PBIDE.zip
Edit: Link updated
%PUREBASIC_HOME%\Compilers does not seem to have been added to the Path (see it with echo %Path% ), I do not know why!BarryG wrote: ↑Wed Nov 03, 2021 10:52 am Nope, this is still far too confusing for a newbie like me. I'd need a literal step-by-step. All I've done so far is copy my existing PureBasic folder to "PureBasicIDE", and unzipped the "UnixTools-4-Win" folder inside it. Have no idea what to do next. We need a real simple step-by-step tutorial. Anyone up to the task? Thanks.
For the fun and if anyone interested, I modified a bit the current batch with some extra controls, auto-download and unzip UnixTool, if it is not already in the Path and I added a menu to make it an AllInOne, just need to open BuildMenu.cmd and follow the steps
Build_PBIDE.zip
Edit: Link updated
Last edited by ChrisR on Wed Nov 03, 2021 4:15 pm, edited 2 times in total.
Re: Opensource PureBasic IDE now much easier to build
I tried it with "PureBasic" instead of "PureBasicC" and it now seems to work! Yay! I'll see if can make any changes now to be 100% sure.
@ChrisR: Your Google Drive link gives me a denied access error.
[Edit] Yep, it works - I edited "D:\PB_Dev_IDE\PureBasic-Devel\PureBasicIDE\AboutWindow.pb" and compiled with the above command, and got this with the new PureBasic.exe:
Woohoo!
Re: Opensource PureBasic IDE now much easier to build
Oups, I fixed it, it should be better
First step done