n64dev / cen64

Cycle-Accurate Nintendo 64 Emulator
BSD 3-Clause "New" or "Revised" License
802 stars 70 forks source link

Libiconv build issues #95

Open J-128 opened 6 years ago

J-128 commented 6 years ago

OS: Linux Sabayon, x86-64

When I try to Make, this happens: $ make make[2]: *** No rule to make target '/usr/local/lib/libiconv.so', needed by 'cen64'. Stop. make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/cen64.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

I'm not sure what's going on, or why Make would even be trying to build a target in /usr/local/lib, when cen64 has been git clone'd to /home/J-128/misc/Other/Other/cen64. (Yes, I know my path is very strange, but I like it that way. :-) )

mikeryan commented 6 years ago

Can you paste your cmake output?

J-128 commented 6 years ago

Sure. Should I paste it here, or should I paste it somewhere else, and then link to it? Never mind, 4 lines won't be a problem. Here is the output: ~/misc/Other/Other/cen64/build $ cmake . -- Configuring done -- Generating done -- Build files have been written to: /home/joseph/misc/Other/Other/cen64/build

I suppose this wasn't helpful.

mikeryan commented 6 years ago

Paste it to gist.github.com and link here

J-128 commented 6 years ago

I'm confused. Paste what to gist.github.com? My cmake output? I already pasted it here. :confused:

tj90241 commented 6 years ago

It would be helpful if you could provide the values of the variables listed on this page: https://cmake.org/cmake/help/git-stage/module/FindIconv.html

J-128 commented 6 years ago

Okay. Where would I find the values of those variable?

tj90241 commented 6 years ago

cmake -LAH

J-128 commented 6 years ago

Okay. The only thing cmake -LAH returned pertaining to iconv was: ICONV_INCLUDE_DIR:PATH=/usr/local/include ICONV_LIBRARIES:FILEPATH=/usr/local/lib/libiconv.so

I hope this helps.