AntTweakBar tricky GUI for OpenGL and D3D.

Headers, Bindings, Libraries for use with FreeBASIC, Please include example of use to help ensure they are tested and usable.
D.J.Peters
Posts: 8575
Joined: May 28, 2005 3:28
Contact:

Re: AntTweakBar tricky GUI for OpenGL and D3D.

Post by D.J.Peters »

You have to enable "export with underscore" on Linux "-fleading-underscore"

Or we must extend the *.bi file with a second linux section. (bad idea)

Joshy
rolliebollocks
Posts: 2655
Joined: Aug 28, 2008 10:54
Location: new york

Re: AntTweakBar tricky GUI for OpenGL and D3D.

Post by rolliebollocks »

Still getting fake errors but compiling under windows.

Code: Select all

Command executed:
"C:\Users\David\Desktop\FreeBASIC-0.91_x86\fbc.exe" "C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.bas" -exx

Compiler output:
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x18d): undefined reference to `_TwInit@8'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x1ec): undefined reference to `_TwWindowSize@8'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x1f6): undefined reference to `_TwNewBar@4'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x203): undefined reference to `_TwDefine@4'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x298): undefined reference to `_TwAddVarRW@20'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x2b7): undefined reference to `_TwAddVarRO@20'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x2e1): undefined reference to `_TwAddVarRO@20'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x300): undefined reference to `_TwAddVarRO@20'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x31b): undefined reference to `_TwAddButton@20'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x6d8): undefined reference to `_TwKeyPressed@8'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x6f1): undefined reference to `_TwMouseMotion@8'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x793): undefined reference to `_TwMouseButton@8'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x7a6): undefined reference to `_TwMouseWheel@4'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x7f4): undefined reference to `_TwRefreshBar@4'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x823): undefined reference to `_TwDraw@0'
C:\Users\David\Desktop\FreeBASIC\Libraries\AntTweakBar_116\AntTweakBar\FBIDETEMP.o:fake:(.text+0x83d): undefined reference to `_TwTerminate@0'

Results:
Compilation failed

System:
FBIde: 0.4.6
fbc:   FreeBASIC Compiler - Version 0.91.0 (04-18-2014), built for win32 (32bit)
OS:    Windows NT 6.2 (build 9200)
D.J.Peters
Posts: 8575
Joined: May 28, 2005 3:28
Contact:

Re: AntTweakBar tricky GUI for OpenGL and D3D.

Post by D.J.Peters »

I uploaded my AntTweakBar package for FreeBASIC see first post.

Included are tests 32/64-bit for FreeBASIC fbgfx OpenGL, freeGLUT and GLFW

Joshy
D.J.Peters
Posts: 8575
Joined: May 28, 2005 3:28
Contact:

Re: AntTweakBar tricky GUI for OpenGL and D3D.

Post by D.J.Peters »

New upload I found and fixed a bug (quaternion single and double) see first post.

Joshy
Post Reply