PDA

View Full Version : wish I had a clue



cncmachineguy
- 1st May 2011, 22:07
Here is the output I get from MPLAB:


Executing: "C:\PBP\PBPMPLAB.BAT" -ampasmwin -k# -p16F1827 "..\..\..\..\..\PBP\mcs projects\HighBot\High blink.bas"
Executing: "C:\PBP\PBPW.EXE" -ampasmwin -k# -p16F1827 "..\..\..\..\..\PBP\mcs projects\HighBot\High blink.bas"
PICBASIC PRO(TM) Compiler 2.60B, (c) 1998, 2011 microEngineering Labs, Inc.
All Rights Reserved.
BUILD FAILED: Sun May 01 17:03:52 2011


heres the entire program:


OSCCON = %11110010
DEFINE OSC 32
led var portb.5
main:
toggle led
pause 500
goto main


anybody have any ideas why the build fails? It goes through all the normal things, including mpasm green bar.


EDIT: Solved it. my DOH!!!!!! No spaces allowed in file name I suppose.

mackrackit
- 1st May 2011, 23:44
Could be you are reaching the path character (number of ) limit and removing the spaces cut it down enough. Allowed something like 62 characters. If not just us "_" for a space for readability.

Demon
- 3rd May 2011, 05:51
works fine here.

(great, now I see your edit)

mister_e
- 3rd May 2011, 09:04
I had another solution, but my post have been deleted... oh well, I got no more love in here :D

mackrackit
- 3rd May 2011, 09:44
I had another solution, but my post have been deleted... oh well, I got no more love in here :D
Steve, if you are referring to the post with the camels it had nothing to do with the subject or the forum. I did not delete, another moderator beat me to it but I saw it in the email notification.

mister_e
- 3rd May 2011, 23:34
Sad...I'm quite impressed NO ONE never heard of Camel Case...even more impressed on a "programmer" forum... oh well...

a bit of culture then
http://c2.com/cgi/wiki?CamelCase

SometimeYouNeedToReadBetweenTheLineButModeratorPow erTripSeemsToDisableThisFeature

mackrackit
- 4th May 2011, 00:01
SometimeYouNeedToReadBetweenTheLineButModeratorPow erTripSeemsToDisableThisFeature
Not a power trip at all, just trying to keep things "family" friendly.

mister_e
- 4th May 2011, 00:16
This place changed... it's been a funny place.

oh well. I'll keep my "entertaining & read between the line humor" for myself then.

Such is life, So be it.

cncmachineguy
- 4th May 2011, 00:30
Wow, for such a dull beginning, this has become an intresting thread.

Let me first say this. I don't know if it was the space in the program name or the path length. here is the full path:


C:\PBP\mcs projects\HighBot\high blink.PBP

42 char by my count including C and .PBP. So I must think is was the space in the file name. Now the REAL problem IMHO is the fact that it just says build failed with NO CLUE as to why. Clearly I won't make such a mistake again. :)

As for CamelCase,camelCase, or whatever, I have been using that on and off for about 15 years when coding LotusNotes scripts. I am not very judical about it though. I guess win Doze and its lack of caring about case in paths/filenames has made me a bit lazy on naming.

Now I can't imagine what steves response was that was not family friendly, but I can only imagine it was some funny yet in-appropiate picture showing camelCase in all its glory.

mister_e
- 4th May 2011, 00:32
No worries ;)

Archangel
- 4th May 2011, 20:06
Hooray For CamelCase, C users have used forever, Joe used for about 4 years, prefer to uppercase the first letter though, I am moving toward changing to CamelCase for Word and camelCase for Byte Variables.
Funny till this thread I never heard the term Camel Case and due to not being home I missed Steve's post too :( DRAT !
I guess that's what is referred to as a programmer's style, I see in myself a change toward more structured programming mostly to make my own life easier.

Archangel
- 4th May 2011, 20:09
Now I can't imagine what Steve's response was that was not family friendly, but I can only imagine it was some funny yet in-appropriate picture showing camelCase in all its glory.
Now you got my imagination going . . . :D

mister_e
- 5th May 2011, 00:13
;) Check your PM :D

Demon
- 5th May 2011, 02:34
FINE!

Don't send the pic to me.








Didn't know what camel case was either. I've seen the use of lower and upper case letters in programming for a long time, just never heard it called like that.

mister_e
- 5th May 2011, 03:08
Don't send the pic to me.
yeah right ;)

ScaleRobotics
- 5th May 2011, 22:51
Oh no, keep the humor coming Steve! We could use a good dose of your humor around here! I have been missing it. It's good to see you back! Hopefully your next one will slip past our censors.:D


This place changed... it's been a funny place.

oh well. I'll keep my "entertaining & read between the line humor" for myself then.

Such is life, So be it.

ScaleRobotics
- 10th August 2011, 17:41
Well, it appears that Camel Case is an official term. At least according to Microchip's MPlabX, and can be selected, or unselected. Got a chuckle from me.

5858

mister_e
- 10th August 2011, 17:53
hahaha! How dare you have some doubt about it :D

http://rustedreality.com/images/gallery/IT/camelCase.jpg

ScaleRobotics
- 10th August 2011, 18:05
You had me at "wikipedia"....