Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IDE 2 project upgrade to IDE 4 problems
#1
Hi,

We have been happily working with IDE2 for the last couple of years, and since we're about to make some major updates to our project, I figured it was time to check out IDE4.

Unfortunately, when opening our IDE2 project and running through an upgrade process (which it claims was concluded successfully), I get this error when building some C code:

error : Makefile:327: /opt/powerpc-465-rootfs/usr/src/linux-3.2.21-serengeti-smp/scripts/Kbuild.include: No such file or directory
error : /bin/sh: /opt/powerpc-465-rootfs/usr/src/linux-3.2.21-serengeti-smp/scripts/gcc-goto.sh: No such file or directory
error : make: *** empty variable name. Stop.

I did a little searching in the forum, and noticed this had happened to someone else with IDE3, but the solution to manually install the PP465 compiler did not make a difference for me.

Any suggestions on how to resolve this?
Reply
#2
And... I just realized that 4.x doesn't support our EtherLab stack, which is a problem.. I know there is a new Acontis stack out, is there an upgrade path (software) to go from Etherlab to Acontis? (This is on a PPMAC 465)
Reply
#3
What firmware is on the 465 CPU?

Can you tell me what type of C code this is? useraglo, bgcplc, rticplc, Background C App?

I am taking a look at the IDE/firmware compatibility chart (see attachment) and it really only says that new firmware requires a new IDE, not that new IDE requires new firmware. That being said, using firmware and IDE versions from years apart can cause problems.


Attached Files Image(s)
   
Reply
#4
Eric,

The 465 is running 2.4.0.180, I believe the latest that I can download for that CPU.

I am running useralgo, and background C. Not sure which one isn't working, the compiler doesn't say.

As for the EtherCAT stack, can that be switched to Acontis on the 465 so IDE 4 can be used?

Oddly enough, I have another PC with IDE3 on it, and that one had no problem converting the IDE2 project and compiling / downloading it. I'm using that one for now.

The PC that is having trouble has a brand new install of the latest IDE4 (and also IDE3) on it. Both IDE3 and 4 can't seem to handle the project. This is a Windows 10 machine. The IDE3 machine that IS working is a Windows 7 machine. Not sure if that makes a difference...
Reply
#5
The 465/460 cannot run acontis. If you want to use etherlab with IDE4 you can follow this App Note, It basically says set up EtherCAT in IDE 3, take a config and move it to IDE 4 where your project actually is.:
http://forums.deltatau.com/filedepot/dow...ojects.pdf
Reply
#6
I forgot to add, IDE 3 and 4 can coexist on the same computer so the etherlab setup process doesn't take multiple computers. I typically keep the most up to date of both installed on mine.
Reply
#7
On your IDE 4 computer please try the following and report results.
Go to C:\DeltaTau\PowerPMAC\Compilers\opt\powerpc-465-rootfs\usr\src\linux-3.2.21-serengeti-smp\scripts and confirm both Kbuild.include and gcc-goto.sh exist. I am told if they don't you need to reinstall the compiler, but you already did that.

In the IDE, go to Tools->Options. Expand "Projects and Solutions" and select "Build and Run". The second to bottom option is called "MSBuild project build output verbosity:". Set it to Normal and click ok. This will give more verbose error messages on build and download.

Try to build and download the project again and see what error messages you get.

Create a new project, put your usralgo on a motor 0, try to build and download. Does it succeed. What error messages do you get?
New Project, add usralgo, does build and download succeed?
Reply
#8
(03-08-2019, 01:12 PM)Eric Hotchkiss Wrote: On your IDE 4 computer please try the following and report results.
Go to C:\DeltaTau\PowerPMAC\Compilers\opt\powerpc-465-rootfs\usr\src\linux-3.2.21-serengeti-smp\scripts and confirm both Kbuild.include and gcc-goto.sh exist. I am told if they don't you need to reinstall the compiler, but you already did that.

When I went to look for that folder, the entire scripts folder does not exist. I guess that explains the issue I'm having. I did a full uninstall / reinstall of the compiler and now the folder is there. And of course now it builds. I guess the original repair install I did for the compiler did not work..

Thanks for your help!
Reply
#9
Glad I could help :)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)