Electrical – Altium pin error

altiumdesignerrorpcbpins

I'm a beginner with Altium Designer 17.1 and I'm facing difficulties. I'm designing a PCB but when I compile the project this error is shown.

I'm using ports, they are set on global.

Also, I'm having another problem. I made a NMOS Schematic and this error is shown :
enter image description here

I made the pins and everything worked fine (this error isn't shown in the compilation, only the error above) but when it comes to the PCB, they are implemented on the PCB but aren't linked to other components.

Thank you for your help.

Best Answer

First and foremost: Always make sure to hit Project -> Recompile instead of Project -> Compile (Recompile will take all sheets into account, not only the one you're working on). The first error should disappear. If not, make sure that the pins are actually connected (can be an issue when you're designing in a metric system for the schematic as Altium will usually use DXP units (which are imperial). Also let us know your settings in the project properties (Hierarchical, Automatic, ...).

As for the second issue. You need to match the Pin designator. Your schematic symbol probably has Pin Designators 1,2,3; your PCB symbol probably has Pin Designators (well, actually Pads) labeled G,S,D ... you need to choose one over the other. Those must match.