Open oldmanlv opened 8 years ago
Try removing the
AS3_GoAsync();
If that doesn't work, it might be possible that the AS3 header isn't being included (I highly doubt this due to the nature of your issue). Try adding:
#include <AS3/AS3.h>
Let me know if this doesn't work, and I'll give it a shot to see if I can reproduce.
source code comm.cpp:
include
<Flash++.h>
using namespace AS3::ui; var connectHandler(void *data, var args) { printf("connectHandler called \r\n"); return internal::_null; } int main() {
printf("start1\r\n");
}
compile command: "$(FLASCC)/usr/bin/g++" -g $(BASE_CFLAGS) comm.cpp -emit-swf -swf-version=17 -swf-size=200x200 -lFlash++ -lAS3++ -o comm.swf
I googled, but not find much information about the flascc socket, can you tell me why occurs the above error?thks a lot。