Author Topic: PCL Makefile Generator: Debug Makefiles add .lib to first added library  (Read 4412 times)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
The Makefile generator adds a .lib suffix to the first additional library (which is unwanted). Settings of the Makefile generator are as shown in the screenshot.  The same problem exists in other Makefile variants as well. Workaround: remove those .lib suffixes in Makefile
Georg

Contents of linux/g++/makefile-x86:
...
# PixInsight Makefile Generator Script v1.67
...
$(OBJ_DIR)/Python-pxm.so: $(OBJ_FILES)
   g++ -m32 -Wl,-z,noexecstack -Wl,-O1 -shared -L"$(PCLLIBDIR32)" -L"$(PCLB
INDIR32)" -o $(OBJ_DIR)/Python-pxm.so $(OBJ_FILES) -lboost_python -lpython2.7 -l
pthread -lPCL-pxi
...

Contents of linux/g++/makefile-x86-debug:
...
$(OBJ_DIR)/Python-pxm.so: $(OBJ_FILES)
   g++ -m32 -Wl,-z,noexecstack -Wl,-O1 -shared -L"$(PCLLIBDIR32)" -L"$(PCLB
INDIR32)" -o $(OBJ_DIR)/Python-pxm.so $(OBJ_FILES) -lboost_python.lib -lpython2.
7 -lpthread -lPCL-pxi
...
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Python eh? Should be a nice improvement over javascript :-)
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Indeed >:D !
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
This bug is now fixed in MakefileGenerator version 1.70, which will be released with PI 1.8.0. Thank you for detecting it (and sorry for the trouble).
Juan Conejero
PixInsight Development Team
http://pixinsight.com/