| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I am using the Stonybrook development environment under Windows XP. I have been using in the past Quicktime 5, but wanted to update to use the latest Quicktime 7.1 SDK. When I include under my directorys to search for libraries the quicktime 7 library files, I get linker errors as follows: Double definition of symbol: ??_C@_01KICIPPFI@?2?$AA@ Double definition of symbol: ??_C@_0O@MOILJOGA@QuickTime?4qts?$AA@ \views\manchego\qtw.proj\projectfiles\sandbox\Comm onSource\Utilities \QTLoadLibraryUtils.c refers to the following undefined symbols __access _strncpy Link terminated with errors Build thread closed Anybody else ever hit these kinds of problems? I guess I am short one library, perhaps a C runtime library for __access and __strncpy. Curently my search path is to search quicktime first, then a MSHTMLHELP library folder. |
|
#2
| |||
| |||
| Edward, In Visual Studio 2005, create a dll with wrapper functions for what you really need. Use the Multi-threaded runtime library (/MT). Alternatively, do not link the libraries but use LoadLibrary() and GetProcAddress() at runtime. Tip: a similar approach can be taken to use .NET stuff in M2 programs. You create a DLL with wrapper functions [use __declspec(dllexport)] in C++/CLR. In this case you must select the Multi-threaded DLL (/MD) runtime library - and you will have to distribute the C++ runtime. You can link the libs associated with the DLLs with SBM2, or use LoadLibrary() and GetProcAddress(). (I do not think it is possible to link normal static libraries - if you can please let me know). Frank. "edward" <edward@magicmouse.com> wrote in message news:1190925835.486493.327180@r29g2000hsg.googlegr oups.com... >I am using the Stonybrook development environment under Windows XP. I > have been using in the past Quicktime 5, but wanted to update to use > the latest Quicktime 7.1 SDK. When I include under my directorys to > search for libraries the quicktime 7 library files, I get linker > errors as follows: > > Double definition of symbol: ??_C@_01KICIPPFI@?2?$AA@ > > Double definition of symbol: ??_C@_0O@MOILJOGA@QuickTime?4qts?$AA@ > \views\manchego\qtw.proj\projectfiles\sandbox\Comm onSource\Utilities > \QTLoadLibraryUtils.c refers to the following undefined symbols > > __access > _strncpy > Link terminated with errors > Build thread closed > > Anybody else ever hit these kinds of problems? I guess I am short one > library, perhaps a C runtime library for __access and __strncpy. > Curently my search path is to search quicktime first, then a > MSHTMLHELP library folder. > |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.