Error LNK2029

The error LNK2029 is caused by the linker when you have OCL calls in your source, but you didn't compile with the /Gm+ parameter. The error may look as follows:

CPPOOC3.LIB (iexcept.cpp) : error LNK2029: "_errno" : unresolved external Charlie Choc (cchoc@mindspring.com) says: Make sure you are compiling with the Gm+ option, the Open Class Library requires the multi-threaded otpion. In a multi-thread environment _errno is a function, in a single thread environment it is an int.
Note:
See also Required Compiler Flag and How to Link

[Home] [Index]
Page generated by Stéphane Charette on 1997 June 30
Open Class Library (OCL) FAQ © Stéphane Charette, 1997