Author Topic: CleanQ2 compiling problem  (Read 2937 times)

Offline Creamy_Goodness

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Creamy's Wonderland
  • Rated:
CleanQ2 compiling problem
« on: June 26, 2016, 05:56:46 PM »

> I'm trying to compile the source code of CleanQ2, but I've run into an error I can't resolve. After getting an error that said "fatal error: jpeglib.h: No such file or directory", I installed libjpeg-dev, but libjpeg8-dev and libjpeg-turbo8-dev were automatically installed as well. When I ran “make” again after doing that, I got a different error that read, "error: conflicting types for ‘jpeg_mem_src’". The source code came with a patch that was supposed to fix this error, but when I tried to apply this patch by running, "patch -p0 pngpatch.patch", the cursor went to the next line and just froze as if it was working in the background, but an hour went by and it was still like that, so I had to hit Ctrl-C to quit the process. I already went through a long and thorough battery of Google searches, but couldn't find a solution to this problem. Anyone have any pointers? I'm at the end of my rope here.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
= = = = = = = = = =
Jason "Creamy Goodness" Tenn
http://creamyg.jdluke.com/

Offline quadz

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5352
    • View Profile
  • Rated:
Re: CleanQ2 compiling problem
« Reply #1 on: June 26, 2016, 10:24:33 PM »
Howdy,

The source code came with a patch that was supposed to fix this error, but when I tried to apply this patch by running, "patch -p0 pngpatch.patch", the cursor went to the next line and just froze as if it was working in the background, but an hour went by and it was still like that, so I had to hit Ctrl-C to quit the process.

`patch` defaults to being a very basic program that expects its input on stdin.

So you'd want a command line like: patch -p0 < pngpatch.patch

The "<" character tells the shell to redirect the file "pngpatch.patch" as the standard input stream to the `patch` program.

:beer:

  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
"He knew all the tricks, dramatic irony, metaphor, bathos, puns, parody, litotes and... satire. He was vicious."

Offline Creamy_Goodness

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Creamy's Wonderland
  • Rated:
Re: CleanQ2 compiling problem
« Reply #2 on: June 27, 2016, 06:26:23 AM »

@quadz

"So you'd want a command line like: patch -p0 < pngpatch.patch"

> Hey what do you know, it worked. Thanks quadz. :)
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
= = = = = = = = = =
Jason "Creamy Goodness" Tenn
http://creamyg.jdluke.com/

 

El Box de Shoutamente

Last 10 Shouts:

 

Yotematoi

February 14, 2025, 12:41:48 PM
 :-*
 

|iR|Focalor

February 13, 2025, 07:31:24 AM
I was on DM this morning for the first time in a pretty long time. Seemed fine to me.

0rbisson

February 13, 2025, 04:54:21 AM
DM server is fucked. 2 point blank rockets from spawn and lava damage and player survived? WTF?" Also someone has fucked with the spawn points, every single time no matter how big the map you spawn right in front of the person who killed you last
 

rikwad

February 08, 2025, 10:48:18 PM
Seattle FFA now has working HTTP downloads. Thanks Unholy!
 
RIP Pepp   ✟
 
 

-Unh0ly-

February 03, 2025, 01:20:14 AM
vvvALL WEAPS HAVE MUZZLE FLASH vvvv
 

|iR|Focalor

December 25, 2024, 12:15:35 AM
 

|iR|Focalor

December 25, 2024, 12:06:54 AM
 

RailWolf

December 23, 2024, 09:15:50 AM
Fixed the image for you =)
And Die Hard is a great Christmas movie
 

|iR|Focalor

December 19, 2024, 04:55:07 AM
correction - you gotta put the whole word, not just w: {img width=210}

Show 50 latest
Welcome, Guest. Please login or register.
February 16, 2025, 12:39:52 PM

Login with username, password and session length