Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2017-05-29

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:48 ilbot3 joined #openframeworks
01:48 Topic for #openframeworks is now Welcome :) Site: http://openframeworks.cc/ Logs: http://irclog.perlgeek.de/openframeworks/
02:56 kung_ joined #openframeworks
03:10 cyrstem joined #openframeworks
05:11 meandi_2 joined #openframeworks
07:40 mh_ joined #openframeworks
08:56 ray02 joined #openframeworks
09:11 ray02 hi there
09:12 ray02 there is some one that could help me to undestand how the make file works?
09:12 ray02 i'm using linux
09:13 ray02 i would like to understand how  to set up one
09:18 mh_ ray02: you create a simple text file, and save it as a Makefile. When you run "make", it'll read the file, and if the formatting is as per make's requirements, it'll follow the instructions contained within.
09:18 ray02 ok
09:18 mh_ but I am sure you have a more specific question :)
09:18 ray02 eheh yeah
09:18 ray02 i mean
09:19 mh_ are you running OF's linux branch from github or something?
09:19 ray02 i have the officiale relese
09:19 ray02 release
09:19 ray02 nothing of sperimental
09:19 mh_ okay
09:20 ray02 but i have notice that some addons
09:20 ray02 have strange Make file
09:20 ray02 that don't work
09:20 ray02 i usally use this
09:22 ray02 https://codeshare.io/5OKmAj
09:22 ray02 it work but i don't know why :D
09:22 ray02 in particular i would like to understand how for example link an extrnal library
09:23 mh_ ah -- okay. Which library specifically are you trying to link?
09:23 mh_ or do you need like a general example?
09:23 ray02 i'm trying to use this addons
09:23 ray02 https://github.com/benben/ofxPhoto/tree/master/photoExample
09:23 ray02 and if you look in the config.make
09:24 ray02 he link an externa library
09:24 ray02 that is in the folder next to project but i think there is something wroge
09:24 ray02 wrong
09:24 mh_ you mean this: -L$(OF_ROOT)/addons/ofxPhoto/libs/libgphoto2/lib/linux/  ?
09:25 ray02 yes
09:25 ray02 if i try to compile it
09:25 ray02 it say that he is missing
09:25 ray02 -lexif -lsusb
09:25 ray02 and it's true because are not in that folder
09:26 ray02 but doesn't look like a lib
09:26 ray02 to me looks like more like a command for check usb port
09:29 mh_ can you pastebin the compile error received?
09:29 ray02 so since i'm not very useto this kind of file i don't know how to localize the problem
09:29 ray02 yes
09:29 mh_ lusb and lexif are libraries that the addon is linking against -- these are likely installed already on your linux distribution (or the addon is making this assumption)
09:30 ray02 https://codeshare.io/5OKmAj
09:31 ray02 here is the final part of the compiling with the error
09:33 mh_ odd
09:33 mh_ and to add this addon, you simply added the addon name in your project's addon.make file?
09:34 ray02 this is came from the example of the addons
09:35 ray02 https://github.com/benben/ofxPhoto/blob/master/photoExample/config.make
09:35 ray02 this one
09:36 ray02 but he use another make file
09:36 ray02 that is this one
09:36 ray02 https://github.com/benben/ofxPhoto/blob/master/photoExample/Makefile
09:36 ray02 that is completly different from what i'm using now but mine work :D
09:38 mh_ okay -- I am slightly confused, but, the problem, according to the compile error, is that while linking the executable to the libraries defined, two libraries could not be found on your system (in the default paths). One is 'susb', and the other is 'exif'.
09:39 ray02 yea
09:39 ray02 this is what i know till now :D
09:40 mh_ perhaps some packages are missing that can fix this...
09:40 mh_ which distro are you running?
09:40 ray02 linux mint
09:40 mh_ I've never even heard of that :)
09:40 ray02 it's a nice one :D
09:40 mh_ what package manager does it use?
09:40 mh_ is it debian based?
09:41 ray02 it came from ubuntu
09:41 ray02 i use apt-get
09:41 mh_ cool
09:41 mh_ apt-cache search libusb
09:41 mh_ dpkg -l | grep usb
09:42 mh_ you likely need the dev packages
09:43 ray02 no sorry what i sould do ?
09:45 ray02 this is what i have back from grep usb
09:45 ray02 https://codeshare.io/5OKmAj
09:46 mh_ so it's installed... ii  libusb-1.0-0-dev:amd64
09:47 ray02 yes
09:47 ray02 this addos shoud allow me to use this linux lib for make photo from the pc
09:48 ray02 this one
09:48 ray02 http://www.gphoto.org/
09:49 ray02 and that one is already working on my machine
09:54 mh_ https://github.com/benben/ofxPhoto/tree/master/libs/libgphoto2/lib/linux/libgphoto2_port/0.8.0
09:54 mh_ usb.a is there
09:56 ray02 ahhh
09:56 mh_ this photoExample that you're running -- where have you put the folder relative to your OF tree?
09:56 ray02 is inside the addons
09:57 ray02 that is inside the general addons folder
09:58 mh_ also, do note, the last commit to this addon was in 2012. If it works on a recent version of OF, you'll be quite lucky :)
09:59 ray02 eheh i now but
09:59 ray02 it's so simple
09:59 ray02 i was expecting that was still working
09:59 mh_ okay, move the photoExample folder to OF/apps/linux/photoExample, and run 'make' in the photoExample folder
09:59 mh_ it very well may
10:00 mh_ I'd give it a shot, but I have to run now; if you're around in a couple of hours, I can try and run this addon and see if I have any luck.
10:00 ray02 ok
10:00 ray02 perfect
10:00 ray02 thanks for the help
10:01 ray02 i will be here till 19 CET
12:40 beWhitty joined #openframeworks
12:52 mh__ joined #openframeworks
13:22 kung_ joined #openframeworks
14:27 ray02 left #openframeworks
14:32 Hennio joined #openframeworks
15:47 ray02 joined #openframeworks
17:09 mh_ joined #openframeworks
18:18 mh_ joined #openframeworks

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary