Thread: [sdljava-users] GLU support added to gljava(opengl) binding
Status: Beta
Brought to you by:
ivan_ganza
From: Ivan Z. G. <iva...@ya...> - 2005-03-24 01:36:36
|
I've happy to announce that GLU support has been added to the opengl binding. Its is fully implemented _except_ for functions which involve a callback. - gluNurbsCallback - gluNurbsCallbackData - gluNurbsCallbackDataEXT - gluQuadricCallback - gluTessCallback The rest of the functions are all available. If you have a chance please give this a shot. Let me know if any problems are found. Just rebuild your libgljava.so/gljava.dll -- no other changes should be required. Thanks, -Ivan/ |
From: Rainer K. <ar...@gm...> - 2005-03-24 13:49:17
|
Ivan Z. Ganza wrote: > I've happy to announce that GLU support has been added to the opengl > binding. Its is fully implemented _except_ for functions which involve a > callback. - gluNurbsCallback - gluNurbsCallbackData - > gluNurbsCallbackDataEXT - gluQuadricCallback > - gluTessCallback > > The rest of the functions are all available. If you have a chance > please give this a shot. Let me know if any problems are found. > > Just rebuild your libgljava.so/gljava.dll -- no other changes should be > required. > > Thanks, > -Ivan/ Java class should be GLUquadric, not GLUquadratic :) Then I cannot build the native bindings on Windows since _GLUfuncptr is never defined: glew_wrap.c glew_wrap.c(6729) : error C2065: '_GLUfuncptr' : undeclared identifier glew_wrap.c(6729) : error C2146: syntax error : missing ';' before identifier 'a rg3' glew_wrap.c(6729) : error C2144: syntax error : '<Unknown>' should be preceded b y '<Unknown>' glew_wrap.c(6729) : error C2144: syntax error : '<Unknown>' should be preceded b y '<Unknown>' glew_wrap.c(6729) : error C2143: syntax error : missing ';' before 'identifier' glew_wrap.c(6729) : error C2065: 'arg3' : undeclared identifier glew_wrap.c(6730) : error C2065: 'argp3' : undeclared identifier glew_wrap.c(6730) : warning C4552: '*' : operator has no effect; expected operat or with side-effect glew_wrap.c(6736) : error C2059: syntax error : ')' glew_wrap.c(6741) : error C2100: illegal indirection glew_wrap.c(6742) : warning C4047: 'function' : 'void (__stdcall *)()' differs i n levels of indirection from 'int' glew_wrap.c(7106) : error C2146: syntax error : missing ';' before identifier 'a rg3' glew_wrap.c(7106) : error C2144: syntax error : '<Unknown>' should be preceded b y '<Unknown>' glew_wrap.c(7106) : error C2144: syntax error : '<Unknown>' should be preceded b y '<Unknown>' glew_wrap.c(7106) : error C2143: syntax error : missing ';' before 'identifier' glew_wrap.c(7107) : warning C4552: '*' : operator has no effect; expected operat or with side-effect glew_wrap.c(7113) : error C2059: syntax error : ')' glew_wrap.c(7118) : error C2100: illegal indirection glew_wrap.c(7119) : warning C4047: 'function' : 'void (__stdcall *)()' differs i n levels of indirection from 'int' glew_wrap.c(7278) : error C2146: syntax error : missing ';' before identifier 'a rg3' glew_wrap.c(7278) : error C2144: syntax error : '<Unknown>' should be preceded b y '<Unknown>' glew_wrap.c(7278) : error C2144: syntax error : '<Unknown>' should be preceded b y '<Unknown>' glew_wrap.c(7278) : error C2143: syntax error : missing ';' before 'identifier' glew_wrap.c(7279) : warning C4552: '*' : operator has no effect; expected operat or with side-effect glew_wrap.c(7285) : error C2059: syntax error : ')' glew_wrap.c(7290) : error C2100: illegal indirection glew_wrap.c(7291) : warning C4047: 'function' : 'void (__stdcall *)()' differs i n levels of indirection from 'int' NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\cl.exe' : return co de '0x2' Stop. |
From: Ivan Z. G. <iva...@ya...> - 2005-03-25 01:52:26
|
Thanks Rainer. I've renamed GLUquadratic to GLUquadric. Also I've removed the callback method from the .i (since they are not implemented yet anyway) and now the references to _GLUfunptr are not present in the file so I hope it will compile on Windows. Strange that I was able to compile here...hrmm. Please let me know if it works now. Thanks, -Ivan/ Rainer Koschnick wrote: > Ivan Z. Ganza wrote: > >> I've happy to announce that GLU support has been added to the opengl >> binding. Its is fully implemented _except_ for functions which >> involve a callback. - gluNurbsCallback - gluNurbsCallbackData - >> gluNurbsCallbackDataEXT - gluQuadricCallback >> - gluTessCallback >> >> The rest of the functions are all available. If you have a chance >> please give this a shot. Let me know if any problems are found. >> >> Just rebuild your libgljava.so/gljava.dll -- no other changes should >> be required. >> >> Thanks, >> -Ivan/ > > > Java class should be GLUquadric, not GLUquadratic :) > > Then I cannot build the native bindings on Windows since _GLUfuncptr > is never defined: > > glew_wrap.c > glew_wrap.c(6729) : error C2065: '_GLUfuncptr' : undeclared identifier > glew_wrap.c(6729) : error C2146: syntax error : missing ';' before > identifier 'a > rg3' > glew_wrap.c(6729) : error C2144: syntax error : '<Unknown>' should be > preceded b > y '<Unknown>' > glew_wrap.c(6729) : error C2144: syntax error : '<Unknown>' should be > preceded b > y '<Unknown>' > glew_wrap.c(6729) : error C2143: syntax error : missing ';' before > 'identifier' > glew_wrap.c(6729) : error C2065: 'arg3' : undeclared identifier > glew_wrap.c(6730) : error C2065: 'argp3' : undeclared identifier > glew_wrap.c(6730) : warning C4552: '*' : operator has no effect; > expected operat > or with side-effect > glew_wrap.c(6736) : error C2059: syntax error : ')' > glew_wrap.c(6741) : error C2100: illegal indirection > glew_wrap.c(6742) : warning C4047: 'function' : 'void (__stdcall *)()' > differs i > n levels of indirection from 'int' > glew_wrap.c(7106) : error C2146: syntax error : missing ';' before > identifier 'a > rg3' > glew_wrap.c(7106) : error C2144: syntax error : '<Unknown>' should be > preceded b > y '<Unknown>' > glew_wrap.c(7106) : error C2144: syntax error : '<Unknown>' should be > preceded b > y '<Unknown>' > glew_wrap.c(7106) : error C2143: syntax error : missing ';' before > 'identifier' > glew_wrap.c(7107) : warning C4552: '*' : operator has no effect; > expected operat > or with side-effect > glew_wrap.c(7113) : error C2059: syntax error : ')' > glew_wrap.c(7118) : error C2100: illegal indirection > glew_wrap.c(7119) : warning C4047: 'function' : 'void (__stdcall *)()' > differs i > n levels of indirection from 'int' > glew_wrap.c(7278) : error C2146: syntax error : missing ';' before > identifier 'a > rg3' > glew_wrap.c(7278) : error C2144: syntax error : '<Unknown>' should be > preceded b > y '<Unknown>' > glew_wrap.c(7278) : error C2144: syntax error : '<Unknown>' should be > preceded b > y '<Unknown>' > glew_wrap.c(7278) : error C2143: syntax error : missing ';' before > 'identifier' > glew_wrap.c(7279) : warning C4552: '*' : operator has no effect; > expected operat > or with side-effect > glew_wrap.c(7285) : error C2059: syntax error : ')' > glew_wrap.c(7290) : error C2100: illegal indirection > glew_wrap.c(7291) : warning C4047: 'function' : 'void (__stdcall *)()' > differs i > n levels of indirection from 'int' > NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\cl.exe' : > return co > de '0x2' > Stop. > > > > ------------------------------------------------------- > This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 > Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows > Embedded(r) & Windows Mobile(tm) platforms, applications & content. > Register > by 3/29 & save $300 > http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users |
From: Rainer K. <ar...@gm...> - 2005-03-25 12:23:06
|
Ivan Z. Ganza wrote: > Thanks Rainer. > > I've renamed GLUquadratic to GLUquadric. > > Also I've removed the callback method from the .i (since they are not > implemented yet anyway) and now the references to _GLUfunptr are not > present in the file so I hope it will compile on Windows. > > Strange that I was able to compile here...hrmm. > > Please let me know if it works now. > > Thanks, > -Ivan/ I'm on vacation now, so I hope someone else can veify that it is working now. When I get back in 3 weeks we may also be able to add my guichan Java port to SDLJava if you like :) Cheers, Rainer > Rainer Koschnick wrote: > >> Ivan Z. Ganza wrote: >> >>> I've happy to announce that GLU support has been added to the opengl >>> binding. Its is fully implemented _except_ for functions which >>> involve a callback. - gluNurbsCallback - gluNurbsCallbackData - >>> gluNurbsCallbackDataEXT - gluQuadricCallback >>> - gluTessCallback >>> >>> The rest of the functions are all available. If you have a chance >>> please give this a shot. Let me know if any problems are found. >>> >>> Just rebuild your libgljava.so/gljava.dll -- no other changes should >>> be required. >>> >>> Thanks, >>> -Ivan/ >> >> >> >> Java class should be GLUquadric, not GLUquadratic :) >> >> Then I cannot build the native bindings on Windows since _GLUfuncptr >> is never defined: >> >> glew_wrap.c >> glew_wrap.c(6729) : error C2065: '_GLUfuncptr' : undeclared identifier >> glew_wrap.c(6729) : error C2146: syntax error : missing ';' before >> identifier 'a >> rg3' >> glew_wrap.c(6729) : error C2144: syntax error : '<Unknown>' should be >> preceded b >> y '<Unknown>' >> glew_wrap.c(6729) : error C2144: syntax error : '<Unknown>' should be >> preceded b >> y '<Unknown>' >> glew_wrap.c(6729) : error C2143: syntax error : missing ';' before >> 'identifier' >> glew_wrap.c(6729) : error C2065: 'arg3' : undeclared identifier >> glew_wrap.c(6730) : error C2065: 'argp3' : undeclared identifier >> glew_wrap.c(6730) : warning C4552: '*' : operator has no effect; >> expected operat >> or with side-effect >> glew_wrap.c(6736) : error C2059: syntax error : ')' >> glew_wrap.c(6741) : error C2100: illegal indirection >> glew_wrap.c(6742) : warning C4047: 'function' : 'void (__stdcall *)()' >> differs i >> n levels of indirection from 'int' >> glew_wrap.c(7106) : error C2146: syntax error : missing ';' before >> identifier 'a >> rg3' >> glew_wrap.c(7106) : error C2144: syntax error : '<Unknown>' should be >> preceded b >> y '<Unknown>' >> glew_wrap.c(7106) : error C2144: syntax error : '<Unknown>' should be >> preceded b >> y '<Unknown>' >> glew_wrap.c(7106) : error C2143: syntax error : missing ';' before >> 'identifier' >> glew_wrap.c(7107) : warning C4552: '*' : operator has no effect; >> expected operat >> or with side-effect >> glew_wrap.c(7113) : error C2059: syntax error : ')' >> glew_wrap.c(7118) : error C2100: illegal indirection >> glew_wrap.c(7119) : warning C4047: 'function' : 'void (__stdcall *)()' >> differs i >> n levels of indirection from 'int' >> glew_wrap.c(7278) : error C2146: syntax error : missing ';' before >> identifier 'a >> rg3' >> glew_wrap.c(7278) : error C2144: syntax error : '<Unknown>' should be >> preceded b >> y '<Unknown>' >> glew_wrap.c(7278) : error C2144: syntax error : '<Unknown>' should be >> preceded b >> y '<Unknown>' >> glew_wrap.c(7278) : error C2143: syntax error : missing ';' before >> 'identifier' >> glew_wrap.c(7279) : warning C4552: '*' : operator has no effect; >> expected operat >> or with side-effect >> glew_wrap.c(7285) : error C2059: syntax error : ')' >> glew_wrap.c(7290) : error C2100: illegal indirection >> glew_wrap.c(7291) : warning C4047: 'function' : 'void (__stdcall *)()' >> differs i >> n levels of indirection from 'int' >> NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\cl.exe' : >> return co >> de '0x2' >> Stop. >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 >> Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows >> Embedded(r) & Windows Mobile(tm) platforms, applications & content. >> Register >> by 3/29 & save $300 >> http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click >> _______________________________________________ >> sdljava-users mailing list >> sdl...@li... >> https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |
From: Ivan Z. G. <iva...@ya...> - 2005-03-25 15:35:22
|
Yes I would be interested to see what you've done. We really need to get some GUI support into sdljava. Lets talk when your back...Enjoy the vacation. -Ivan/ Rainer Koschnick wrote: > Ivan Z. Ganza wrote: > >> Thanks Rainer. >> >> I've renamed GLUquadratic to GLUquadric. >> >> Also I've removed the callback method from the .i (since they are not >> implemented yet anyway) and now the references to _GLUfunptr are not >> present in the file so I hope it will compile on Windows. >> >> Strange that I was able to compile here...hrmm. >> >> Please let me know if it works now. >> >> Thanks, >> -Ivan/ > > > I'm on vacation now, so I hope someone else can veify that it is > working now. When I get back in 3 weeks we may also be able to add my > guichan Java port to SDLJava if you like :) > > Cheers, > Rainer > > >> Rainer Koschnick wrote: >> >>> Ivan Z. Ganza wrote: >>> >>>> I've happy to announce that GLU support has been added to the >>>> opengl binding. Its is fully implemented _except_ for functions >>>> which involve a callback. - gluNurbsCallback - gluNurbsCallbackData >>>> - gluNurbsCallbackDataEXT - gluQuadricCallback >>>> - gluTessCallback >>>> >>>> The rest of the functions are all available. If you have a chance >>>> please give this a shot. Let me know if any problems are found. >>>> >>>> Just rebuild your libgljava.so/gljava.dll -- no other changes >>>> should be required. >>>> >>>> Thanks, >>>> -Ivan/ >>> >>> >>> >>> >>> Java class should be GLUquadric, not GLUquadratic :) >>> >>> Then I cannot build the native bindings on Windows since _GLUfuncptr >>> is never defined: >>> >>> glew_wrap.c >>> glew_wrap.c(6729) : error C2065: '_GLUfuncptr' : undeclared identifier >>> glew_wrap.c(6729) : error C2146: syntax error : missing ';' before >>> identifier 'a >>> rg3' >>> glew_wrap.c(6729) : error C2144: syntax error : '<Unknown>' should >>> be preceded b >>> y '<Unknown>' >>> glew_wrap.c(6729) : error C2144: syntax error : '<Unknown>' should >>> be preceded b >>> y '<Unknown>' >>> glew_wrap.c(6729) : error C2143: syntax error : missing ';' before >>> 'identifier' >>> glew_wrap.c(6729) : error C2065: 'arg3' : undeclared identifier >>> glew_wrap.c(6730) : error C2065: 'argp3' : undeclared identifier >>> glew_wrap.c(6730) : warning C4552: '*' : operator has no effect; >>> expected operat >>> or with side-effect >>> glew_wrap.c(6736) : error C2059: syntax error : ')' >>> glew_wrap.c(6741) : error C2100: illegal indirection >>> glew_wrap.c(6742) : warning C4047: 'function' : 'void (__stdcall >>> *)()' differs i >>> n levels of indirection from 'int' >>> glew_wrap.c(7106) : error C2146: syntax error : missing ';' before >>> identifier 'a >>> rg3' >>> glew_wrap.c(7106) : error C2144: syntax error : '<Unknown>' should >>> be preceded b >>> y '<Unknown>' >>> glew_wrap.c(7106) : error C2144: syntax error : '<Unknown>' should >>> be preceded b >>> y '<Unknown>' >>> glew_wrap.c(7106) : error C2143: syntax error : missing ';' before >>> 'identifier' >>> glew_wrap.c(7107) : warning C4552: '*' : operator has no effect; >>> expected operat >>> or with side-effect >>> glew_wrap.c(7113) : error C2059: syntax error : ')' >>> glew_wrap.c(7118) : error C2100: illegal indirection >>> glew_wrap.c(7119) : warning C4047: 'function' : 'void (__stdcall >>> *)()' differs i >>> n levels of indirection from 'int' >>> glew_wrap.c(7278) : error C2146: syntax error : missing ';' before >>> identifier 'a >>> rg3' >>> glew_wrap.c(7278) : error C2144: syntax error : '<Unknown>' should >>> be preceded b >>> y '<Unknown>' >>> glew_wrap.c(7278) : error C2144: syntax error : '<Unknown>' should >>> be preceded b >>> y '<Unknown>' >>> glew_wrap.c(7278) : error C2143: syntax error : missing ';' before >>> 'identifier' >>> glew_wrap.c(7279) : warning C4552: '*' : operator has no effect; >>> expected operat >>> or with side-effect >>> glew_wrap.c(7285) : error C2059: syntax error : ')' >>> glew_wrap.c(7290) : error C2100: illegal indirection >>> glew_wrap.c(7291) : warning C4047: 'function' : 'void (__stdcall >>> *)()' differs i >>> n levels of indirection from 'int' >>> NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\cl.exe' >>> : return co >>> de '0x2' >>> Stop. >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon >>> 2005 >>> Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows >>> Embedded(r) & Windows Mobile(tm) platforms, applications & content. >>> Register >>> by 3/29 & save $300 >>> http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click >>> _______________________________________________ >>> sdljava-users mailing list >>> sdl...@li... >>> https://lists.sourceforge.net/lists/listinfo/sdljava-users >> >> >> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> sdljava-users mailing list >> sdl...@li... >> https://lists.sourceforge.net/lists/listinfo/sdljava-users >> >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users |
From: Rainer K. <ar...@gm...> - 2005-04-23 20:41:07
|
Ivan Z. Ganza wrote: > Yes I would be interested to see what you've done. We really need to > get some GUI support into sdljava. Lets talk when your back...Enjoy the > vacation. > > -Ivan/ > Ok, as soon as I have done some more testing I will send you the source code for the sdljavaguichan port. I am building this on Windows and the GLU extensions are currently giving me a headache since some methods are not defined in the MS Platform SDK: glew_wrap.obj : error LNK2019: unresolved external symbol _gluBuild1DMipmapLevel s referenced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild1DMipmap Levels@56 glew_wrap.obj : error LNK2019: unresolved external symbol _gluBuild2DMipmapLevel s referenced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild2DMipmap Levels@60 glew_wrap.obj : error LNK2019: unresolved external symbol _gluBuild3DMipmapLevel s referenced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmap Levels@64 glew_wrap.obj : error LNK2019: unresolved external symbol _gluBuild3DMipmaps ref erenced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmaps@52 glew_wrap.obj : error LNK2019: unresolved external symbol _gluCheckExtension ref erenced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluCheckExtension@16 glew_wrap.obj : error LNK2019: unresolved external symbol _gluUnProject4 referen ced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluUnProject4@84 gljava.dll : fatal error LNK1120: 6 unresolved externals NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\link.exe' : return code '0x460' Stop. I believe this is due to the fact that those are GLU 1.3 and MS is at 1.2 or even lower (didn't check). I also ported the guichan demo applications: - ffdemo (Final Fantasy Style Menu) - fpsdemo (First Person Shooter Style Menu, code complete but currently not working since I cannot build the glew wrapper on Windows and the code uses GLU) - openglwidgets (standard widgets demo using OpenGL graphics implementation) - sdlwidgets (standard widgets demo using SDL graphics implementation) The API--as is--is 99.9% compatible to the C++ version with a few minor modifications. Since the GUIChan developers are working on a manual it should be quite useful ;) See: http://guichan.sourceforge.net/ Cheers, Rainer |
From: Ivan Z. G. <iva...@ya...> - 2005-04-26 22:31:21
|
This looks very interesting. Strange about the GLEW errors. What about using the precompiled binaries? The GLEW binding should definatly build. If anyone else has problems building GLEW on Windows please let me know... -Ivan/ Rainer Koschnick wrote: > Ivan Z. Ganza wrote: > >> Yes I would be interested to see what you've done. We really need to >> get some GUI support into sdljava. Lets talk when your back...Enjoy >> the vacation. >> >> -Ivan/ >> > > Ok, as soon as I have done some more testing I will send you the > source code for the sdljavaguichan port. I am building this on > Windows and the GLU extensions are currently giving me a headache > since some methods are not defined in the MS Platform SDK: > > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluBuild1DMipmapLevel > s referenced in function > _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild1DMipmap > Levels@56 > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluBuild2DMipmapLevel > s referenced in function > _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild2DMipmap > Levels@60 > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluBuild3DMipmapLevel > s referenced in function > _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmap > Levels@64 > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluBuild3DMipmaps ref > erenced in function > _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmaps@52 > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluCheckExtension ref > erenced in function > _Java_org_gljava_opengl_x_swig_GlewJNI_gluCheckExtension@16 > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluUnProject4 referen > ced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluUnProject4@84 > gljava.dll : fatal error LNK1120: 6 unresolved externals > NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\link.exe' > : return > code '0x460' > Stop. > > I believe this is due to the fact that those are GLU 1.3 and MS is at > 1.2 or even lower (didn't check). > > I also ported the guichan demo applications: > > - ffdemo (Final Fantasy Style Menu) > - fpsdemo (First Person Shooter Style Menu, code complete but > currently not working since I cannot build the glew wrapper on Windows > and the code uses GLU) > - openglwidgets (standard widgets demo using OpenGL graphics > implementation) > - sdlwidgets (standard widgets demo using SDL graphics implementation) > > The API--as is--is 99.9% compatible to the C++ version with a few > minor modifications. Since the GUIChan developers are working on a > manual it should be quite useful ;) > > See: http://guichan.sourceforge.net/ > > Cheers, > Rainer > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users |
From: Rainer K. <ar...@gm...> - 2005-04-26 22:57:15
|
Ivan Z. Ganza wrote: > This looks very interesting. Strange about the GLEW errors. What about > using the precompiled binaries? The GLEW binding should definatly > build. If anyone else has problems building GLEW on Windows please let > me know... The problem is in building the wrapper .dll. Some functions, used in glew_wrap.c, are not even in the Windows SDK header files, so I am wondering why it even compiles. Anyway, it can't be linked :( I am using your CVS sources, where can I find precompiled binaries? On the project page the last release is 0.9.1, I doubt the glu stuff was added before the 20th of February? Cheers, Rainer > -Ivan/ > > Rainer Koschnick wrote: > >> Ivan Z. Ganza wrote: >> >>> Yes I would be interested to see what you've done. We really need to >>> get some GUI support into sdljava. Lets talk when your back...Enjoy >>> the vacation. >>> >>> -Ivan/ >>> >> >> Ok, as soon as I have done some more testing I will send you the >> source code for the sdljavaguichan port. I am building this on >> Windows and the GLU extensions are currently giving me a headache >> since some methods are not defined in the MS Platform SDK: >> >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluBuild1DMipmapLevel >> s referenced in function >> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild1DMipmap >> Levels@56 >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluBuild2DMipmapLevel >> s referenced in function >> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild2DMipmap >> Levels@60 >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluBuild3DMipmapLevel >> s referenced in function >> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmap >> Levels@64 >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluBuild3DMipmaps ref >> erenced in function >> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmaps@52 >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluCheckExtension ref >> erenced in function >> _Java_org_gljava_opengl_x_swig_GlewJNI_gluCheckExtension@16 >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluUnProject4 referen >> ced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluUnProject4@84 >> gljava.dll : fatal error LNK1120: 6 unresolved externals >> NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\link.exe' >> : return >> code '0x460' >> Stop. >> >> I believe this is due to the fact that those are GLU 1.3 and MS is at >> 1.2 or even lower (didn't check). >> >> I also ported the guichan demo applications: >> >> - ffdemo (Final Fantasy Style Menu) >> - fpsdemo (First Person Shooter Style Menu, code complete but >> currently not working since I cannot build the glew wrapper on Windows >> and the code uses GLU) >> - openglwidgets (standard widgets demo using OpenGL graphics >> implementation) >> - sdlwidgets (standard widgets demo using SDL graphics implementation) >> >> The API--as is--is 99.9% compatible to the C++ version with a few >> minor modifications. Since the GUIChan developers are working on a >> manual it should be quite useful ;) >> >> See: http://guichan.sourceforge.net/ >> >> Cheers, >> Rainer >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> sdljava-users mailing list >> sdl...@li... >> https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |
From: Ivan Z. G. <iva...@ya...> - 2005-04-28 02:00:51
|
Yes your right there is no precompiled binary for that -- <bonks self in head>. I will try to get things working as soon as possible. Will have a look at the port soon as I can. Right now things are very busy for me but I will have a look! Thanks, -Ivan/ Rainer Koschnick wrote: > Ivan Z. Ganza wrote: > >> This looks very interesting. Strange about the GLEW errors. What >> about using the precompiled binaries? The GLEW binding should >> definatly build. If anyone else has problems building GLEW on >> Windows please let me know... > > > The problem is in building the wrapper .dll. Some functions, used in > glew_wrap.c, are not even in the Windows SDK header files, so I am > wondering why it even compiles. Anyway, it can't be linked :( > > I am using your CVS sources, where can I find precompiled binaries? > On the project page the last release is 0.9.1, I doubt the glu stuff > was added before the 20th of February? > > Cheers, > Rainer > >> -Ivan/ >> >> Rainer Koschnick wrote: >> >>> Ivan Z. Ganza wrote: >>> >>>> Yes I would be interested to see what you've done. We really need >>>> to get some GUI support into sdljava. Lets talk when your >>>> back...Enjoy the vacation. >>>> >>>> -Ivan/ >>>> >>> >>> Ok, as soon as I have done some more testing I will send you the >>> source code for the sdljavaguichan port. I am building this on >>> Windows and the GLU extensions are currently giving me a headache >>> since some methods are not defined in the MS Platform SDK: >>> >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluBuild1DMipmapLevel >>> s referenced in function >>> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild1DMipmap >>> Levels@56 >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluBuild2DMipmapLevel >>> s referenced in function >>> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild2DMipmap >>> Levels@60 >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluBuild3DMipmapLevel >>> s referenced in function >>> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmap >>> Levels@64 >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluBuild3DMipmaps ref >>> erenced in function >>> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmaps@52 >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluCheckExtension ref >>> erenced in function >>> _Java_org_gljava_opengl_x_swig_GlewJNI_gluCheckExtension@16 >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluUnProject4 referen >>> ced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluUnProject4@84 >>> gljava.dll : fatal error LNK1120: 6 unresolved externals >>> NMAKE : fatal error U1077: >>> 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\link.exe' : return >>> code '0x460' >>> Stop. >>> >>> I believe this is due to the fact that those are GLU 1.3 and MS is >>> at 1.2 or even lower (didn't check). >>> >>> I also ported the guichan demo applications: >>> >>> - ffdemo (Final Fantasy Style Menu) >>> - fpsdemo (First Person Shooter Style Menu, code complete but >>> currently not working since I cannot build the glew wrapper on >>> Windows and the code uses GLU) >>> - openglwidgets (standard widgets demo using OpenGL graphics >>> implementation) >>> - sdlwidgets (standard widgets demo using SDL graphics implementation) >>> >>> The API--as is--is 99.9% compatible to the C++ version with a few >>> minor modifications. Since the GUIChan developers are working on a >>> manual it should be quite useful ;) >>> >>> See: http://guichan.sourceforge.net/ >>> >>> Cheers, >>> Rainer >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>> _______________________________________________ >>> sdljava-users mailing list >>> sdl...@li... >>> https://lists.sourceforge.net/lists/listinfo/sdljava-users >> >> >> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Tell us your software development plans! >> Take this survey and enter to win a one-year sub to SourceForge.net >> Plus IDC's 2005 look-ahead and a copy of this survey >> Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix >> _______________________________________________ >> sdljava-users mailing list >> sdl...@li... >> https://lists.sourceforge.net/lists/listinfo/sdljava-users >> >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users |