Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17560

Begginer: Having problems compiling angelscript_clib

$
0
0

Heyo!

I'm starting to develop a game using C w Raylib and AngelScript, installed AngelScript from AUR, following tutorials, I try to compile my prototype, and Error, in include … ‘class’ …, cool, it's for c++, searched a lil, I found this for C: http://www.angelcode.com/angelscript/sdk/docs/manual/doc_addon_clib.html​

I tried to compile it using the makefile in clib/projects/gnuc, but it fails with the following output:

g++ -Wall -I/usr/local/include -I../.. -L/usr/local/lib -c -fPIC ../../as_c.cpp -o as_c.o
../../as_c.cpp:53:7: error: conflicting return type specified …

Viewing all articles
Browse latest Browse all 17560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>