Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: MSVC++ need help. (Read 2953 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

MSVC++ need help.

First question: I was trying to compile the cool_neromp4.
After getting the needed files from the Nero SDK, i get this error:
"\neromp4.cpp(579) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
Error executing cl.exe."

Also when am trying to compile cool_vorbis, the log says "vorbisfile.h" is missing.
When i open the foobar dsw file (SDK), i get loads of missing static files.
Plus a bunch of errors in other compiles: plugins etc.

Do i have a bad VC++ install, or is wrong settings somewhere.?
Am only used to VB. so i am kinda blank on C/C++.

MSVC++ need help.

Reply #1
I've not tried to compile the nero plugin, so I can't comment.

But, if you want to compile the cool_vorbis plugin, you will need the oggvorbis libs, and if you want to build foobar components, be aware that some of them require other libs to compile. The foobar SDK includes the foobar essentials, in many cases the other libs are external.

MSVC++ need help.

Reply #2
The error you get is normal on plain MSVC 6 intallation. You can either modify the code to convert unsigned __int64 to signed format (change the line in question to "if ( seconds ) *seconds = (double)(__int64)_duration / 1000.0;") or you can update your MSVC with latest Platform SDK.

MSVC++ need help.

Reply #3
Thanks for your very precise answers, i think i got it solved now.
John, regarding the vorbis libraries, i don`t think it should be no problem
getting hold of it. But do you know where to get those external libs,
used by foobar.?