|
Some recent topics started on our forums |
Porting, Unix -- Windows
|
How do I port my network code to Windows? For example, my code can look like this
http://beej.us/guide/bgnet/examples/server.c
(from an tutorial, not my code)
Then I add the WSAinitialize stuff and deinitialize, change the close() to closesock... |
Posted February 20, 2006 11:46:05 AM
|
GLUT linker errors.
|
When I'm compiling an NeHe example, using Dev-Cpp and GLUT I get alot of linker errors:
[Linker error] undefined reference to `__glutInitWithExit@12'
And so on, you know ;)
What to do? |
Posted August 6, 2005 5:19:31 PM
|
WinApi
|
*poof*
[Edited by - Neoecs on April 28, 2007 9:39:05 AM] |
Posted July 13, 2005 4:12:43 PM
|
DirectX window handler
|
Is there any library like GLUT for DirectX? Do I need to know WinApi? |
Posted July 13, 2005 11:36:05 AM
|
GLUT Barebone
|
Is this a good barebone code?
#include <windows.h>
#include <gl/glut.h>
#pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"")
bool init(void)
{
glShadeModel(GL_SMOOTH);
glClearColor(0.0f, 0.0f, 0.0f,... |
Posted July 12, 2005 5:01:31 PM
|
How did you learn..
|
How did you learn OpenGL/DirectX? What did you know before you started learning? WinApi? C++? What guides did you use? Did you use any additional librarys like GLUT? Please tell, detailed, how you learned. Thanks. |
Posted July 12, 2005 6:04:21 AM
|
SDL window
|
How can I use OpenGL in a window that i initiated with SDL? Mayby the question is "How can I keep a window on the screen"... I dont know, but I guess the answer is in some document but I haven't seen it.
Can I have an example?
Here's the s... |
Posted May 3, 2005 11:58:51 AM
|
Questions
|
I have a few questions I want answers on.
1) How big is a heightmap?
2) Can I make big heightmaps?
3) How big?
4) How does an heightmap maker algorithm work?
Theory: making four vars, max height, min height, tops and not_tops. T... |
Posted May 1, 2005 1:57:20 PM
|
Pong
|
I have earlier programmed in Allegro and it was very easy, now I want to move up to something more professional, still crossplatform. I choosed OpenGL and it seemed hard. So, can i have the sourcecode for a Pong game, it would be helpful to se how in... |
Posted April 26, 2005 7:31:23 AM
|
View All Topics Started By This User
|
|
Some recent replies made on our forums |
Porting, Unix -- Windows
|
Threads sounds *hard*, so mayby I will just stick to Unix for the server. Or is Threads mayby better (faster, more stable)? I'm thinking about making som really small MMORPG, should I use forks or threads? |
Posted February 20, 2006 3:44:37 PM
|
Porting, Unix -- Windows
|
Ok. Should I use CreateProcess() for that? How should I do to make it do the same as fork()? I've tried with all arguments NULL, but that crashes the server when I do a connect. (I'm making an httpd.) |
Posted February 20, 2006 3:15:51 PM
|
GLUT linker errors.
|
Sorry for tripleposting, but, I really need help with this... Thanks.
Fixed!
"To use GLUT with DevC++
1. Add the includes to the include folder.
2. Put the libs in the library folder
3. put glut32.dll in windows or windows/system or windows/... |
Posted August 7, 2005 6:53:16 AM
|
GLUT linker errors.
|
I think I found something... I linked with libglu32.lib and then all errors gone away... But one...
C:\Documents and Settings\*\Skrivbord\ProjectX\Makefile.win [Build Error] [ProjectX.exe] Error 1
"Error 1"... That's the most descriptiv... |
Posted August 6, 2005 5:35:12 PM
|
GLUT linker errors.
|
Glut.lib, yes. |
Posted August 6, 2005 5:28:31 PM
|
Best Way to Make Grass
|
Dakiar, a screenshot would be nice. :) |
Posted July 15, 2005 2:32:12 PM
|
Pixelknights are recruiting! Swedish programmer needed.
|
Then I might be interested. I will think about it. |
Posted July 14, 2005 9:24:21 AM
|
WinApi
|
Well, it doesn't matter anymore. Thanks anyway! |
Posted July 13, 2005 4:50:01 PM
|
WinApi
|
I thought this line does that:
GetCursorPos((LPPOINT)&pos);
How should I do? I dont know much WinApi, I'm just making this fix for a friend :P |
Posted July 13, 2005 4:36:40 PM
|
WinApi
|
Now I get
--------------------Configuration: Mouseinvert - Win32 Debug--------------------
Compiling...
main.cpp
C:\Mouseinvert_1.0\main.cpp(22) : warning C4700: local variable 'pos' used without having been initialized
Linking...
Mouseinve... |
Posted July 13, 2005 4:29:49 PM
|
View All Replies Made By This User
|