In a large sturdy glass, combine the raspberries, sugar, raspberry syrup, and lime juice. Use a pestle to gently crush or muddle and mix the ingredients. Then add the vodka and cranberry juice. Add the ice and shake vigorously using a cocktail shaker. Pour the mixture back into the glass. Garnish with a slice of lime. Serve immediately.