Jump to content
  • Advertisement

Nawy

Member
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

127 Neutral

About Nawy

  • Rank
    Newbie
  1. What I did: 1. Downloaded glut at this link opengl.org(http://user.xmission.com/~nate/glut.html) 2. Unzipped 3. Create project as console application Win32 4. Project->Properties...->VC++ Directories->Include Directories-> add path to glut.h 5. Project->Properties...->VC++ Directories->Library Directories-> add path to glut32.lib 6. Project->Properties...->Linker->Input->Additional Dependencies-> add glut32.lib 7. Project->Properties...->Linker->Input->Delay Loaded Dlls-> add glut32.dll 8. Then I created a simple "glut" application: #include <glut.h> int main(int argcp, char **argv) {    /* Set window size and location */   glutInit(&argcp, argv);   glutInitWindowSize(640, 480);   glutInitWindowPosition(0, 0);      /* Select type of Display mode:      single buffer & RGBA color */   glutInitDisplayMode(GLUT_RGBA | GLUT_SINGLE);   /*Initialize GLUT state */   glutCreateWindow("Hello World");   glutMainLoop();   return 0;} 9. I compiled and got errors: 'glut_test.exe': Loaded 'C:\MyLang\CPP\glut_test\Debug\glut_test.exe', Symbols loaded. 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Program Files\AVAST Software\Avast\snxhk.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\MyLang\CPP\glut_test\Debug\glut32.dll', Binary was not built with debug information. 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded. 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\nvinit.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Program Files (x86)\Lenovo\Onekey Theater\ActiveDetect32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Program Files (x86)\Lenovo\Onekey Theater\WindowsApiHookDll32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Cannot find or open the PDB file The thread 'Win32 Thread' (0x1180) has exited with code 0 (0x0). 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\NV\ig4icd32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\ig4icd32.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Program Files (x86)\OSCAR Editor X7\dll\DLL_Wheel4D.dll', Cannot find or open the PDB file 'glut_test.exe': Loaded 'C:\Windows\SysWOW64\msimg32.dll', Cannot find or open the PDB file The program '[4188] glut_test.exe: Native' has exited with code 1 (0x1).   OS: Windows 7 x64 IDE: MSVC++ 2010 Express P.S. A similar problem was with SDL    
  2. Not a long time ago I read article about OpenCL. The article said, OpenCL is different from CUDA in independent of the hardware ability. OpenCL is independent of the hardware side, and CUDA is depends of the hardware? Hah, It's crazy thought. No of course! Am I right? And I believe that OpenCL/CUDA use for a NO graphical compute, but  shaders use for a graphical compute. Am I right? Please, will advice. What use CUDA/OpenCL? What are their differences?
  3. WoW!!! Wonderful! Never I heard about SDL. I test it, very good! Thank you!
  4. For example: Create window and create a view of OpenGL to workspace of window. And I think that is the end to use GUI(not considering a I/O).  Then  I want a FAST I/O, and fast GUI. I don't to show to here my code, because it's quite a big. But I don't create more then one window.
  5. I think, that WinAPI is a most fastest for WindowsOS. Earlier I wrote to programms on Qt framework. Programms needed a lot of dlls, very much. It's very bad (IMHO). And This did led to what I stopped to use the Qt. I want to use a fast GUI and I/O, but Qt is a quite slow as compared with WinAPI. What will advise?
  6. I want create Graphics Engine, which include physics engine and simple sound system. Most of the attention I will concentrate to physics engine, because I have idea. This project can be use as gaming engine and for scientific purposes.
  7. I use a WinAPI. Because I think that is fast GUI, such as tow a big Qt Framework is a crazy idea. And a lot of dlls files... WinAPI is not bad, but isn't crossplatform. Well, I want use a OpenCL for Heterogeneous computing. Here is scheme: OpenGL(As Graphics) + OpenCL(As computing) + OpenAL(As Sound) + WInAPI(As GUI and also I/O) And What do you say? Will the scheme work quickly? Please feel free to criticize and comment!
  8. Exemples contains: nvModel.dll, nvModel.lib, nvModel.h, and source files.
  9. I wrrite programm in C++ and use g++. There are a few files. main.cpp - wherein two include directives, and function main,which return 0 is include     #include <iostream> #include <nvModel.h> // our header from NVIDIA   I wrote makefile:   CC = g++ EXE = nvTest DIR1 = -I"C:\Program Files (x86)\NVIDIA Corporation\NVIDIA OpenGL SDK 10\common\include" DIR2 = -I"C:\Program Files (x86)\NVIDIA Corporation\NVIDIA OpenGL SDK 10\common\GLEW\include" DIR3 = -I"C:\Program Files (x86)\NVIDIA Corporation\NVIDIA OpenGL SDK 10\common\nvModel\include" DIR4 = -I"C:\Program Files (x86)\NVIDIA Corporation\NVIDIA OpenGL SDK 10\common\nvWidgets\include" DIR5 = -I"C:\Program Files (x86)\NVIDIA Corporation\NVIDIA OpenGL SDK 10\common\nvImage\include" DIR6 = -I"C:\Program Files (x86)\NVIDIA Corporation\NVIDIA OpenGL SDK 10\common\nvGUI\include" LDFLAGS = -L"C:/Program Files (x86)/NVIDIA Corporation/NVIDIA OpenGL SDK 10/common/nvModel/lib" LIBS = -lnvModel INCLUDE += $(DIR1) INCLUDE += $(DIR2) INCLUDE += $(DIR3) INCLUDE += $(DIR4) INCLUDE += $(DIR5) INCLUDE += $(DIR6) all: $(CC) main.cpp $(LDFLAGS) $(LIBS) -o $(EXE) $(INCLUDE) But g++ return very a lot of errors. These errors printed in file. Download or online see http://yadi.sk/d/0JMHyPEh59nl2 Please, help me. What am I doing wrong?   P.s. I asked about this problem, on a lot of Russian Programmers Forums, but silence...
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!