![]() |
【转帖】how to make opopengl sample work
how to make opopengl sample work ?
how to make opopengl sample work ? hello there, i'm trying to test this sample, but even if i can compile it, it is not working (i'm not using the jam file in the directory : i just created a simple visual studio project importing all the needed sources). apparently the problem comes from the "genericopenglmodule" stuff... : it seems that there is a problem with the lines : odgsmoduleptr m = odrxdynamiclinker()->loadapp("genericopenglmodule"); g_pdevice = m->createdevice(); --> each time i try to load a file i get an "unknown exception caught"... :-( by the way in linking against the dynamic version of the libraries... it seems to me that this "genericopenglmodule" has the same status that the "modelergeometry" module... but i have a "modelergeometry_2.04_7.drx" file somewhere whereas there is no "genericopenglmodule_2.04_7.drx" anywhere... is this normal ? any help or explanation would truly be appreciated... thank :-) emmanuel. unfortunately odopengl sample is written in such manner that it works only in static (not in dll) configuration. this is because implementation for genericopenglmodule is inside the odopengl.cpp - the sample code. if you want to get it working in dll configuration you need to separate the genericopenglmodule implementation from other sample code and make a project for genericopenglmodule_2.04_7.drx sergey slezkin |
所有的时间均为北京时间。 现在的时间是 05:33 AM. |