Giter VIP home page Giter VIP logo

normalmap's People

Contributors

realh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

normalmap's Issues

Errors when compiling

I get the following error when trying to make the file:

make[1]: Entering directory '/home/david/code/shadercloud/bin/normalmap'
Making all in src
make[2]: Entering directory '/home/david/code/shadercloud/bin/normalmap/src'
gcc -I/usr/include/libpng16 -g -O2 -lpng16 -lz -lpopt  -o normalmap normalmap-main.o normalmap-nmpng.o normalmap-normalmap.o normalmap-options.o -lm 
/usr/bin/ld: normalmap-nmpng.o: in function `normalmap_free_png':
/home/david/code/shadercloud/bin/normalmap/src/nmpng.c:71: undefined reference to `png_image_free'
/usr/bin/ld: normalmap-nmpng.o: in function `normalmap_load_png':
/home/david/code/shadercloud/bin/normalmap/src/nmpng.c:38: undefined reference to `png_image_begin_read_from_stdio'
/usr/bin/ld: /home/david/code/shadercloud/bin/normalmap/src/nmpng.c:45: undefined reference to `png_image_finish_read'
/usr/bin/ld: normalmap-nmpng.o: in function `normalmap_save_png':
/home/david/code/shadercloud/bin/normalmap/src/nmpng.c:61: undefined reference to `png_image_write_to_stdio'
/usr/bin/ld: normalmap-options.o: in function `normalmap_options_get':
/home/david/code/shadercloud/bin/normalmap/src/options.c:130: undefined reference to `poptGetContext'
/usr/bin/ld: /home/david/code/shadercloud/bin/normalmap/src/options.c:135: undefined reference to `poptAddAlias'
/usr/bin/ld: /home/david/code/shadercloud/bin/normalmap/src/options.c:137: undefined reference to `poptGetNextOpt'
/usr/bin/ld: /home/david/code/shadercloud/bin/normalmap/src/options.c:170: undefined reference to `poptFreeContext'
/usr/bin/ld: /home/david/code/shadercloud/bin/normalmap/src/options.c:144: undefined reference to `poptStrerror'
/usr/bin/ld: /home/david/code/shadercloud/bin/normalmap/src/options.c:144: undefined reference to `poptBadOption'
/usr/bin/ld: /home/david/code/shadercloud/bin/normalmap/src/options.c:166: undefined reference to `poptPrintUsage'
/usr/bin/ld: normalmap-options.o:(.data.rel+0x190): undefined reference to `poptHelpOptions'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:352: normalmap] Error 1
make[2]: Leaving directory '/home/david/code/shadercloud/bin/normalmap/src'
make[1]: *** [Makefile:357: all-recursive] Error 1
make[1]: Leaving directory '/home/david/code/shadercloud/bin/normalmap'
make: *** [Makefile:298: all] Error 2

Note that i have versions:

libpopt-dev is already the newest version (1.16-14).
libpng-dev is already the newest version (1.6.37-2).

Build autoconf errors on Ubuntu 22.04 LTS

Hi there. I'd love to check this software out but am having some trouble.

I googled around a bit but installing 'libtool' did not fix the issues as one post said.

Without further ado:

➜  dev git clone https://github.com/realh/normalmap.git                              
Cloning into 'normalmap'...
remote: Enumerating objects: 204, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 204 (delta 1), reused 3 (delta 1), pack-reused 196
Receiving objects: 100% (204/204), 1.22 MiB | 499.00 KiB/s, done.
Resolving deltas: 100% (114/114), done.
➜  dev normalmap 
➜  normalmap git:(master) ls
AUTHORS  ChangeLog  configure.ac  COPYING  INSTALL  Makefile.am  mkycmflags  NEWS  README  README.md  src  win32
➜  normalmap git:(master) autoconf
configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
➜  normalmap git:(master) 
➜  normalmap git:(master) autoconf #running again 'works'
➜  normalmap git:(master) ./configure
configure: error: cannot find required auxiliary files: config.guess config.sub
➜  normalmap git:(master) 

As you can see, running autoconf the second time emits no errors (odd?), but then ./configure does not work.

I installed autoconf and automake just today with sudo apt upgrade && sudo apt install autoconf && sudo apt install automake

Any suggestions?

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.