For$
<!-- begin site header -->
<div id=

Author Topic: Error C1021 when compiling with Visual Studio 2010  (Read 13734 times)

MechWarrior001

  • Newbie
  • *
  • Posts: 31
    • View Profile
Error C1021 when compiling with Visual Studio 2010
« on: November 12, 2011, 10:04:56 am »
Lately I've been getting this error when attempting to compile using Visual Studio 2010. So far I think I have all my dependencies setup right, so I don't know why this is popping up.

Code: [Select]
fatal error C1021: invalid preprocessor command 'cmakedefine'
What do you suggest?

Fador

  • Administrator
  • Full Member
  • *****
  • Posts: 126
    • View Profile
Re: Error C1021 when compiling with Visual Studio 2010
« Reply #1 on: November 12, 2011, 03:39:23 pm »
cmake will change those parts when you run it..so you'll have to define them manually if you dont want to use cmake =b