Author Topic: FREEGLUT can work with C::B as default ( Now on Wiki for C::B )  (Read 18277 times)

Offline JackDawson

  • Multiple posting newcomer
  • *
  • Posts: 37
« Last Edit: July 08, 2011, 03:51:46 pm by JackDawson »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Good, hopefully can you put this great information can be put in c::b's wiki?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline JackDawson

  • Multiple posting newcomer
  • *
  • Posts: 37
Good, hopefully can you put this great information can be put in c::b's wiki?

I'm not a moderator or anything. I am not even on this forum much. I just happen to be looking for some freeglut tutorials and I saw that no one here on this forum had a true answer to freeglut and how to get it working, so I thought I would share the info. I don't mind if someone takes this and puts it on wiki. That would be cool. :)

EDIT : P.S. Olly, love your debugger.  :) I am a FASM user, and your debugger program does make things easier.
« Last Edit: July 08, 2011, 02:58:58 am by JackDawson »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Jack:
1. you can use your forum login name/password to log in the wiki.codeblocks.org and then create a page.
2. Ollydbg is not the developer of the Ollydbg :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
2. Ollydbg is not the developer of the Ollydbg :)
That always confuse someone.
Hopefully:
@administrator: Can I change my forum Id name? I don't want to register a new ID, because I have 2K posts records  :wink:
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline JackDawson

  • Multiple posting newcomer
  • *
  • Posts: 37
Jack:
1. you can use your forum login name/password to log in the wiki.codeblocks.org and then create a page.
2. Ollydbg is not the developer of the Ollydbg :)


Ok cool, i'll see what I can do. :)

EDIT : Give me 1 to 2 days and i'll have a nice looking Wiki page with more detailed info and pictures.
« Last Edit: July 08, 2011, 10:08:26 am by JackDawson »

Offline active0000

  • Single posting newcomer
  • *
  • Posts: 6
“If some memory should be reused, they are variables (or const variable)
If some operations should be re-used them to
Function, if they occur together, then their class.”Thank you to share!

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
EDIT : P.S. Olly, love your debugger.  :) I am a FASM user, and your debugger program does make things easier.
.....
Ollydbg 2.x in windows 7 is not as very good, so I usually use Ollydbg 1.x in windows XP.

And I think we should improve cb OpenGL Project as JackDawson's method.
Regards,
xunxun

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
And I think we should improve cb OpenGL Project as JackDawson's method.
Patches welcome, probably:)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline JackDawson

  • Multiple posting newcomer
  • *
  • Posts: 37
And I think we should improve cb OpenGL Project as JackDawson's method.
Patches welcome, probably:)

Well I have already started to alter my Code::Blocks in many ways..  testing out different libraries using OpenGL and C::B..  the only one I so far have not gotten working is the GLTools because its not a stable library yet and once I get it solved, then i'll post info about it. Because people who paid for the OpenGL SuperBible 5th Edition..  well lets just say, we all are VERY disappointed with the author. I will be buying the 4th edition SuperBible because its stable. But the 5th edition sucks.

Also, the wiki is up and running, but I am improving the layout right now. So its not finished.

UPDATE : Wiki is now finished.

http://wiki.codeblocks.org/index.php?title=Using_FreeGlut_with_Code::Blocks
« Last Edit: July 08, 2011, 03:29:56 pm by JackDawson »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
UPDATE : Wiki is now finished.

http://wiki.codeblocks.org/index.php?title=Using_FreeGlut_with_Code::Blocks

Great job, and this wiki page is very nice!!!

Hope the changed wizard script and cbp template files can be put in trunk.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline JackDawson

  • Multiple posting newcomer
  • *
  • Posts: 37
UPDATE : Wiki is now finished.

http://wiki.codeblocks.org/index.php?title=Using_FreeGlut_with_Code::Blocks

Great job, and this wiki page is very nice!!!

Hope the changed wizard script and cbp template files can be put in trunk.

Hey thanks..  keep in mind though, I feel there should be a seperate "Button" option for freeGlut. In otherwords show the Glut that comes with C::B. But name it Glut32 and then have ANOTHER option as freeGlut. I would hate to have to write up another tutorial on how to install Glut32 for those who don't get it.. LMAO

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: FREEGLUT can work with C::B as default ( Now on Wiki for C::B )
« Reply #12 on: July 10, 2011, 09:16:29 pm »
I think the default lib name of newest freeglut (svn) is libglut-0.dll, libglut.a and libglut.dll.a.
Regards,
xunxun

Offline JackDawson

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: FREEGLUT can work with C::B as default ( Now on Wiki for C::B )
« Reply #13 on: July 10, 2011, 11:07:12 pm »
I think the default lib name of newest freeglut (svn) is libglut-0.dll, libglut.a and libglut.dll.a.

Hello, could you post where you got your info ?  Because in my tutorials I show that you only need the actual binaries and where to put them. I also show a picture in my tutorial that has the ACTUAL name in the folder ( freeglut.dll ). And those files you listed here are no where in them.  I even checked the Glut32 download and its not in those either. I even did a search in my MinGW folders and no reference to them in their either.

The original Glut32 written by Mark Kilgard was ported over by Nate Robins. And you can get the ported Glut32 Binaries if you want to see it.
http://www.xmission.com/~nate/glut.html

NOTE : The latest version of the Glut32 library is 3.7.6 ( Dated Nov 8, 2001 )

This is the freeglut download links.
http://freeglut.sourceforge.net/index.php#download

in that link you will see the title : Prepackaged Releases and the first link takes you to the binaries to be downloaded on this link
http://www.transmissionzero.co.uk/software/freeglut-devel/

Its in there where you will see the MinGW download package that I describe in the tutorial.  ( NOTE : Latest Binary release is dated January 23rd 2010 )
Download freeglut 2.6.0‑3 for MinGW     -------->  freeglut-MinGW.zip

This was in reference to Windows and Linux packages according to their website.

And please keep in mind, my tutorial is only about the freeglut binary stable release version, NOT about source code that you have to compile. And the tutorial is not about Glut32 either. So please, if I am missing something here, please let me know and I'll update the Wiki accordingly. Thanks. :)
« Last Edit: July 10, 2011, 11:35:58 pm by JackDawson »

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: FREEGLUT can work with C::B as default ( Now on Wiki for C::B )
« Reply #14 on: July 11, 2011, 09:00:07 am »
I use freeglut dev svn : https://freeglut.svn.sourceforge.net/svnroot/freeglut/trunk
You can build yourselves:
Code
./autogen.sh
./configure --prefix=/mingw
make
make install
Regards,
xunxun