Fail to compile the source code with VS2012
Dear everyone
I am just starting using DualSPHysics and i want to compile the original code in order to do further research.
My computer is CUDA capable and CUDA examples are passed with cuda V5.5 toolkit.
When I compiling the code with VS2012, one error occurred described as:
LINK : fatal error C1047: The object or library file“Libs\JFormatFiles2_x64.lib”was created with an older compiler than other objects; rebuild old objects and libraries.
I may recognize the fault due to the .lib file was created by VS2010. but i do not know how to adjust this file in VS2012.
Anyone can help? Thank you.
I am just starting using DualSPHysics and i want to compile the original code in order to do further research.
My computer is CUDA capable and CUDA examples are passed with cuda V5.5 toolkit.
When I compiling the code with VS2012, one error occurred described as:
LINK : fatal error C1047: The object or library file“Libs\JFormatFiles2_x64.lib”was created with an older compiler than other objects; rebuild old objects and libraries.
I may recognize the fault due to the .lib file was created by VS2010. but i do not know how to adjust this file in VS2012.
Anyone can help? Thank you.
Comments
Regards
I have re-installed CUDA6.0 and use VS2010. At first, I met the same problem described as the same in the post:
http://dual.sphysics.org/vanilla/discussion/277/error-when-compile-dualsphysics#Item_6
And i just follow the former 2 steps you proposed since i do not know how to config the third step.
But, finally i have passed the compilation in VS2010 with CUDA6.0.
Thank you.
Regards!
Have you been able to compile the code with CUDA6.0?
Regards!
Thanks.
Best regards.