[Bf-committers] Error compiling under win32 with GCC (maybe Cygwin's/MinGW's shell32 lib lacks SHGetSpecialFolderPath???)

Federico Lucignano federico at alchimiedigitali.net
Mon Mar 20 00:58:39 CET 2006


There is a problem compiling under Win32 using GCC (both Cygwin with 
makefiles and MinGW with scons) after the last changes to usiblender.c:

Linking program ==> 'blender.exe'
C:\bld\lib\libsrc.a(usiblender.o):usiblender.c:(.text+0x1032): undefined 
referen
ce to `SHGetSpecialFolderPath'
C:\bld\lib\libsrc.a(usiblender.o):usiblender.c:(.text+0x1063): undefined 
referen
ce to `SHGetSpecialFolderPath'
collect2: ld returned 1 exit status
scons: *** [C:\bld\bin\blender.exe] Error 1
scons: building terminated because of errors.

I added -lshell32 to the list of libraries for ld:

LLIBS = [ '-lshell32', '-ldxguid', '-lgdi32', '-lmsvcrt', '-lwinmm', 
'-lmingw32', '-lm', '-lws2_32', '-lz']

The problem/error persists. Maybe the shell32 library that ships with 
MinGW/Cygwin lacks SHGetSpecialFolderPath?

-- 

Federico "Lox" Lucignano
federico_lox at yahoo.it

--------------------------------------------

Autore di / Author of:
http://www.infosquid.net - InfoSquid: abissi informatici / IT abyss

Collaboratore per / Contributor on:
http://www.blendernation.com - BlenderNation: notizie fresche su 
Blender, ogni giorno / fresh Blender news, every day

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it


More information about the Bf-committers mailing list