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

Linux Compile Error #5

Open
pyramid3d opened this issue Apr 8, 2021 · 2 comments
Open

Linux Compile Error #5

pyramid3d opened this issue Apr 8, 2021 · 2 comments

Comments

@pyramid3d
Copy link

pyramid3d commented Apr 8, 2021

[ 95%] Building CXX object CMakeFiles/MoravaEngine.dir/main.cpp.o
In file included from /data/projects/morava/trunk/MoravaEngine/MoravaEngine/main.cpp:43:
/data/projects/morava/trunk/MoravaEngine/MoravaEngine/./src/Hazel/Events/Event.h:37:83: error: pasting "::" and "MouseMoved" does not give a valid preprocessing token
   37 | #define EVENT_CLASS_TYPE(type) static EventType GetStaticType() { return EventType::##type; }\
      |                                                                                   ^~
/data/projects/morava/trunk/MoravaEngine/MoravaEngine/./src/Hazel/Events/MouseEvent.h:22:2: note: in expansion of macro 'EVENT_CLASS_TYPE'
   22 |  EVENT_CLASS_TYPE(MouseMoved);
      |  ^~~~~~~~~~~~~~~~
dtrajko pushed a commit that referenced this issue Apr 9, 2021
dtrajko added a commit that referenced this issue Apr 9, 2021
dtrajko added a commit that referenced this issue Apr 11, 2021
dtrajko added a commit that referenced this issue Apr 11, 2021
dtrajko added a commit that referenced this issue Apr 11, 2021
dtrajko added a commit that referenced this issue Apr 11, 2021
@dtrajko
Copy link
Owner

dtrajko commented Apr 12, 2021

Thanks for pointing out the problem with the Linux build.
At the moment, compilation works, but linking is still broken. Fixing linking issues will require more time.
Beside that, Application::OpenFile() and Application::SaveFile() currently work only on Windows platform. I still don't have a working solution for open file / save file dialogs on Linux.

@Lecrapouille
Copy link

@dtrajko Hi! Is this repo https://github.com/samhocevar/portable-file-dialogs related to your Application::OpenFile() and Application::SaveFile() ? I used it and it works on my side for Linux and MacOS

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

3 participants