Described are compounds of the general formula (I)
and pharmaceutically acceptable salt thereof, in which R2, R3, W,and X have the definitions illustrated in detail in the description, as beta-secretase, cathepsin D, plasmepsin II and/or HIV protease inhibitors.