e:\juce\projects\cc_rider\VST\JuceVstMain.cpp(455) : error C3874: return type of ‘main’ should be ‘int’ instead of ‘AEffect *’
I was getting that with Dev-C++, but I applied the fix and it worked. I’ve tried compiling as-is and it doesn’t work, I tried applying the dev-c++ fix and it doesn’t work. What is wrong with main() function in the JuceAudioPlugin? I don’t see it…
change main to main_plugin in JuceVstMain.cpp… create a .def file which says: export main=main_plugin, then add /DEF:<nameofdeffile.def> to the linker options for the project… then it compiles fine without the error.
I still don’t know why it gives an error, while it obviously must work with visual studio… are there some compiler/linker options that we should be aware of?
[quote]# Should I install the beta, or wait for the official release?
Microsoft is committed to giving customers early access of developer tools so that you can begin planning your development efforts as far in advance as possible. But as with any pre-release software, you need to be aware of a few things:
* Beta software is not supported. You should take necessary precautions, such as installing on a backup machine and reading all of the release notes, prior to installing any release.
* There is no “Go live license” for this release. That means you cannot publicly deploy any applications you create with the beta. This is for testing and evaluation purposes only.
* APIs and other functionality may change between now and the final release. Microsoft is constantly receiving great feedback from customers like you, and therefore we may make improvements right up until the final software release. Most of the applications you build today should work fine with subsequent releases, but there may be some changes.[/quote]
Maybe Julsey-woolsy could keep with the express switch then he can buy VC++2005 when its out next year to compile T2
they MIGHT be able to analyse the executable? oh look this was made with express beta! get onto the law dept to get onto raw material!!
Jules, I’ve not switched myself (and I have NO consideration of the law except for the JUCE lisence cos I like you) from VS.NET2003 . What is it you like about the new IDE? Is it worth the switch?