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

Compiling on Ubuntu - regex_replace error #27

Open
Meach opened this issue Apr 7, 2017 · 1 comment
Open

Compiling on Ubuntu - regex_replace error #27

Meach opened this issue Apr 7, 2017 · 1 comment

Comments

@Meach
Copy link

Meach commented Apr 7, 2017

I am trying to use this addon on Ubuntu, with OF 0.9.8. I have the following error:

/home/nuc/Documents/Code/openFrameworks/addons/ofxCsv/src/ofxCsvRow.cpp: In member function ‘void ofxCsvRow::trim()’:
/home/nuc/Documents/Code/openFrameworks/addons/ofxCsv/src/ofxCsvRow.cpp:315:50: error: no matching function for call to ‘regex_replace(std::string&, std::regex&, const char [3])’
   col = std::regex_replace(col, s_trimRegex, "$1");

Any idea how to fix this?

@Meach Meach changed the title Compiling on Ubuntu Compiling on Ubuntu - regex_replace error Apr 7, 2017
@Meach
Copy link
Author

Meach commented Apr 11, 2017

I found a way to fix it.
I had to install gcc-4.9, following this solution

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

1 participant