cannot find -lws2_32

BlitzMax Forums/BlitzMax Programming/cannot find -lws2_32

po(Posted 2006) [#1]
I have been trying to install BlitzMax 1.20 on my iPod (30GB), but every time I try to compile something as simple as print "hello" it gives me errors:
Building untitled1
Compiling:untitled1.bmx
flat assembler  version 1.64
3 passes, 2740 bytes.
Linking:untitled1.debug.exe
J:/BlitzMax/bin/ld.exe: cannot find -lws2_32
Build Error: Failed to link J:/BlitzMax/tmp/untitled1.debug.exe
Process complete


BlitzMax 1.14 works fine on my iPod, but not when I update it. It's odd because the same 1.20 on my actual hard drive works fine. Also, it doesn't work if I try to copy the entire BlitzMax folder from my hard drive to my iPod, I still get compiling problems.
Any ideas?

Edit: BTW, Blitz3D works fine on my iPod.


kronholm(Posted 2006) [#2]
iPod? Uhm, didn't know blitzmax could run on that. But maybe this will help http://www.blitzbasic.com/Community/posts.php?topic=41264


po(Posted 2006) [#3]
Although iPods are made by Apple, they do not run on OSX. They are simply external hard drives. Because they are FAT32 formatted they can run natively on both Windows and MacOSX.
If Blitzmax 1.14 works perfectly on it, why shouldn't 1.20?


po(Posted 2006) [#4]
I consider this a bug. Anybody at all have any solutions?


skidracer(Posted 2006) [#5]
Do you have a J:/BlitzMax/lib folder and does it include the file ws2_32.a?

Also contrary to the current wording in the Product updates section the 1.20 update needs to be applied to the 1.18 BlitzMax core install.


po(Posted 2006) [#6]
Do you have a J:/BlitzMax/lib folder and does it include the file ws2_32.a?

Nope, don't see it, so yeah you're right. I'll install 1.18 first.

Thanks.

EDIT: Yup, that worked.