Skip to content

node v0.12.7 cross-compile failure on ubuntu 14.04 and gcc 4.8.4 #3181

Closed
@Junkern

Description

@Junkern

I am compiling node v0.12.7 on ubuntu 14.04 running in a VM. I want to have a windows executable
./configure --dest-cpu=x64 --dest-os=win
make

In file included from ../src/node_counters.h:28:0, from ../src/node.cc:31: ../src/node_win32_perfctr_provider.h:33:8: error: ‘HANDLE’ does not name a type extern HANDLE NodeCounterProvider; ^ ../src/node_win32_perfctr_provider.h: In function ‘bool node::NODE_COUNTER_ENABLED()’: ../src/node_win32_perfctr_provider.h:35:45: error: ‘NodeCounterProvider’ was not declared in this scope INLINE bool NODE_COUNTER_ENABLED() { return NodeCounterProvider != NULL; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions