Kubrick took five years to develop and plan his next film . It was a science fiction film called 2001 : A Space Odyssey and it was released in 1968 . Kubrick spent five years developing his next film , 2001 : A Space Odyssey ( 1968 ) .