I tried to remove wed and $$w but no luck. When I try to build I get the error again. I will try to create a wad file with the textures instead of using a folder and see if that works.
3D Gamestudio A8 Pro AMD FX 8350 4.00 Ghz 16GB RAM Gigabyte GeForce GTX 960 4GB