Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Build errors on Windows 8.1 (VS 2012 Pro) #17

Open
kohenkatz opened this issue Jul 23, 2014 · 1 comment
Open

Build errors on Windows 8.1 (VS 2012 Pro) #17

kohenkatz opened this issue Jul 23, 2014 · 1 comment

Comments

@kohenkatz
Copy link

When installing atom-color-highlight, which depends on oniguruma, I get the following error when it tries to build node-oniguruma (some small whitespace modifications here for readability):

C:\Users\moshe\.atom\.node-gyp\.node-gyp\0.11.10\src\node.h(188): error C2146: syntax error : missing ';' before identifier 'DecodeBytes'                   (..\src\onig-scanner-worker.cc) [C:\Users\moshe\AppData\Local\Temp\apm-install-dir-114622-13172-fbp86q\node_modules\atom-color-highlight\node_modules\oniguruma\build\onig_scanner.vcxproj]
C:\Users\moshe\.atom\.node-gyp\.node-gyp\0.11.10\src\node.h(188): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\onig-scanner-worker.cc) [C:\Users\moshe\AppData\Local\Temp\apm-install-dir-114622-13172-fbp86q\node_modules\atom-color-highlight\node_modules\oniguruma\build\onig_scanner.vcxproj]
C:\Users\moshe\.atom\.node-gyp\.node-gyp\0.11.10\src\node.h(189): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\onig-scanner-worker.cc) [C:\Users\moshe\AppData\Local\Temp\apm-install-dir-114622-13172-fbp86q\node_modules\atom-color-highlight\node_modules\oniguruma\build\onig_scanner.vcxproj]
C:\Users\moshe\.atom\.node-gyp\.node-gyp\0.11.10\src\node.h(192): error C2146: syntax error : missing ';' before identifier 'DecodeWrite'                   (..\src\onig-scanner-worker.cc) [C:\Users\moshe\AppData\Local\Temp\apm-install-dir-114622-13172-fbp86q\node_modules\atom-color-highlight\node_modules\oniguruma\build\onig_scanner.vcxproj]
C:\Users\moshe\.atom\.node-gyp\.node-gyp\0.11.10\src\node.h(192): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\onig-scanner-worker.cc) [C:\Users\moshe\AppData\Local\Temp\apm-install-dir-114622-13172-fbp86q\node_modules\atom-color-highlight\node_modules\oniguruma\build\onig_scanner.vcxproj]
C:\Users\moshe\.atom\.node-gyp\.node-gyp\0.11.10\src\node.h(195): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (..\src\onig-scanner-worker.cc) [C:\Users\moshe\AppData\Local\Temp\apm-install-dir-114622-13172-fbp86q\node_modules\atom-color-highlight\node_modules\oniguruma\build\onig_scanner.vcxproj]

(full output)

What's going on here?

@ATMartin
Copy link

I get the same issue while installing project-palette-finder. Will try later on VS2010 to see if it resolves and report back.

Possibly related: this question on StackOverflow. Is oniguruma missing an include?

EDIT: Scratch that "include" question. Tested on an oniguruma fork and got 100+ compile errors instead. I am not a C++ guy. Yikes.

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

No branches or pull requests

2 participants