查看: 4245|回复: 5

LibSquish??

[复制链接]

该用户从未签到

发表于 2010-8-27 09:04:12 | 显示全部楼层 |阅读模式
请问一下LibSquish是什么东西? 我编译vpb的时候就没管这个。会不会影响以后啊?


现在我的问题是,只能生成东半球或者西半球,一起生成就会内存出错,每次都是同一个地方。

该用户从未签到

发表于 2010-8-27 09:25:59 | 显示全部楼层
The squish library (abbreviated to libsquish) is an open source DXT compression library written in C++ with the following features:

Supports the DXT1, DXT3 and DXT5 formats.
Optimised for both SSE and Altivec SIMD instruction sets.
Builds on multiple platforms (x86 and PPC tested).
Very simple interface.

这个库还是有必要编译的,,您检查一下,,是不是您的参数输入有误~~~我这里一直都没有问题~~~~~~

该用户从未签到

 楼主| 发表于 2010-9-6 10:44:39 | 显示全部楼层
本帖最后由 tinaren 于 2010-9-6 10:46 编辑

2# FlySky


我下载了squish-1.10   vs7文件夹里面有个工程文件打开编译,然后有个错误。

------ 已启动全部重新生成: 项目: squishpng, 配置: Release Win32 ------
正在删除项目“squishpng”(配置“Release|Win32”)的中间文件和输出文件
正在编译...
cl: 命令行 warning D9035 :“Wp64”选项已否决,并将在将来的版本中移除
squishpng.cpp
..\..\extra\squishpng.cpp(224) : error C2220: 警告被视为错误 - 没有生成“object”文件
..\..\extra\squishpng.cpp(224) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        E:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(237) : 参见“fopen”的声明
..\..\extra\squishpng.cpp(349) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        E:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(237) : 参见“fopen”的声明
..\..\extra\squishpng.cpp(368) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        E:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(237) : 参见“fopen”的声明
..\..\extra\squishpng.cpp(430) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        E:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(237) : 参见“fopen”的声明
生成日志保存在“file://e:\OSG\squish-1.10\vs7\squishpng\Release\BuildLog.htm”
squishpng - 1 个错误,4 个警告

该用户从未签到

发表于 2010-9-6 12:16:24 | 显示全部楼层
只需要编译libsquish工程,其它例子程序是不用的

该用户从未签到

发表于 2010-10-16 22:48:06 | 显示全部楼层
一起生成就会内存出错  这个问题解决了吗  ???
我的也是这样的问题 如何解决?

该用户从未签到

发表于 2011-7-13 10:47:28 | 显示全部楼层
回复 5# fyh675


    直接用CMake生成工程试试。我的VS2010没问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表