Skip to content

examples won't complie in ubuntu #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
Simply make won't generate the bin directory neither the example binaries 

What is the expected output? What do you see instead?
The binaries. After you create the directory by hand, the compiler will 
complain about undefined references to gl functions


What version of the product are you using? On what operating system?
Latest on Ubuntu 12.04


Please provide any additional information below.
After creating the bin directory as mentioned before, you have to apply the 
following change in the Makefile in order to get things work:
In examples/Makefile in every row you have to change the order of the included 
libraries for example:
original:
$(CC) $(LIB) $(INCDIR) -o bin/ex101_creating_a_plot ex101_creating_a_plot.cc 
$(ALIB)
corrected:
$(CC) $(INCDIR) -o bin/ex101_creating_a_plot ex101_creating_a_plot.cc $(ALIB) 
$(LIB)
and so on.
I didn't solve the bin creation problem


Original issue reported on code.google.com by erdosb...@gmail.com on 29 Sep 2012 at 8:54

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions