Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Compile/load problem with graphics library



Thanks for the many responses. I was looking for people who know more than I do, so I don't mind the taunts - and anyway, the last time I was working on a real project in C++ was very nearly 30 years ago.

This program suddenly stopped working, I think when my site got transferred to a new host at pair.com. I had tried the very obvious things, like rm *.o to make sure all the object files were updated. And about the loader flags -- the most helpful answer I (just) found is here:

https://stackoverflow.com/questions/519342/what-is-the-difference-between-i-and-l-in-makefile

It says "Even if it may work otherwise, the -l... directives are supposed to go after the objects..."; this encourages me to think that I am not mad, and yes the makefile was working. But I am a reformed person, and will make a new makefile, with the loader flags separated from the libraries, and the flags before and the libraries after.

I am also using various image functions directly from PHP, but this is (simple) pixel twiddling, and I can't remember whether I couldn't find anything to access a single pixel value directly from php, or whether there was, but it took 100s of times too long (which is very plausible).

Anyway, I have somehow to get an Imagemagick library to link to this. More details in another post.

Brian Chandler

On 2018-08-08 06:22, steve, among others, helpfully wrote:
On 08/07/2018 12:49 PM, Brian Chandler wrote:
---- Latest error: with the library files after the .o files ----
snip for now


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links