NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Davarpanah
Posts: 14
0 Kudos

Re: Compact RIO - vxworks

Hi Aldo,

If you run setup-gcc in CommandPrompt and then run       c++ppc -print-search-dirs    you can see that gcc-lib is defined as the first path. In my computer a gcc compiler (based on Fortran software) is installed in the abovementioned path. Have you installed gcc compiler in your computer?

It should be noted that I installed gcc compiler. Since the source of gcc compiler is in Linux, I installed it by using Mingw software. But I don't know how can gcc compiler be related to c++ppc.

Have you any suggestion or opinion?

 

NI7.JPG

Regards,

Davarpanah

Member
Davarpanah
Posts: 14
0 Kudos

Re: Compact RIO - vxworks

 Hi Aldo,

I noticed that the c++ppc file uses the following path, as i mentioned previously.

"C:\programfiles\egcs\bin"

EGCS is a compiler frame-work which was created in my computer after installing PSCAD/EMTDC software. In EGCS framework, some compiler such as C, Fortran etc may be present. Since, I didn’t have a compatible compiler with vxWorks in the abovementioned path, it cannot work properly. So, I tried to use vxWorks in a computer which the PSCAD software is not installed in, and it can correctly compile the example file.

 

Regards,

Mahdi Davarpanah

Member
Aldo_A
Posts: 130
0 Kudos

Re: Compact RIO - vxworks

Hi Mahdi,

 

Thanks for the update. I'm glad that the gcc compiler path was the issue in this case and you got it. Hopefully in the future when people search for the similar error, they can check their gcc c++ppc build paths.

 

 

Aldo A
Applications Engineer
National Instruments
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page