(compiling error) math functions in externals


    Jan 08 2014 | 12:58 pm
    Hi ! im on win7 x64 with AMD CPU, using VS2013 , trying to compile code that uses trigonometry (cos,sin) functions .
    while im trying to compile my code with use of those function im experiencing some errors .
    compiling as "release" for x86 throws :
    error LNK2001: unresolved external symbol __libm_sse2_sin_precise 
    error LNK2001: unresolved external symbol __libm_sse2_cos_precise 
    
    it doesnt complain while compiling as "debug" version for x86 , it also doesnt complain while compiling for x64 .
    im using AMD CPU , has it something to do with it ? if so why it works with "debug" version and on x64 ? (normally i can use trigonometry in plain C executable with use of math.h)
    those are my first times with C in relation to Max so im really newbie here . And its really hard to spot things that are causing certain problems by myself .
    i need your help guys

    • Jan 08 2014 | 2:57 pm
      solved . for x86 i had to change some project settings
      Configuration Properties_
           C/C++_
                Enable Enhanced Instructions Set : Streaming SIMD Extensions 2
                ...to...
                Enable Enhanced Instructions Set : Streaming SIMD Extensions