Author Topic: Working Directory for libtcod in codelite minGW  (Read 8834 times)

alecjcook

  • Newcomer
  • Posts: 2
  • Karma: +0/-0
    • View Profile
    • Email
Working Directory for libtcod in codelite minGW
« on: June 05, 2020, 09:17:45 AM »
Hi,
   I can not get my project setting correct. I can complie my code that has a #include to the library, but i can not build and complie my code.
I have attempted to follow te tutorial, but i must have missed something, can anyone help?
Many thanks, Alec
See debug window below



C:\Windows\system32\cmd.exe /C C:/MinGW/bin/mingw32-make.exe -j8 SHELL=cmd.exe -e -f  Makefile
"----------Building project:[ Rougelet - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Users/alecjcook/Dropbox/Projects/Rougelike/Rougelet/Rougelet/Rougelet'
C:/MinGW/bin/g++.exe -o ..\build-Debug\bin\Rougelet @../build-Debug/Rougelet/ObjectsList.txt -L. -LC:\MinGW\libexec\libtcod-1.16.0-alpha.12-x86-mingw\  -lC:\MinGW\libexec\libtcod-1.16.0-alpha.12-x86-mingw\libtcod  -Iinclude -Llib -ltcod-mingw
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: cannot find -lC:\MinGW\libexec\libtcod-1.16.0-alpha.12-x86-mingw\libtcod
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: cannot find -ltcod-mingw
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[1]: *** [..\build-Debug\bin\Rougelet] Error 1
Rougelet.mk:78: recipe for target '..\build-Debug\bin\Rougelet' failed
mingw32-make.exe[1]: Leaving directory 'C:/Users/alecjcook/Dropbox/Projects/Rougelike/Rougelet/Rougelet/Rougelet'
mingw32-make.exe: *** [All] Error 2
Makefile:4: recipe for target 'All' failed
====1 errors, 0 warnings====

alecjcook

  • Newcomer
  • Posts: 2
  • Karma: +0/-0
    • View Profile
    • Email
Re: Working Directory for libtcod in codelite minGW
« Reply #1 on: June 05, 2020, 09:36:41 AM »
fixed now... in my linker libaries search path I had a "/" AFTER my directory name.