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

Too many assets on native #133

Open
sh-dave opened this issue Mar 26, 2018 · 3 comments
Open

Too many assets on native #133

sh-dave opened this issue Mar 26, 2018 · 3 comments

Comments

@sh-dave
Copy link
Contributor

sh-dave commented Mar 26, 2018

C:\...somethingsomething...\build\windows-build\Sources\src\kha\_Assets\SoundList.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj

Khamake (Koremake probably as well) needs an option to pass additional compiler/linker flags. Currently there only is 'addCDefine' for preprocessor arguments.

@RobDangerous
Copy link
Member

/bigobj is now the default (only downside I see mentioned in the internetz is a lack of compatibility with VS < 2005).
Should add an option for compiler arguments nonetheless...

@sh-dave
Copy link
Contributor Author

sh-dave commented Oct 9, 2018

I don't actually run into this issue anymore, as i use the { notInList } khamake option for 99% of our assets now. If this change doesn't affect anything else negatively keep it in, otherwise you could also revert it.

@RobDangerous
Copy link
Member

But yesterday I ran into that issue when compiling Krom. Also taught Visual Studio to default to 64 bit compilers because of that. Visual Studio by default doesn't like big projects.

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

No branches or pull requests

2 participants