Hello, Manid-- and welcome to English Forums. The meanings are the same. The problem is that the form with the infinitive is little used and sounds odd.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.