Basic Micro Studio- Build Error with Assembler Messages

Hello all,

I am fairly new to the Basic Micro Studio, and I am having some trouble getting started. Whenever I try to build any of the sample code found in the tutorials (both from here and the Atom Pro manual) I receive the following error messages:

Starting Compiler…
Preparing files…
D:\KURT\PROJECTS\MICROCONTROLLER STUFF\BASIC MICRO STUDIO\PROGRAMS\GETTING STARTED\FIRST.BAS
Compiling…
Linking…
Assembler messages:
Error: Can’t open Micro for reading.
Micro: No such file or directory
Micro:0: Error: Can’t open Studio\bin\ for reading.
Micro:0: Studio\bin: No such file or directory
C:\BasicMicro\Basic Micro Studio\bin\ld.exe : cannot open linker script file C:\BasicMicro\Basic: No such file or directory
Errors Detected

I am using the latest version of Micro Studio–downloaded from basicmicro.com today.
I am also using the Atom Pro on a Bot Board II. I am having no problems getting Studio to recognize the board, I just can’t get a program to build correctly.

I am running Vista Home premium if that matters. Could this be a path issue? A privilege issue? I actually unistalled and reinstalled Studio 4 times with no difference. I have tried installing it to both C:\Program Files\BasicMicro and C:\BasicMicro…

Any suggestions would be really appreciated. Thanks!

  • The Insomniac

Hmm, never seen an error like that. It appears to be parsing the file path incorrectly in some cases. Are you using Stidio 2.0.0.5? Also what OS are you using?

Yes, I am using version 2.0.0.5, and I am running Windows Vista Home Premium (32 bit).

— Bump —

Just seeing if anyone has any ideas that might help…

Sorry, I don’t really have a clue.

But if it were me, I would, probably try the following. Uninstall studio from the control panel (add/remove programs…). Then I would go into regedit and find every reference to BasicMicro in the registry and I would delete it. I would run a check disk to verify that there were no funky things going on with my disk. I would then reboot. Then I would install Studio and let it default to all of it’s standard settings.

If I still was receiving errors like this, I would then check to see where my temporary files are being placed and make sure I had the proper permissions and while there would probably clear it out.

Good Luck
Kurt

Did you install this on drive D:? If so some applications have drive C: hardcoded for some files. It looked like in your listing above it was looking for FIRST.BAS on drive D: and couldn’t find ld.exe on drive C:. If that’s the case uninstall it from drive D: and reinstall everything on drive C: and see if it works.

Hello again,

I have since uninstalled Studio, ran multiple system cleaners, cleared my registry of anything relating to Basic Micro, and reinstalled Studio with all default settings.

I am still getting the exact same errors.

In the previous errors, the reference to drive D is where my program was stored, the actual Studio has always been installed on drive C.

The temp permissions all seem OK. I am running as administrator, but I am sure this problem has something to do with Vista.

Have you tried with your source files on the same disk as your installation? Maybe it has a problem with different drives…

Kurt

Yes, in did think of that. It doesn’t seem to matter where the files are… same errors.

My guess is, that there are still some issues with permissions. I would probably experiment with changing some of the permissions on the exes, either the top level one or the underlying one to run as administrator and see if that helps. I once had issues like this as well, and did fix one or more builds that way.

Kurt

Looks like a path issue.

“C:\BasicMicro\Basic Micro Studio\bin\ld.exe : cannot open linker script file C:\BasicMicro\Basic: No such file or directory
Errors Detected”

It just ends on Basic. Try changing the Basic Micro Studio folder name to BasicMicroStudio.