Synced mods, now I can't compile
BlitzMax Forums/BlitzMax Programming/Synced mods, now I can't compile
| ||
Output (v1.20):Building Engine Compiling:Engine.bmx flat assembler version 1.64 4 passes, 0.2 seconds, 258441 bytes. Linking:Engine.exe C:/Program Files/BlitzMax/mod/brl.mod/filesystem.mod/filesystem.release.win32.x86.a(filesystem.bmx.release.win32.x86.o.b)(code+0x6dc): undefined reference to `chmod_' Build Error: Failed to link D:/Projects/Engine/Engine.exe Process complete |
| ||
Will be fixed soon. If you can, rebuild modules, or try again in an hour. |
| ||
Thank you. |
| ||
Hi, Booboo on my part - try syncmods again now. Also, anything that used chmod_ from Pub.StdC will need to be rebuilt. Please post here if it's fixed or not. |
| ||
SetGraphicsDriver BufferedD3D7Max2DDriver() Really messes up my screen now. It appears as thought all graphics are skewed somehow. |
| ||
My program compiles fine now, althought I had a strange line in the output log:Building Engine Compiling:Engine.bmx flat assembler version 1.64 4 passes, 0.2 seconds, 258441 bytes. Linking:Engine.exe Executing:Engine.exe collisioncollisioncollisioncollisioncollision Process complete |
| ||
I get this error from the updated GLEW module:ld: Undefined symbols: ___GLEW_EXT_framebuffer_blit ___GLEW_EXT_framebuffer_multisample ___GLEW_EXT_packed_depth_stencil ___GLEW_EXT_stencil_clear_tag ___GLEW_EXT_texture_sRGB ___GLEW_MESAX_texture_stack ___glewBlitFramebufferEXT ___glewRenderbufferStorageMultisampleEXT Build Error: Failed to link /Applications/BlitzMax/Game/Start.debug.app/Contents/MacOS/Start.debug Process complete |
| ||
Oops, syncmods for a fix for that one. |
| ||
I rebuilt all modules and the error went away, but I will do syncmod again too. Thanks. |
| ||
My Problem still exists... SetGraphicsDriver BufferedD3D7Max2DDriver() Really messes up my screen now. It appears as thought all graphics are skewed somehow. |
| ||
OK, try again now Eric. |
| ||
That fixed it.... Out of curiosity what was the problem? |
| ||
The fix for this went slightly astray. |
| ||
A sidenote: Will you include Flat Assembler 1.66 in the next update? |
| ||
update - BlitzMaxUpdate120_Win32_X86.exe Synchronize Modules Synchronizing: brl Connecting to server: www.blitzbasic.com/modserver120 Receiving: brl.d3d7max2d Receiving: brl.filesystem Receiving: brl.glgraphics Receiving: brl.glmax2d Receiving: brl.graphics Receiving: brl.jpgloader Receiving: brl.fltkmaxgui Receiving: brl.win32maxgui Receiving: brl.cocoamaxgui Receiving: brl.maxgui Synchronizing: pub Connecting to server: www.blitzbasic.com/modserver120 Receiving: pub.freeaudio Receiving: pub.glew Receiving: pub.libjpeg Receiving: pub.stdc Synchronizing docs Process complete open samples glcube.bmx glblurr.bmx Compile Error Duplicate identifier 'GL_MODELVIEW0_ARB' GL_MODELVIEW0_ARB%=5888EL_TRANSFORM_2D_ST4RE_LEVEL0_ARB%=5888%=34786 ???? |
| ||
After updating to v1.20 and then synchronizing mods I get this error upon compiling any of my programs: ---------------------------------------- Building MYGAME Compiling:MYGAME.bmx flat assembler version 1.64 4 passes, 70151 bytes. Linking:MYGAME.exe D:/APPLICATIONS/BLITZ/BLITZMAX/bin/ld.exe: cannot find -lws2_32 Build Error: Failed to link D:/DOCUMENTS/BLITZ/BLITZMAX/GAMES/MYGAME.exe Process complete --------------------------------------- :( |
| ||
If there a file libws2_32.a in your blitzmax\lib folder? |
| ||
skidracer, Nope, no file of that name there. |
| ||
skidracer, I'm still not able to run any of my programs, seemingly due to the absence of the libsw2_32.a file in my lib folder. Just thought I'd repost to remind you. |
| ||
I'm getting the same problem. Not fun :( |
| ||
You are getting a ": cannot find -lws2_32" error on the Mac Mini? Drekinn, you may need to redownload and install the BlitzMax1.20 Windows update, which is now available in the Account->Product Updates tab on this site. |
| ||
Hmm.. I don't see how installing the exact same update will help, but I'll try all the same. FYI, I originally updated to v1.20 from v1.14 (or possibly v1.16) and not from v1.18. Could this possibly be the cause of the missing file? I readily assumed that an update from any previous version would be a smooth transition; perhaps I was wrong. |
| ||
I dont think you can update from 1.16 to 1.20, there was a post saying that you need to be 1.18, and that the update policy was different from then on. (ie The 1.20 update is a patch ontop of 1.18) Obviously if you didnt see/recieve this notice it needs to be better displayed. (But I probably dont know what im talking about), but 1.18 is 11,773 bytes and 1.20 is only 5,942, so I might actualy be right. (That would be a change ;) |
| ||
Reinstalled the update with the same problem resulting. Could we please see this unfortunate error fixed ASAP, as not having the ability to execute one's code is seriously frustrating. |
| ||
It's been several months since I abandoned BlitzMax due to an unknown building error (see below) and now I've decided I would like to use BlitzMax again, but the SAME ERROR IS OCCURING !! (even after installing the latest version and syncing mods). Can someone please tell me what's wrong, as I'm unable to run any of my BlitzMax code!!!! ---------------------------------------- Building MYGAME Compiling:MYGAME.bmx flat assembler version 1.64 4 passes, 70151 bytes. Linking:MYGAME.exe D:/APPLICATIONS/BLITZ/BLITZMAX/bin/ld.exe: cannot find -lws2_32 Build Error: Failed to link D:/DOCUMENTS/BLITZ/BLITZMAX/GAMES/MYGAME.exe Process complete --------------------------------------- |
| ||
You likely need to remove all mentions of MingW and other GCC based compilers from your system path variable. I would remove the MINGW variable also just to be sure. It sounds like BlitzMax is using the wrong toolchain so removing all mentions in your system path and environment variables will hopefully allow it to default to the necesary tools (linker and libs) included in it's own install. |
| ||
Thanks for the speedy feedback skid, but I've no idea how to go about achieving what you suggest. A detailed explanation would be appreciated. |
| ||
@Drekinn: You'll find the MinGW paths here... Control Panel>Performance and Maintenance>System>Advanced(Tab)>Environment Variables Remove all references to MinGW/GCC |
| ||
VIP3R, I had a look and there are no references to either MinGW or GCC. What now? :( |
| ||
I suggest the following sequence: 1. Completely uninstall your current BlitzMax. 2. Install version 1.18 but do not syncmods. Can you compile anything with this, your code or supplied samples? 3. If you are feeling adventurous you could try a syncmods here and test again. 4. Install the 1.24 update, again with no syncmods. Can you compile with this? 5. Do syncmods and test. Does it work properly anywhere in this sequence? If so, where does it go bad? I'm not sure, but you may need to reboot somewhere in this chain of events, perhaps after the initial install at step 2. This might be necessary so that "start up" options such as environment variables get set properly. |
| ||
Floyd, Sorry about the delay in replying. It's all ok now, everything works. I overlooked the fact that I indeed reinstalled version 1.18 and upped to 1.24 on my desktop system, though seemingly hadn't done similar on my laptop, which was the system I was using at the time and which had reported the error. Sorry again, but thanks to everyone who aided me in revealing my utter ignorance. |