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

compile error 'std::string' invalid type in C file #1854

Open
dxjones opened this issue May 31, 2019 · 1 comment
Open

compile error 'std::string' invalid type in C file #1854

dxjones opened this issue May 31, 2019 · 1 comment

Comments

@dxjones
Copy link

dxjones commented May 31, 2019

Trying to follow the instructions for building pxscene.

When trying to compile "dukluv" I get this error, related to the using a C++ type in a C file.

Building C object CMakeFiles/dukluv.dir/src/main.c.o
...pxscene/pxCore/examples/pxScene2d/external/dukluv/src/main.c:44:7: error: expected expression
std::string path2 = "duk_modules/";

@conniefry
Copy link
Contributor

What OS and version are you using?

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