Would the lua profiler break if i have other unrelated profiler.h and .cpp files?
I wouldn't say that that would be the probable problem since I am not able to use require at all (not with my own files either) except when outside VS using the command line (allthough the script in this case is not run via c/c++)
I don't know if this is anything of what you would like to see as far as system specs go...
command line:
/OUT:"..\game\game_d.exe" /NOLOGO "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" "C:\Projects\engine\enginelib\AnsiDebug\enginelib.lib" "C:\Projects\engine\import\zlib\projects\visualc6\Win32_LIB_Debug\zlibd.lib" /MANIFEST /ManifestFile:".\../Intermediary_2005/Ansi Debug\game_d.exe.intermediate.manifest" /ALLOWISOLATION /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /PDB:"C:\Projects\luaexjobb\game\game_d.pdb" /PGD:"C:\Projects\luaexjobb\game\game_d.pgd" /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /ERRORREPORT:QUEUE
the complete (lua) stacktrace on the fail is:
1: string ( attempt to call a nil value )
I am building Ansi Debug for Win32
Executable Directories C:\Program Files %28x86%29\Lua5円.1\clibs
Include directories C:\Program Files %28x86%29\Lua5円.1\include
C:\Program Files (x86)\Microsoft DirectX SDK (March 2009)\Include
Library directories C:\Program Files %28x86%29\Lua5円.1\clibs
C:\Program Files %28x86%29\Lua5円.1\lib
C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib
C:\Program Files %28x86%29\Microsoft DirectX SDK %28March 2009%29\Lib\x86
LUA_CPATHC:\Program Files (x86)\Lua5円.1\clibs
LUA_DEVC:\Program Files (x86)\Lua5円.1
LUA_PATH;;C:\Program Files (x86)\Lua5円.1\lua\?.luac
PathC:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;c:\Program Files (x86)\Microsoft SQL Server100円\Tools\Binn\;c:\Program Files\Microsoft SQL Server100円\Tools\Binn\;c:\Program Files\Microsoft SQL Server100円\DTS\Binn\;C:\Python27;C:\Program Files (x86)\Lua5円.1;C:\Program Files (x86)\Lua5円.1\clibs