Author Topic: Newbie can't install Win7_64: Unable to get path to LCC?  (Read 179 times)

voxmagna

  • Newbie
  • *
  • Posts: 2
    • View Profile
Newbie can't install Win7_64: Unable to get path to LCC?
« on: January 27, 2024, 04:25:40 AM »
Hi, I have a few simple math calculation programs written in Basic I'd like to run under Windows or convert and run them as C. Unfortunately my attempts to install BCX fail giving Error: Unable to get path to LCC.  I was looking for something simple to avoid installing MS visual Basic or going down the road of running old DOS 6.2 in a virtual box.

I'm installing to a 'D' partition not 'C'. I've tried both locations and can't find any folders 'LCC' following the install. Any ideas to get BCX Basic installed and running? Thanks

Vortex

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Re: Newbie can't install Win7_64: Unable to get path to LCC?
« Reply #1 on: January 27, 2024, 04:31:53 AM »
Hi voxmagna,

LCC is no longer updated and it's very problematic to configure it to use with BCX. Better to stay with Pelles C insteas of LCC.

voxmagna

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Newbie can't install Win7_64: Unable to get path to LCC?
« Reply #2 on: January 27, 2024, 04:51:49 AM »
Thanks. In my ignorance I thought the install would include any dependencies. I'll search the site to read exactly what I need to do and supporting applications to install. If its not a stupid question, why does BCX installer expect LLC if it's problematic? Is it not better to flag a positive message this app requires x or y rather than error? That's the MS way with NET Framework when an app requires it. Thanks for your help.
« Last Edit: January 27, 2024, 04:57:26 AM by voxmagna »

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1850
    • View Profile
Re: Newbie can't install Win7_64: Unable to get path to LCC?
« Reply #3 on: January 27, 2024, 08:58:36 AM »
Welcome,

Here is a bit of background for you.

BCX has been around for almost 25 years and has undergone many updates.

BCX was first written with the goal to use the Lcc-Win32 compiler which
was the only free Win32 compiler at that time.  Pelles C came a few years
later and the GNU C compiler eventually came into its own as well. Borland
released a free version of their C/C++ compiler, and the Watcom C/C++ compiler
was eventually open sourced.  Microsoft also eventually started giving its
C/C++ compiler away but 25 years ago, that was not the case.

At various points in time BCX could be used to generate code that worked with
all of those compiler systems. But as Vortex pointed out, Lcc-Win32 was last
updated in May 2016.  The most popular compilers used by BCX users are Microsoft
Visual Studio C/C++, Pelles C, and Ming32/64 GNU C/C++.

I maintain the BCX Editor (BED.exe) which I use exclusively for coding in BCX.

https://bcxbasiccoders.com/smf/index.php?topic=420.0

On my PC, I configured BED to use all the compilers mentioned above, along with
Lcc-Win32. I use Lcc-Win32 for quickly compiling things and testing for backward
compatibility. But ultimately, my release EXE's are typically built with MSVC,
Ming64, or Pelles. On a side note, I have had to hack my personaly copy of Lcc-Win32
numerous times to keep it working with the newer versions of Windows, so again, one
of the other compilers will be a quicker route to success with BCX.

If you get stuck, just ask. We are a helpful group.



morgan

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Newbie can't install Win7_64: Unable to get path to LCC?
« Reply #4 on: January 27, 2024, 10:47:45 AM »
Thanks. In my ignorance I thought the install would include any dependencies. I'll search the site to read exactly what I need to do and supporting applications to install. If its not a stupid question, why does BCX installer expect LLC if it's problematic? Is it not better to flag a positive message this app requires x or y rather than error? That's the MS way with NET Framework when an app requires it. Thanks for your help.
i think the link that you used for download bcx, is old and no longer supported, and should be updated by the project maintainer

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1850
    • View Profile
Re: Newbie can't install Win7_64: Unable to get path to LCC?
« Reply #5 on: January 27, 2024, 12:35:56 PM »
i think the link that you used for download bcx, is old and no longer supported, and should be updated by the project maintainer
It is old and I have no plans on updating it.  However, the installer inside
https://bcxbasiccoders.com/bcx_install.zip works fine on Windows 10.
And the bundled tray app and the apps it launches also still works on Windows 10.
The tray app is not required to use BCX, it was simply an added convenience and
can be removed from the Windows startup or disabled in Windows settings, if desired.

Some of the bundled examples, the BCX translator, and BCX Help file can be replaced with
updated versions found here:  https://bcxbasiccoders.com/smf/index.php?board=5.0
The BCX translator and Help file receive updates (on average) monthly and show up in the
Announcements section of this forum.

morgan

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Newbie can't install Win7_64: Unable to get path to LCC?
« Reply #6 on: January 27, 2024, 12:54:02 PM »
i think the link that you used for download bcx, is old and no longer supported, and should be updated by the project maintainer
It is old and I have no plans on updating it.  However, the installer inside
https://bcxbasiccoders.com/bcx_install.zip works fine on Windows 10.
And the bundled tray app and the apps it launches also still works on Windows 10.
The tray app is not required to use BCX, it was simply an added convenience and
can be removed from the Windows startup or disabled in Windows settings, if desired.

Some of the bundled examples, the BCX translator, and BCX Help file can be replaced with
updated versions found here:  https://bcxbasiccoders.com/smf/index.php?board=5.0
The BCX translator and Help file receive updates (on average) monthly and show up in the
Announcements section of this forum.
when i said update, the meaning is only, putting a word that the link is no longer supported

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1850
    • View Profile
Re: Newbie can't install Win7_64: Unable to get path to LCC?
« Reply #7 on: January 27, 2024, 06:54:55 PM »
when i said update, the meaning is only, putting a word that the link is no longer supported

BCX_Install.zip is supported.  It is just no longer updated.  New users should:

Join the BCX Forum for the latest news, current updates,
code samples, Q&A, discussions, and more ...


MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1850
    • View Profile
Re: Newbie can't install Win7_64: Unable to get path to LCC?
« Reply #8 on: January 28, 2024, 08:45:23 AM »
BCX_Install.zip is supported.  It is just no longer updated.  New users should:

Join the BCX Forum for the latest news, current updates,
code samples, Q&A, discussions, and more ...

Robert Wishlaw has convinced me to update the installer. 

I'll announce when it is available.

morgan

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Newbie can't install Win7_64: Unable to get path to LCC?
« Reply #9 on: January 30, 2024, 11:22:22 AM »
good.