Skip to content
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

DECLARE_SLOTS_FileClass is undefined #54

Closed
ghost opened this issue Jan 7, 2016 · 6 comments
Closed

DECLARE_SLOTS_FileClass is undefined #54

ghost opened this issue Jan 7, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Jan 7, 2016

Trying to build the avm2010.sln/vcxproj on Windows 8.1:

error C4430: missing type specifier - int assumed. Note: C++ does not support default-int d:\projects-download\redtamarin\src\shell\FileClass.h 49

(DECLARE_SLOTS_FileClass is undefined)

@zwetan
Copy link
Member

zwetan commented Jan 7, 2016

assuming you followed Windows Setup
you also must have read Compiling Redtamarin

the build is meant to run from the command line,
not from a Visual Studio solution.

The problem you see in VS must be related to something that is not used/needed anymore
eg. the FileClass.h

@zwetan
Copy link
Member

zwetan commented Jan 7, 2016

see in avmshell.h

see also src/shell/manifest.mk

FileClass.h / FileClass.cpp are not used/included anymore

@ghost
Copy link
Author

ghost commented Jan 7, 2016

Thank you. I was trying to build using the avm2010.vcxproj which still had the FileClass.cpp source. Is this an indication that the sln/vcxproj should not be used any more, but rather use makefiles?

@ghost
Copy link
Author

ghost commented Jan 7, 2016

Assuming yes to my question, perhaps the obsolete project files should be removed too.

@zwetan
Copy link
Member

zwetan commented Jan 7, 2016

VS solutions, Xcode projects etc are kept for reference but not used for compilation

@ghost
Copy link
Author

ghost commented Jan 7, 2016

OK, that makes sense.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant