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

Error installing #1

Open
elmerehbi opened this issue Jul 4, 2017 · 0 comments
Open

Error installing #1

elmerehbi opened this issue Jul 4, 2017 · 0 comments

Comments

@elmerehbi
Copy link

Hello. Thanks for the nice idea. I was searching for something like this when I landed on your code. Unfortunately I can't seem t install it. Here's the output from running g++ main.cpp -o deskchange

main.cpp:16:25: error: ‘rawtime’ was not declared in this scope
   timeinfo = localtime(&rawtime);
                         ^
main.cpp:21:30: error: ‘atoi’ was not declared in this scope
   int time = atoi(str.c_str());
                              ^
main.cpp:25:50: error: ‘system’ was not declared in this scope
      system("feh --bg-scale ~/Pictures/night.jpg");
                                                  ^
main.cpp:28:50: error: ‘system’ was not declared in this scope
      system("feh --bg-scale ~/Pictures/night.jpg");
                                                  ^
main.cpp:31:49: error: ‘system’ was not declared in this scope
      system("feh --bg-scale ~/Pictures/day.jpeg");

PS: I do have feh installed.

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