-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't compile #1
Comments
Sounds like VTFLib13.so is missing a dependency. I am not sure what that is. Unfortunately I'm not supporting this software anymore, sorry! |
It's a bug in VTFLib. I fixed it in this PR: panzi/VTFLib#7 |
Thanks Yepoleb. It hasn't solved the issue for me, just changed the error to an ImageMagick problem - the underlying issue in this project is of not specifying the dependencies:
|
Can you show me the command line you used and the output of Edit: I just noticed tranek doesn't support this anymore, so maybe you want to try my vtf2tga inspired tool vtfconv. |
Magick++-config --version gives 1.3.20 |
What's your distribution, so I can test on it? |
$ Magick++-config --libs $ uname --all (Debian 9) sudo ldconfig output nothing, and vtfconv make still runs into undefined references (despite praying) |
I just compiled vtf2tga and vtfconv on a fresh install of Debian jessie and stretch. It worked flawlessly, aside from the testing installer being constantly broken. That means the problem is most likely with your environment, but I'm fine with helping you with that. If you want you can add me on Steam, so we can talk about it there. |
carmen@serenity:~/code/empires/vtf2tga$ g++ -std=c++11 vtf2tga.cpp -lVTFLib13
Magick++-config --cppflags --cxxflags --ldflags --libs
-o vtf2tga.exevtf2tga.cpp: In function ‘int main(int, char*)’:
vtf2tga.cpp:35:17: warning: variable ‘dstformat’ set but not used [-Wunused-but-set-variable]
VTFImageFormat dstformat;
^
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libVTFLib13.so: undefined reference to `tx_compress_dxtn(int, int, int, unsigned char const, unsigned int, unsigned char*, int)'
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: