User forums > Help
FREEGLUT can work with C::B as default ( Now on Wiki for C::B )
JackDawson:
--- Quote from: xunxun1982 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
--- End code ---
--- End quote ---
Ahh yea, as I previously stated, the tutorial is about pre-compiled binaries. Those that are new to C::B have a hard time if I go into explaining how to compile the code too. I am trying to keep this as simple as possible for them. However, can you take a screen shot of those three above related files you mention after compiling ? Can you also write up a small tutorial on how to compile it and it showing those files for linux users ? I would love to add that to the wiki and I can go into more detail on how to use this in Linux for Linux users.
xunxun:
--- Quote from: JackDawson on July 11, 2011, 12:40:34 pm ---Ahh yea, as I previously stated, the tutorial is about pre-compiled binaries. Those that are new to C::B have a hard time if I go into explaining how to compile the code too. I am trying to keep this as simple as possible for them. However, can you take a screen shot of those three above related files you mention after compiling ? Can you also write up a small tutorial on how to compile it and it showing those files for linux users ? I would love to add that to the wiki and I can go into more detail on how to use this in Linux for Linux users.
--- End quote ---
I'm on Win7.
If you want to compile the svn code yourselves on windows, you should have msys and mingw/mingw64 gcc compiler.
then you can follow my words:
--- Code: ---./autogen.sh
./configure --prefix=/mingw
make
make install
--- End code ---
You 'll see precompiled libs in /mingw.
JackDawson:
--- Quote from: xunxun1982 on July 11, 2011, 03:15:50 pm ---
--- Quote from: JackDawson on July 11, 2011, 12:40:34 pm ---Ahh yea, as I previously stated, the tutorial is about pre-compiled binaries. Those that are new to C::B have a hard time if I go into explaining how to compile the code too. I am trying to keep this as simple as possible for them. However, can you take a screen shot of those three above related files you mention after compiling ? Can you also write up a small tutorial on how to compile it and it showing those files for linux users ? I would love to add that to the wiki and I can go into more detail on how to use this in Linux for Linux users.
--- End quote ---
I'm on Win7.
If you want to compile the svn code yourselves on windows, you should have msys and mingw/mingw64 gcc compiler.
then you can follow my words:
--- Code: ---./autogen.sh
./configure --prefix=/mingw
make
make install
--- End code ---
You 'll see precompiled libs in /mingw.
--- End quote ---
Ok well that's my point, I tried that on Windows and I still never got those files.. what I been asking you for several messages now, is can you SHOW me where you find those files.
"Posted by: xunxun1982
Insert Quote
I think the default lib name of newest freeglut (svn) is libglut-0.dll, libglut.a and libglut.dll.a."
I cannot find any of those files even if I compile it under windows using MSys. I'm asking you to please show me where you got this info. Your saying stuff that I have not been able to see verified and if there is some proof of it, I would like to correct my mistake on the Wiki. Otherwise, your confusing all the new ones to this topic and it has no barring on this thread. So I ask again please, in kindness and all due respect to you, to show me where I need to correct my mistake. Because so far, I cannot find those files even AFTER I compile it.
I still end up with freeglut.dll.
UPDATE EDIT : I think I get now what your trying to say, it makes those files durring compile time. I paid attention to the output options of GCC more when it compiled the DLL.
EXAMPLE : --out-implib, libexample_dll.a
You can use that type of command when compiling. But as a default, without that command, it will make a DLL with the freeglut code. So its how I missed it in the first place. But again, back to what this thread is about, there is no need to make those pre-compiled libraries since the DLL works on both linux and Windows for C::B already. However, I have seen a couple reports on how people have tried to do it with a DLL and failed. My humble opinion on that is that they just don't know how to do it properly. I have read a few posts on other forums that they were successful at it for linux.
xunxun:
I don't know how you build the code, and I use the lastest svn code, don't you?
This is the images:
JackDawson:
Yes, I use the latest and I still do not get those odd files. So we'll just have to call this one a mystery.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version