Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | V.2 compiler project error

Discussion forum for the BasicX family of microcontroller chips.

V.2 compiler project error - pjc309430 - May 12 12:16:00 2002

Good morning,

I have compiler V 2.00 installed.
(installed after the other was uninstalled first)

Recently I tried to open projects I made with the last compiler
version. I always get an error "can't find file
c\.....\somefile.bas" , and "unable to locate module
c\.....\somefile.bas", where the directory are the default directory
of the last compiler version (that folder doesns't exist anymore)

The title of the Editor window does change to that of the project I
want to work on, but that's it.

I can see the module is physically right where it should be, in the
current Bx Environment programs folder; I can see all bas,pfr,bxb,
etc files for the project I want to open.

There are about 40 programs that won't open.
I can open them in notepad just fine; I'd like to avoid manually
going through every file and making a new project with it. What am I doing wrong? Does anyone have a similar problem?

Thank you,
Paul





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: V.2 compiler project error - Frank Manning - May 12 13:11:00 2002

From: "pjc309430" <>

> [...]
> Recently I tried to open projects I made with the
> last compiler version. I always get an error
> "can't find file c\.....\somefile.bas" , and
> "unable to locate module c\.....\somefile.bas",
> where the directory are the default directory
> of the last compiler version (that folder doesns't
> exist anymore)
> [...]
> There are about 40 programs that won't open.
> [...]

For each of these programs, is the BXP project file located in the same
directory as its module files (usually *.bas) for the program?

Could you post a copy of a BXP file for a program in which the problem
occurs?

-- Frank Manning
-- NetMedia, Inc.





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: V.2 compiler project error - pjc309430 - May 12 14:21:00 2002

Hi Frank,

Thanks for your reply (and on a Sunday! Gee, you could wait until a
weekday:)

Here is a bxp file of one such project, located in the directory of
the project's .bas file:

c:\program files\basicx environment\scantest.bas

This is the old folder directory of the last software version.
All the programs are now in
c:\program files\basicx\programs\

I can go through each file's bxp and change it to the correct pathway.

Thank you,
Paul > For each of these programs, is the BXP project file located in the
same
> directory as its module files (usually *.bas) for the program?
>
> Could you post a copy of a BXP file for a program in which the
problem
> occurs?
>
> -- Frank Manning
> -- NetMedia, Inc.




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: V.2 compiler project error - Frank Manning - May 12 15:37:00 2002

From: "pjc309430" <>

> Hi Frank,
>
> Thanks for your reply (and on a Sunday! Gee, you
> could wait until a weekday:)
>
> Here is a bxp file of one such project, located in
> the directory of the project's .bas file:
>
> c:\program files\basicx environment\scantest.bas
> [...]

If the BXP file is in the same directory, the IDE is supposed to refrain
from including the full path. Otherwise this causes the problems you're
seeing.

This wasn't handled very well in older versions of the IDE, but it should be
fixed in V2.0.

One workaround is to re-create the old directory name, open each project
with the new compiler and hit Save-Project in the editor file menu. This
should remove the path name from all modules that share the same directory
as the BXP file.

At this point you could restore the new directory names.

-- Frank Manning
-- NetMedia, Inc.





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

RE: Re: V.2 compiler project error - Dan Bielecki - May 13 0:26:00 2002

The project load process will give problems if there is a blank line in the
BXP file and also, if the end-of-file-marker is on a line of it's own and
not on the same line as the last path statement.

If you edit the BXP in Notepad, make sure there is no spaces or tabs after
the last character of the path name. The end-of-file marker should be on
that line.

I noticed that weird trait after generating BXPs files from a VB module. I
thought them to be text files but their not. At least not in the sense that
most TXT files are.

I have seen project files trashed once or twice now. Flat out empty on a
load or on an IDE exit. I always have a back up so I recover just fine from
it. Im not certain that its actually v2.0 or a windows driver for my CD
burner. Since I use UDF CD formats and work right to and from the CD
directly in BasicX. Could be a flaky UDF driver or a odd bug in Windows
using CDs as hard-drive-like devices or something flaky in v2.0. V2.0 is
last on the list, most everything else I've been thru on it is pretty solid
so I suspect the UDF driver or the CD driver....or maybe its just that time
again to reload Win2000.....

.db. -----Original Message-----
From: Frank Manning [mailto:]
Sent: Sunday, May 12, 2002 1:37 PM
To:
Subject: Re: [BasicX] Re: V.2 compiler project error From: "pjc309430" <>

> Hi Frank,
>
> Thanks for your reply (and on a Sunday! Gee, you
> could wait until a weekday:)
>
> Here is a bxp file of one such project, located in
> the directory of the project's .bas file:
>
> c:\program files\basicx environment\scantest.bas
> [...]

If the BXP file is in the same directory, the IDE is supposed to refrain
from including the full path. Otherwise this causes the problems you're
seeing.

This wasn't handled very well in older versions of the IDE, but it should
be
fixed in V2.0.

One workaround is to re-create the old directory name, open each project
with the new compiler and hit Save-Project in the editor file menu. This
should remove the path name from all modules that share the same directory
as the BXP file.

At this point you could restore the new directory names.

-- Frank Manning
-- NetMedia, Inc.
Yahoo! Groups Sponsor
ADVERTISEMENT

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: V.2 compiler project error - pjc309430 - May 13 17:34:00 2002

Hi Frank, and Dan,

Thanks for the replies.

I've gone through all the projects manually, and now all the bxp
files look okay. Thanks for the tips,
Paul




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )