How do you make monkey import a *.lib ?

Monkey Forums/Monkey Programming/How do you make monkey import a *.lib ?

Rushino(Posted 2012) [#1]
How do you make monkey import a *.lib to the solution it create ? I tried ..

Import "native/glfw/PocoNet.lib"
Import "native/glfw/PocoNet.dll"
Import "native/glfw/wsock.cpp"

But it didn't import them i had to put them manually after the build.


AdamRedwoods(Posted 2012) [#2]
not with the standard trans.exe.

i had to mod my trans.exe to accept "cc_opts" which allow me to use -L flags.


therevills(Posted 2012) [#3]
Monkey-ext?

http://code.google.com/p/monkey-ext/


Rushino(Posted 2012) [#4]
@AdamRedWoods what is the -L flag ?

@therevills Ive saw this lib but i dunno yet what it really do. It seem to change a lots of internal files inside monkey. Could you explain a bit what it can do ?


therevills(Posted 2012) [#5]
Monkey-ext is Monkey extended, it is the full version of Monkey with extras that we would like in the official version ;)

Monkey-ext includes Adam's cc_opts code.


AdamRedwoods(Posted 2012) [#6]
i meant -l (-L -I are search paths for the compiler, -l is to include a specific library)


Rushino(Posted 2012) [#7]
@therevills is monkey-ext support v66?

@AdamRedwoods Thanks Adam :)


therevills(Posted 2012) [#8]
is monkey-ext support v66?

Yep, check out the default branch you should see that Samah has kept it all up to date.


Rushino(Posted 2012) [#9]
Alright thanks! Will have a look.