On 7/26/2010 10:59 AM, Sanat Talmaki wrote: > I have linked all libs from the osg visual studio package as well as the 3rd > party dependencies. > -Do I need to set any other libs I;m guessing the linker error is from some > lib I've not set. > > I've set the following settings for my project: > Use of MFC: Use MFC in a Shared DLL > Character Set: Not Set > Common Language Runtime Support: Common Language Runtime Support (/clr) > > > The error I'm still getting is: > > > Code: > 1>Linking... > 1>msvcrt.lib(crtexe.obj) : error LNK2001: unresolved external symbol _main > 1>C:\Projects\OSG_examples\Release\OSG_examples.exe : fatal error LNK1120: 1 > unresolved externals > 1>Build log was saved at > "file://c:\Projects\OSG_examples\Release\BuildLog.htm" > 1>OSG_examples - 2 error(s), 0 warning(s) > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== > >
If it is looking for a main(), then I think you might be linking for a console application rather than a windows application. Look in your linker settings and see what subsystem you have selected. Cory _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org