Open wysaid opened 5 years ago
我要第一个留言 !!
那我第二个(:з」∠),这里是用来反馈问题的吗?win10的1809版本没法用ege哎orz
那我第二个(:з」∠),这里是用来反馈问题的吗?win10的1809版本没法用ege哎orz
蛤, 你截个图呢, 或者详细描述一下
@zwt-ss
近期发现 ege 在 Windows 1809
上存在较多bug, 修复中.
EGE 已更新到 19.01, 修复了 Windows 1809 相关的问题
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 to
ege::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 toege::getch()' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x70): undefined reference to
ege::closegraph()' collect2.exe: error: ld returned 1 exit status
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 to
ege::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 toege::getch()' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x70): undefined reference to
ege::closegraph()' collect2.exe: error: ld returned 1 exit status
官网首页有配置方式, 试试看直接配置呢.
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 to
ege::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 toege::getch()' C:\Users\q\AppData\Local\Temp\ccc0zvdm.o:grap.cpp:(.text+0x70): undefined reference to
ege::closegraph()' collect2.exe: error: ld returned 1 exit status官网首页有配置方式, 试试看直接配置呢.
OK,找到原因了。
win32下使用VS2019进行C++项目开发,使用EGE库后发现std库里的打印函数全部失效了,不论是printf还是cout还是put,控制台都不能打印出东西来。代码不报错,EGE函数的绘图也没问题。很奇怪啊。
win32下使用VS2019进行C++项目开发,使用EGE库后发现std库里的打印函数全部失效了,不论是printf还是cout还是put,控制台都不能打印出东西来。代码不报错,EGE函数的绘图也没问题。很奇怪啊。
在 include "graphics.h" 之前加上 #define SHOW_CONSOLE
inpoutbox_getline的输出文本有行数限制吗
已经有了#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吧
话说在github上留言效果是不是一样的?
话说在github上留言效果是不是一样的?
哈哈, 是一样的。而且会有 github 的通知, 这样你还能知道谁留言了.
https://xege.org/guestboard