EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / error in compiling the program using pic c -18 compiler

error in compiling the program using pic c -18 compiler

|

Microcontroller › PIC › error in compiling the program using pic c -18 compiler

  • This topic has 0 replies, 1 voice, and was last updated 12 years, 11 months ago by Abhishek Dixit.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • May 6, 2013 at 12:30 am #2374
    Abhishek Dixit
    Participant

    hii,

           i saw the example of serial interface with the PIC micro controller. i am using PIC18f4550 micro controller, and for programming i am using PIC C-18 compiler. but when i compile the code which i found on the your example,  i got following types of error.

     

    C:UsersABHISHEKDesktopSerial_commserial_comm.c:12:Error [1151] struct or union object designator expected
    C:UsersABHISHEKDesktopSerial_commserial_comm.c:13:Error [1151] struct or union object designator expected
    C:UsersABHISHEKDesktopSerial_commserial_comm.c:14:Error [1151] struct or union object designator expected
    C:UsersABHISHEKDesktopSerial_commserial_comm.c:20:Error [1151] struct or union object designator expected
    C:UsersABHISHEKDesktopSerial_commserial_comm.c:21:Error [1151] struct or union object designator expected
    C:UsersABHISHEKDesktopSerial_commserial_comm.c:26:Error [1151] struct or union object designator expected
    C:UsersABHISHEKDesktopSerial_commserial_comm.c:28:Error [1151] struct or union object designator expected
    C:UsersABHISHEKDesktopSerial_commserial_comm.c:33:Warning [2058] call of function without prototype
    Halting build on first failure as requested.

     

    so i want to ask you that in which compiler the code in wriiten in the examples? is this PIC C-18 compiler or another??

     

    Thank you

     

    Regards,

    Abhishek Dixit

  • Author
    Posts
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • AI algorithm for bots April 17, 2026
  • SDCC Array Access In Timer 0 Interrupt Handler April 16, 2026
  • EasyEda program has a major bug April 16, 2026
  • ANOTHER OLD PROJECT REDO April 16, 2026
  • How to set the OSCAL in a PIC 12F675 April 16, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise