BasicMicro - Forums

www.basicmicro.com
It is currently Mon Sep 06, 2010 5:20 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Cannot get Studio to work: "error starting compiler"
PostPosted: Fri Feb 05, 2010 8:40 pm 
Offline
New User

Joined: Thu Feb 04, 2010 6:18 pm
Posts: 3
New here, just got the lab board and a couple of micros.

I have installed V...16 of Studio and when I run any compile I get an error starting the compiler that says "application is incorrectly configured" or words to that effect. It suggests that reinstalling might fix it, but it does not. I have tried removing completely with the control panel as suggested, and reinstalling with the same result. I have tried moving the files around, for example the project folder to the C: root; again no dice.

I can install the 8...17 release and it works. I have not tried anything in between. The BasicMicro folder gets installed in the Programs folder. Should it go somewhere else? What should I try next?

This is running on XP Home SP2.


Top
 Profile E-mail  
 
 Post subject: Re: Cannot get Studio to work: "error starting compiler"
PostPosted: Sat Feb 06, 2010 12:11 am 
Offline
Master

Joined: Sun Aug 17, 2008 5:26 pm
Posts: 695
Location: CA bay Area
Hello jfitch. It looks like you have read other posts about problems starting Studio and tried the solutions posted there.
Before I send this to the attention of the programmer I need to know:
1. What kind of micros (atoms) did you get?
2. Do you literally mean you got the BasicAtom Lab Board? If not, which board did you get?
3. Are the selectors set to the proper Atom type, part and COM port? Ie, BasicATOMPro, BasicATOMPro 28, Com11
4. Send a sample of the code that is failing like this.

Later.

_________________
kenjj
http://blog.basicmicro.com/
http://kjennejohn.wordpress.com/


Top
 Profile E-mail  
 
 Post subject: Re: Cannot get Studio to work: "error starting compiler"
PostPosted: Sat Feb 06, 2010 11:11 am 
Offline
New User

Joined: Thu Feb 04, 2010 6:18 pm
Posts: 3
1. I bought a Pro 40 and a Pro 28
2. I bought both the lab board and the development board
3. The selectors are set to the correct values
4. Any code or even an empty window returns the same error.

If the processor setting is "auto", then I will get a "micro must be connected for automatic detection" type of error if no processor is connected. However if the processor is selected and I invoke "tools>build", then the compiler fails to start regardless of what is in the project code window. So it seems to have nothing to do with the board, cable, micro, etc., just the software setup. For example:

main
end

or, as I say, even an empty window returns the same error. The error is a dialog box that says "Error starting compiler" in which the only choice is "OK". Immediately prior to that, the messages:

"Starting Compiler..."
"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem"

appear in the Build window. Reinstalling the application does not fix the problem. The installation script reports no errors, I selected all the defaults. Under the same circumstances 8.x runs normally.

The same thing happens invoking "tools>program" after a very short delay if a micro is connected. Studio will find and correctly identify the micro from the preferences window.

I believe this is unrelated, but I also had some difficulties installing the USB serial driver. If I allowed Windows to identify the driver, it would install one, then immediately restart the process ("new hardware found, do you want to search for a driver" type of thing). If I said OK, then I ended up with multiple instantiations of the driver, none of which would recognize the port. Going back to square one (and removing all of the drivers in the control panel) if I forced the search for the driver to go to the Basic Micro Studio folder, then it would install correctly. This seemed to be repeatable, but I only tried it a couple of times. The driver version was the same in all cases good and bad, as reported by the control panel. I believe this is unrelated to the compiler problem as these should be somewhat disconnected functions, 8.x works fine once the driver is installed, and Studio finds and ids the micro, just won't start the compiler.


Top
 Profile E-mail  
 
 Post subject: Re: Cannot get Studio to work: "error starting compiler"
PostPosted: Sat Feb 06, 2010 6:11 pm 
Offline
Master

Joined: Sun Aug 17, 2008 5:26 pm
Posts: 695
Location: CA bay Area
You have covered everything I would ask for. I see nothing you are doing that would explain the problem and/or how to fix it. I will now contact the programmer and enlist his help.
Take care.

_________________
kenjj
http://blog.basicmicro.com/
http://kjennejohn.wordpress.com/


Top
 Profile E-mail  
 
 Post subject: Re: Cannot get Studio to work: "error starting compiler"
PostPosted: Mon Feb 08, 2010 11:30 am 
Offline
Site Admin

Joined: Thu Mar 01, 2001 11:00 am
Posts: 323
Location: Temecula, CA
Sounds like it didn't install correctly.

1. When you click Build and are NOT using AUTO the hardware is never checked at all so the compiler not starting has nothing to do with the USB/DevBoard/Module.
2. When using AUTO before starting to compile the Module type is checked. If no module is found the compile isn't started at all.

So you have two unrelated problems.

1. The "This application....configuration..." usually means the VC 2008 runtimes are not installed on your PC. Studio is compiled using VS2008. All 8.X.X.X releases were compiled with VS6.0. You should try to uninstall/reinstall Studio to see if that fixes the problem. If it doesn't, then go to Microsofts website and down load and install the VC 2008 redist runtimes. This is only a problem on XP because Vista and Win7 already have the runtimes installed. However the Studio install also installs the runtimes (locally only for BasicMicroStudio) so I'm not sure why it's complaining unless the BasicMicro installer didn't finish installing like it should.

2. Open the Preferences Window, then in the General tab click FIND. Is the attached module found (try with both the 28 and 40 pin module)? If so then make sure you set the Com port drop down on the main screen to the com port the FIND said it found the module on. If it doesn't find anything please confirm everything is plugged in and powered correctly. if you are using one of our USB dev boards is the USB driver for the comport installed correctly? What com ports show in the Com port dropdown on the main window? What comport did FIND say the module was on?

_________________
Nathan Scherdin
Visit BasicMicro

Datasheets:
Servo Controller - ARC32
Microcontroller - AtomPro
Motor Controller - Robo Claw
RC Lighting - Cylon LED


Top
 Profile E-mail  
 
 Post subject: Re: Cannot get Studio to work: "error starting compiler"
PostPosted: Mon Feb 08, 2010 5:01 pm 
Offline
New User

Joined: Thu Feb 04, 2010 6:18 pm
Posts: 3
I downloaded and installed the VC 2008 redist package, that fixed the compile start problem. I don't know why it didn't install correctly from the script, perhaps because it is only XP SP2? I had already tried uninstalling and reinstalling, each time it installed without complaints or errors.

The other problem isn't a problem at all, I just mentioned that sequence in case it meant anything in terms of debug. As long as a processor is plugged in, it finds it, ids it correctly and does the right thing. The only strange thing there is the odd behavior of the driver installation - however once installed correctly it continues to work well.

By the way as a curiosity, this is running on a Macintosh under VMware Fusion. I tried installing it on two different virtual machines with the same result (both of them XP Home SP2).

Thanks for the help!


Top
 Profile E-mail  
 
 Post subject: Re: Cannot get Studio to work: "error starting compiler"
PostPosted: Mon Feb 08, 2010 8:23 pm 
Offline
Master

Joined: Sun Aug 17, 2008 5:26 pm
Posts: 695
Location: CA bay Area
Most excellent! I'll pass this on to the programmer. He will be pleased.
Later!

_________________
kenjj
http://blog.basicmicro.com/
http://kjennejohn.wordpress.com/


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO