Hi Sajjadul ,

Sajjadul Islam wrote:
> Hello,
> 
> Are the code snippet given in the wiki supposed to function within
> simple int main() { return0 ; } block?

No, they need to be embedded in a basic OpenSG app. Marcus already gave 
the most important part: you have to call osgInit before creating any 
OpenSG objects. In general osgInit should be the first OpenSG call in 
your application.

The best way to do it is to start with a tutorial that works and 
changing it.

Hope it helps

        Dirk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to