wysaid / xege.org

xege website
1 stars 6 forks source link

留言板 – Easy Graphics Engine #4

Open wysaid opened 5 years ago

wysaid commented 5 years ago

https://xege.org/guestboard

wysaid commented 5 years ago

我要第一个留言 !!

MisoraRin commented 5 years ago

那我第二个(:з」∠),这里是用来反馈问题的吗?win10的1809版本没法用ege哎orz

wysaid commented 5 years ago

那我第二个(:з」∠),这里是用来反馈问题的吗?win10的1809版本没法用ege哎orz

蛤, 你截个图呢, 或者详细描述一下

wysaid commented 5 years ago

@zwt-ss

wysaid commented 5 years ago

近期发现 ege 在 Windows 1809 上存在较多bug, 修复中.

wysaid commented 5 years ago

EGE 已更新到 19.01, 修复了 Windows 1809 相关的问题

oisanjavax commented 5 years ago

mingw-w64支持吗?怎么设置? 以下是win10 1903,mingw-w64:

g++ grap.cpp -o grap.exe -I D:\codec\ege\include -L D:\codec\ege\lib -lgraphics64 -luuid -lmsimg32 -lgdi32 -limm32 -lole32 -loleaut32 In file included from D:\codec\ege\include/graphics.h:42, from grap.cpp:47: D:\codec\ege\include/ege.h:1364:32: warning: 'MOUSEMSG' is deprecated [-Wdeprecated-declarations] MOUSEMSG EGEAPI GetMouseMsg(); // (不推荐使用的函数)获取一个鼠标消息。如果没有,就等待 D:\codec\ege\include/ege.h:673:32: note: declared here struct EGE_DEPRECATE(MOUSEMSG) MOUSEMSG { C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x26): undefined reference to ege::initgraph(int, int, int)' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x3a): undefined reference toege::setcolor(unsigned int, ege::IMAGE)' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x66): undefined reference to `ege::line(int, int, int, int, ege::IMAGE)' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x6b): undefined reference to ege::getch()' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x70): undefined reference toege::closegraph()' collect2.exe: error: ld returned 1 exit status

wysaid commented 5 years ago

mingw-w64支持吗?怎么设置? 以下是win10 1903,mingw-w64:

g++ grap.cpp -o grap.exe -I D:\codec\ege\include -L D:\codec\ege\lib -lgraphics64 -luuid -lmsimg32 -lgdi32 -limm32 -lole32 -loleaut32 In file included from D:\codec\ege\include/graphics.h:42, from grap.cpp:47: D:\codec\ege\include/ege.h:1364:32: warning: 'MOUSEMSG' is deprecated [-Wdeprecated-declarations] MOUSEMSG EGEAPI GetMouseMsg(); // (不推荐使用的函数)获取一个鼠标消息。如果没有,就等待 D:\codec\ege\include/ege.h:673:32: note: declared here struct EGE_DEPRECATE(MOUSEMSG) MOUSEMSG { C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x26): undefined reference to ege::initgraph(int, int, int)' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x3a): undefined reference toege::setcolor(unsigned int, ege::IMAGE)' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x66): undefined reference to `ege::line(int, int, int, int, ege::IMAGE)' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x6b): undefined reference to ege::getch()' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x70): undefined reference toege::closegraph()' collect2.exe: error: ld returned 1 exit status

官网首页有配置方式, 试试看直接配置呢.

oisanjavax commented 5 years ago

mingw-w64支持吗?怎么设置? 以下是win10 1903,mingw-w64:

g++ grap.cpp -o grap.exe -I D:\codec\ege\include -L D:\codec\ege\lib -lgraphics64 -luuid -lmsimg32 -lgdi32 -limm32 -lole32 -loleaut32 In file included from D:\codec\ege\include/graphics.h:42, from grap.cpp:47: D:\codec\ege\include/ege.h:1364:32: warning: 'MOUSEMSG' is deprecated [-Wdeprecated-declarations] MOUSEMSG EGEAPI GetMouseMsg(); // (不推荐使用的函数)获取一个鼠标消息。如果没有,就等待 D:\codec\ege\include/ege.h:673:32: note: declared here struct EGE_DEPRECATE(MOUSEMSG) MOUSEMSG { C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x26): undefined reference to ege::initgraph(int, int, int)' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x3a): undefined reference toege::setcolor(unsigned int, ege::IMAGE)' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x66): undefined reference to `ege::line(int, int, int, int, ege::IMAGE)' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x6b): undefined reference to ege::getch()' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x70): undefined reference toege::closegraph()' collect2.exe: error: ld returned 1 exit status

官网首页有配置方式, 试试看直接配置呢.

OK,找到原因了。

cptzs commented 4 years ago

win32下使用VS2019进行C++项目开发,使用EGE库后发现std库里的打印函数全部失效了,不论是printf还是cout还是put,控制台都不能打印出东西来。代码不报错,EGE函数的绘图也没问题。很奇怪啊。

wysaid commented 4 years ago

win32下使用VS2019进行C++项目开发,使用EGE库后发现std库里的打印函数全部失效了,不论是printf还是cout还是put,控制台都不能打印出东西来。代码不报错,EGE函数的绘图也没问题。很奇怪啊。

在 include "graphics.h" 之前加上 #define SHOW_CONSOLE

cirnovsky commented 4 years ago

inpoutbox_getline的输出文本有行数限制吗

waxiga commented 4 years ago

https://v.youku.com/v_show/id_XNDY2ODA5NTM4NA==.html CFREE使用EGE

wysaid commented 3 years ago

已经有了#include和#include 为什么使用MouseHit,FlushMouseMsgBuffer等函数时说未定义? 而且有时编译报错在easyx.h库中一会儿说IMAGE类和库函数重名 952C:\Program Files (x86)\Dev-Cpp\MinGW64\include\easyx.h[Error] reference to 'IMAGE' is ambiguous 而前面明明已经有class IMAGE;的语句 有时又报错 952C:\Program Files (x86)\Dev-Cpp\MinGW64\include\easyx.h[Error] 'IMAGE' does not name a type 还有时报错 26716C:\Program Files (x86)\Dev-Cpp\MinGW64\include\easyx.h[Error] variable or field 'loadimage' declared void 和 26716C:\Program Files (x86)\Dev-Cpp\MinGW64\include\easyx.h[Error] reference to 'IMAGE' is ambiguous 请问怎么回事啊?

你安装的是easyx不是ege, 删掉easyx, 重新配置一下ege吧

TheBadZhang commented 10 months ago

话说在github上留言效果是不是一样的?

wysaid commented 10 months ago

话说在github上留言效果是不是一样的?

哈哈, 是一样的。而且会有 github 的通知, 这样你还能知道谁留言了.