Jump to content
  • Advertisement

Kurushimi

Member
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

122 Neutral

About Kurushimi

  • Rank
    Newbie
  1. Kurushimi

    Bjam is bugging me

    No matter what I do, bjam refuses to create a .pyd when I run it. I'm doing the tutorial they have on the boost website, but when I run it, the tutorial claims there should be a .pyd file created, but there isn't. (And the tutorial ignores this completely as a possibility). Also, the output shows just what the tutorial said it would. I'm running boost 1.38 on my Vista. (I remember trying on my XP, and I was at least able to create the .pyd file, but then my XP died. D:) Edit: Result from running bjam with "-n" as an argument ...patience... ...found 1280 targets... ...updating 3 targets... file bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd.rsp "bin\msvc-9.0express\debug\threading-multi\hello.obj" "..\..\..\..\bin.v2\libs\python\build\msvc-9.0express\debug\threading-multi\boos t_python-vc90-mt-gd-1_38.lib" "python26.lib" msvc.link.dll bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nul link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /subsystem:console /out:"bin\msvc-9.0ex press\debug\threading-multi\hello_ext.pyd" /IMPLIB:"bin\msvc-9.0express\debug\th reading-multi\hello_ext.lib" /LIBPATH:"C:\Python26\libs" @"bin\msvc-9.0express \debug\threading-multi\hello_ext.pyd.rsp" if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL% msvc.manifest.dll bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd if exist "bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd.manife st" ( call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nul mt -nologo -manifest "bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd.ma nifest" "-outputresource:bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd ;2" ) capture-output bin\hello.test\msvc-9.0express\debug\threading-multi\hello set Path=C:\Program Files\boost\boost_1_38\bin.v2\libs\python\build\msvc-9.0 express\debug\threading-multi;C:\Program Files\boost\boost_1_38\libs\python\exam ple\tutorial\bin\msvc-9.0express\debug\threading-multi;C:\Python26;C:\Python26\l ibs;%Path% set PYTHONPATH=bin\msvc-9.0express\debug\threading-multi "C:/Python26/python" "hello.py" > "bin\hello.test\msvc-9.0express\debug\threa ding-multi\hello.output" 2>&1 set status=%ERRORLEVEL% echo. >> "bin\hello.test\msvc-9.0express\debug\threading-multi\hello.output" echo EXIT STATUS: %status% >> "bin\hello.test\msvc-9.0express\debug\threadin g-multi\hello.output" if %status% EQU 0 ( copy "bin\hello.test\msvc-9.0express\debug\threading-multi\hello.output" "bin\hello.test\msvc-9.0express\debug\threading-multi\hello" ) set verbose=0 if %status% NEQ 0 ( set verbose=1 ) if %verbose% EQU 1 ( echo ====== BEGIN OUTPUT ====== type "bin\hello.test\msvc-9.0express\debug\threading-multi\hello.output" echo ====== END OUTPUT ====== ) exit %status% RmTemps bin\hello.test\msvc-9.0express\debug\threading-multi\hello del /f /q "bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd" **passed** bin\hello.test\msvc-9.0express\debug\threading-multi\hello.test echo passed > "bin\hello.test\msvc-9.0express\debug\threading-multi\hello.te st" ...updated 3 targets... C:\Program Files\boost\boost_1_38\libs\python\example\tutorial> I think the error has something to do with this. msvc.link.dll bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nul link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /subsystem:console /out:"bin\msvc-9.0ex press\debug\threading-multi\hello_ext.pyd" /IMPLIB:"bin\msvc-9.0express\debug\th reading-multi\hello_ext.lib" /LIBPATH:"C:\Python26\libs" @"bin\msvc-9.0express \debug\threading-multi\hello_ext.pyd.rsp" if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL% But I don't understand what it means...
  2. You assume correctly. Thank you. I'll try that and see how it goes. But, while I'm at it, could someone explain how I'd apply a reflection matrix?
  3. My title pretty much explains it. You see, I have these units that rotate based on their direction when they walk. Now, I need to make them flip in the other direction when they walk to the left instead of to the right. Right now, they walking in the direction directly opposite of this (that is, if they were to walk top-left, they would face bottom-right). I set it up like this so I could just flip the images and it would look right. But I'm not sure how to do that. >_>
  4. Kurushimi

    Sprite Sheet OpenGL

    Quote:Original post by haegarr Make sure you have a context valid and running when invoking glGenTextures. And, of course, does glGenTextures set an error? How do I do that? I'm using GLUT, btw.
  5. Kurushimi

    Sprite Sheet OpenGL

    Ah, thanks for the advice dudes. But when I tried implementing textures in my class, I can't get it to work. I think there are a lot of problems but one problem is that glGenTexture() gives me 0 as a handle. The way I set it up, there's a class "Entity" which has a member "textureHandle". In the default constructor, I call glGenTexture(1, &textureHandle). But, textureHandle is always 0...
  6. Kurushimi

    Sprite Sheet OpenGL

    So, if I have an image, a sprite sheet, and I only to display part of it, i.e. one sprite, how would I do this?
  7. Kurushimi

    Displaying images help

    Uh, I need help with this. When I set the position of the picture with glRasterPosi() to, say, (-1, 0) the picture ends up all the way to the left of the screen. If I set the y position to -1 it ends up all the way down. Edit: Forget that, I found my book and figured it out. But now whenever I run the program, the image appears for a moment and then disappears. Edit2: Lol, I got working. Just ignore me. ;>_> [Edited by - Kurushimi on December 20, 2008 4:12:07 PM]
  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!