No .abs file created

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No .abs file created

2,763 Views
AkaLaka
Contributor II

I have converted a project from Codewarrior 6.3 to 10.1. It builds to the point

of failing at the burner stage, not being able to find the abs file. (Note that it

took quite a few tweeks to get to this point.) In fact, no abs file was created,

even though the build log would seem to indicate otherwise:

 

Buid log:

 

Finished building: D:/cw/project/Sources/Start08.c'
' '
'Building target: project.abs'
'Invoking: Linker'
"C:/Program Files (x86)/Freescale/CW MCU v10.1/MCU/prog/linker" -ArgFile"project.args" -O"project.abs" -Add("./Sources/hid_c.obj" "./Sources/file1.obj" "./Sources/file_s.obj" "./Sources/main_c.obj" "./Sources/file2.obj" "./Sources/file3.obj" "./Sources/Usb_Drv/Usb_Drv_c.obj" "./Sources/Usb_Drv/Usb_Ep0_Handler_c.obj" "./Project Settings/Startup Code/Start08_c.obj")
'Finished building target: project.abs'
' '
'Invoking: Burner'
"C:/Program Files (x86)/Freescale/CW MCU v10.1/MCU/prog/burner" -ViewHidden -f="D:/cw/project/prm/burner.bbl" -env"ABS_FILE=project.abs"
ERROR B1000: Could not open 'input file' 'project.abs'
*** command line: '-ViewHidden -f="D:/cw/project/prm/burner.bbl" -env"ABS_FILE=project.abs"' ***
Burner: *** Error occurred while processing! ***
C:\Program Files (x86)\Freescale\CW MCU v10.1\gnu\bin\make: *** [project.abs.s19] Error 1

 

No .abs file exists anywhere on my system.  Any ideas?

 

Thanks in advance!

Labels (1)
Tags (1)
6 Replies

1,567 Views
BlackNight
NXP Employee
NXP Employee

Hello,

If you imported the project, then your project in the workspace probably has links to the original project location (outside the eclipse workspace). Depending on your settings, it could be that the .abs file is created in your original project location (outside the workspace). Can you find it there?

 

BK

0 Kudos
Reply

1,567 Views
AkaLaka
Contributor II

No, I thought of that. I searched the entire hard drive for any .abs file... none found.

0 Kudos
Reply

1,566 Views
CrasyCat
Specialist III

Hello

 

Can you check what is Build Location for the project.

You can retrieve that information as follows:

  - Open the Project Properties dialog (Select Project > Properties)

  - Go to the C/C++ Build page.

    What is specified as Build directory there?

 

Additionally can you check the following:

  - Go to the C/C++ Build > Settings page

  - Switch to the Build Artifact tab

    What is specified here as Artifact name?

 

CrasyCat

0 Kudos
Reply

1,566 Views
AkaLaka
Contributor II


The build directory is: ${ProjDirPath}/Standard. Looked up
ProjDirPath, and it's correct. Aall the objects are in ${ProjDirPath}/Standard/Sources.

The err.log file is a helpful "1 ERROR".


The artifact name is the "project". Note that there is no "Artifact Type" specified.

 

Thanks for your response.

0 Kudos
Reply

1,566 Views
BlackNight
NXP Employee
NXP Employee

Hello,

the final absolute (or linked) file name is built up from the 'artifact name' and 'artifact extension'. Can you verify that you have 'abs' as artifact extension?

 

BK

0 Kudos
Reply

1,566 Views
AkaLaka
Contributor II

 

Yep, it's abs.

0 Kudos
Reply