Indiepath.mod !
BlitzMax Forums/BlitzMax Module Tweaks/Indiepath.mod !
| ||
Just updated my MAX to the latest and my project that uses Indiepaths mod doesn't compile... I fixed the projmatrix one by downloading the latest one from Indiepaths forum but the latest texturedpoly still has an error... C:/Program Files/BlitzMax/mod/indiepath.mod/texturedpoly.mod/texturedpoly.release.win32.x86.a(texturedpoly.bmx.release.win32.x86.o.b)(code+0x481): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0xe1): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x211): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x2d7): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x303): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x320): more undefined references to `brl_dxgraphics_PrimaryDevice' follow Build Error: Failed to link D:/dev/shapes/glow.exe Process complete |
| ||
http://www.blitzbasic.com/Community/posts.php?topic=65845#735579 |
| ||
Yeah that thread says the source is on the forums. I have downloaded the latest version and it still don't compile :-( |
| ||
Yep, you have to fix it yourself. Think of it as a Test ;) |
| ||
@H&K - helpful :-( I have replaced the primarydevice line and still get this Building glow Compiling:glow.bmx flat assembler version 1.66 3 passes, 43505 bytes. Linking:glow.exe C:/Program Files/BlitzMax/mod/indiepath.mod/texturedpoly.mod/texturedpoly.release.win32.x86.a(texturedpoly.bmx.release.win32.x86.o.b)(code+0x481): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0xe1): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x211): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x2d7): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x303): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x320): more undefined references to `brl_dxgraphics_PrimaryDevice' follow Build Error: Failed to link D:/dev/shapes/glow.exe Process complete HUH? |
| ||
Dont get the impression that I know how to fix it. Since it broke its just been sitting there on my hard disk. You always seemed to know what you were doing, so I hoped you'd fix it. |
| ||
:-) Given time... |
| ||
Anyway, I assume this has the answer. http://www.blitzbasic.com/Community/posts.php?topic=65275#731480 |
| ||
Replace PrimaryDevice.device. with D3D7GraphicsDriver().Direct3DDevice7(). Does this mean I win ;) |
| ||
Done that - still get the same error! |
| ||
Oh. Well works for me now.?Win32 If (DX) Then TD3D7Max2DDriver(_max2dDriver).SetActiveFrame(DXFrame) D3D7GraphicsDriver().Direct3DDevice7().DrawPrimitive(RenderType,D3DFVF_XYZ|D3DFVF_NORMAL|D3DFVF_DIFFUSE|D3DFVF_TEX1,xyuv,segs,0) ElseIf Line = True glEnd() EndIfWhen I say "works", I mean Blide compiles the mod, I havent got anything that uses it. |
| ||
Could please email your mod - ta |
| ||
Could please email your mod - ta I have searched for "brl_dxgraphics_PrimaryDevice" in both the texturedpoly and projmatrix. It is NOT in there but still complains... Building glow Compiling:glow.bmx flat assembler version 1.66 3 passes, 43505 bytes. Linking:glow.exe C:/Program Files/BlitzMax/mod/indiepath.mod/texturedpoly.mod/texturedpoly.release.win32.x86.a(texturedpoly.bmx.release.win32.x86.o.b)(code+0x481): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0xe1): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x211): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x2d7): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x303): undefined reference to `brl_dxgraphics_PrimaryDevice' C:/Program Files/BlitzMax/mod/indiepath.mod/projmatrix.mod/projmatrix.release.win32.x86.a(projmatrix.bmx.release.win32.x86.o.b)(code+0x320): more undefined references to `brl_dxgraphics_PrimaryDevice' follow Build Error: Failed to link D:/dev/shapes/glow.exe Process complete If I try and build textured poly I get... Compile Error: Module does not match commandline module |
| ||
If I try and build textured poly I get... You get that if you try and build it when its not in the Mod folder. I think its to do withCompile Error: Module does not match commandline module Module indiepath.texturedpolyWhich I think means that the sorce has to be in BlitzMax\mod\indiepath.mod\texturedpoly.mod |
| ||
You need to use "Build Modules" from the Program menu in the IDE as oppose to simply hitting Build. Then try building the glow.bmx again! |
| ||
You need to use "Build Modules" from the Program menu in the IDE as oppose to simply hitting Build. Then try building the glow.bmx again! Unless you are using BLIde, in which case you just simply hit Build |
| ||
Compiled with the latest Blide and get same error!!!!!!!!!!!!!!!!!! This is driving me NUTS! Can someone pls email a working texturedpoly and projmatrix |
| ||
it won't work. Indiepaths module use DX functionality that has been removed with the new DX module. So unless you reimplement them, they will only work for OpenGL |
| ||
How do I get them to work in OpenGl |
| ||
remove their DX part |
| ||
eh? |
| ||
Look here if it's what you're searching. http://www.blitzbasic.com/Community/posts.php?topic=66775#745808 |