Re: [osg-users] osgViewerMFC example (linking errors)

2010-07-28 Thread Sanat Talmaki
Hi Cory,

That was it. Thanks for catching that out.

Best,
Sanat

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30346#30346





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgViewerMFC example (linking errors)

2010-07-27 Thread Cory Riddell
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:
 1Linking...
 1msvcrt.lib(crtexe.obj) : error LNK2001: unresolved external symbol _main
 1C:\Projects\OSG_examples\Release\OSG_examples.exe : fatal error LNK1120: 1 
 unresolved externals
 1Build log was saved at 
 file://c:\Projects\OSG_examples\Release\BuildLog.htm
 1OSG_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


Re: [osg-users] osgViewerMFC example (linking errors)

2010-07-24 Thread Sanat Talmaki
bump

hoping to kno if any of you guys have faced this problem/any solutions ?

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30239#30239





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org