Couldn't generate elf file while building with S32ds PPC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Couldn't generate elf file while building with S32ds PPC

跳至解决方案
4,431 次查看
yashvardhan
Contributor II

cannot generate ELF file while compiling new project in S32, Please help me in determining what is wrong with this

0 项奖励
回复
1 解答
3,830 次查看
jiri_kral
NXP Employee
NXP Employee

Well - I'm afraid that Windows XP is not supported by S32DS. For testing/learning purposes you can install to your machine for example Oracle VirtualBOX ( Oracle VM VirtualBox  ), install Debian or Ubuntu linux into virtual box and install S32DS for Power Linux version. Unfortunately Linux version has limited SDK functionality. Non SDK examples are working okay. 

I didn't install any special software. I just started S32DS_Power_Win32_v2017.R1_b171019.exe . This installer contain all necessary files like PE Micro drivers, Microsoft Visual C redistributable  and so on. 

Yes - I have MPC5744P EVB - this one: 
Development Board for MPC5744P|NXP 

Jiri

在原帖中查看解决方案

11 回复数
3,830 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please share your output from build console? 
pastedImage_1.png

Jiri

0 项奖励
回复
3,829 次查看
yashvardhan
Contributor II

Thanks Jiri Kral for helping my console looks like something.

I am new to this IDE and would be thankful for your help

pastedImage_2.png

0 项奖励
回复
3,829 次查看
jiri_kral
NXP Employee
NXP Employee

You can try to use external builder. The internal one is not able link object into elf file. 

pastedImage_1.png

0 项奖励
回复
3,829 次查看
yashvardhan
Contributor II

I tried setting it exactly the same but I couldn;t figure out what is wrong. "elf file not generated". did you install anything other than S32DS Setup? i.e. external compiler etc

0 项奖励
回复
3,829 次查看
jiri_kral
NXP Employee
NXP Employee

The console output can't be same with external builder. Before build - clean project (right click on project name -> clean ), double check if External builder is set (don't forget press apply button). If build fail - please attach console output for external builder. 

Jiri 

0 项奖励
回复
3,828 次查看
yashvardhan
Contributor II

16:31:14 **** Build of configuration Debug for project aaaaaaaa ****
make -j2 all

16:31:14 Build Finished (took 156ms)

It just presents the following output when external build is selected :smileysad:

0 项奖励
回复
3,828 次查看
jiri_kral
NXP Employee
NXP Employee

It looks like that your project is empty - without any source code (or makefile is broken for some reason). Please try to create new project: File -> New -> New S32DS Project

pastedImage_1.png

Choose part which you are interested in: 

pastedImage_2.png

Other way is start with some example project with SDK and processor expert (or Example project without SDK): 

File -> New -> Project from Example 

pastedImage_4.png

Jiri

3,828 次查看
yashvardhan
Contributor II

pastedImage_1.pngpastedImage_3.png

pastedImage_2.png

dear did the same but all I am getting is this.

0 项奖励
回复
3,830 次查看
jiri_kral
NXP Employee
NXP Employee

Um - looks strange. Well - in this case I'll recommend to uninstall your S32DS - and try to install S32DS again.

Did your machine meet requirements in Release notes? 

PC with 1.8 GHz Intel(r) Pentium(r) compatible processor
* 2 GB of RAM
* 3.6 GB of disk space (when installing full product or updates)
* 3 GB on Windows system disk
* USB port for communications with target hardware
3.3. Host Operating System Support
* Microsoft Windows 7 32-bit and 64-bit
* Microsoft Windows 8/8.1 32-bit and 64-bit
* Microsoft Windows 10 32-bit and 64-bit

Jiri

3,830 次查看
yashvardhan
Contributor II

My operating system is :smileycry: "Windows XP" so it might be the case. I would like to ask you what you installed  beside

1. S32DS_Power_Win32_v2017.R1_b171019.exe

2. jre-8u45-windows-i586.exe

3. PEDrivers_install.exe

Q1. If anything else you installed kindly let me know?

Q2. do you have DEVKIT- MPC5744P?

:smileyhappy:I am so thankful to you for your time and effort. Thank you very much.

0 项奖励
回复
3,831 次查看
jiri_kral
NXP Employee
NXP Employee

Well - I'm afraid that Windows XP is not supported by S32DS. For testing/learning purposes you can install to your machine for example Oracle VirtualBOX ( Oracle VM VirtualBox  ), install Debian or Ubuntu linux into virtual box and install S32DS for Power Linux version. Unfortunately Linux version has limited SDK functionality. Non SDK examples are working okay. 

I didn't install any special software. I just started S32DS_Power_Win32_v2017.R1_b171019.exe . This installer contain all necessary files like PE Micro drivers, Microsoft Visual C redistributable  and so on. 

Yes - I have MPC5744P EVB - this one: 
Development Board for MPC5744P|NXP 

Jiri