IRC Log Viewer » #firebreath » 2011-02-13

IRC Nick Time (GMT-7) Message
YuraDoc 08:02 Hello. I have pb with firebreath
I had create project and built it. when i add my own class like explained in docs I try to build again. I got this messageError 1 error LNK1104: cannot open file 'D:\plugins\FireBreath\build\bin\OurCoolNewPlugin\Debug\npOurCoolNewPlugin.dll' D:\plugins\FireBreath\build\projects\OurCoolNewPlugin\LINK OurCoolNewPlugin
jshanab_wcw 08:02 Windows?
YuraDoc 08:02 what i need to do to resolve this pb?
jshanab_wcw 08:02 Did you add thru Visual Studio and maybe need to run prep?
YuraDoc 08:02 it was working right at first. i did all explained in tutorial
jshanab_wcw 08:02 Adding files requires runing prep so the linking of the objects gets put in the solution
It looks like the dll did not build and the packager is failing to find the dll for inclusion in the package, did you recently add a Wix Installer?
YuraDoc 08:02 no
jshanab_wcw 08:02 Look higher up for a previous error
YuraDoc 08:02 but dll is available
maybe it's unloaded properly?
jshanab_wcw 08:02 I need to see more, perhaps pastebin the output window. Is that dll new or is it the old one? ;-)
YuraDoc 08:02 old one
Adding files requires runing prep so the linking of the objects gets put in the solution - so i need to run prep script again after modify?
i made such command regsvr32 npPluginTemplate.dll
jshanab_wcw 08:02 You can modify .h and .cpp files all day, it is when you add them that you need to run prep. You don't have to exit VS, it will pick up there has been a change to the solution. Anything that changes the solution requires run prep. Gotta get use to not changing anything in the solution
YuraDoc 08:02 thanks, i try this now
I need to make regsvr32 npPluginTemplate.dll again?
jshanab_wcw 09:02 I do not understand the phrase "make regsvr32 npPluginTemplate.dll ". make is building and you do not build. The process to register into the system is regsvr32 npPluginTemplate.dll and to remove it from registry so you can try a new version is "regsvr32 /u npPluginTemplate.dll"
IF your project is named npPluginTemplate.dll
YuraDoc 09:02 i mean after prep script and build. am i need to register dll again in the system?
jshanab_wcw 09:02 In the past I would of automatically had said yes, but I just came off of an error wheere I found once registered, it continued to find my newly installed dlls. But understand that it must be able to find it, the install location may be differnet than the build location. Maybe someone else will chime in here, I use the msi created by the installer to install and uninstall. I only ise...
...regsvr32 to debug problems with my install
YuraDoc 09:02 thanks much. i had run prep script. now all ok!
also, tell me pls is that possible to use some free compiler than vs?
jshanab_wcw 09:02 There is info on the wiki about using VS express, which is free and of course there is the Linux or Mac options. The trick here is the CMAKE is creating a VS solution file. Maybe just command line CMake. Keep in mind the Microsoft compiler is free and can be run from the command line, the options are stagering so VS gives you an interface to them all
YuraDoc 09:02 ok, cool
jshanab_wcw 09:02 After git pull a few days ago, my log4cplus.cpp fails when i add it to a project After initial fbgen. What was changed to fix the log4cplus issue?
I can see the log4cplus directory is miisng in the pluginAuto properties, but not where to add it into the cmake file
taxilian 09:02 YuraDoc: Your browser still had the dll open
jshanab_wcw 09:02 Morning taxilian
taxilian 09:02 Thats why it couldnt open it
jshanab_wcw 10:02 It turns out my other plugin has log4cplus as it's own project. The new plugin has log4cplus enabled but it does not have the include directory set and pluginauto can't compile log4cplus.cpp. Thanks for all the help last night!
taxilian 10:02 jshanab_wcw you need to add add_firebreath_library(log4cplus) to your new plugin pluginconfig
jshanab_wcw 10:02 Done
taxilian 10:02 And still doesnt work?
Thought I had fixed that
jshanab_wcw 10:02 Adding that, running prep then compiling is when the fatal compile error showed up
I see things like Boost_INCLUDE_DIRS but darn if I can see where those are created
taxilian 10:02 I will have to look at the logging thing tomorrow
I dont work on Sundays
jshanab_wcw 10:02 I saw mention on the website of he log4cplus include issue being fixed. OK, I iwll disable it for now and move on
taxilian 10:02 jshanab_wcw: if you want to try to troubleshoot it I can point you in the right direction
I thought it was fixed
please file an issue
jshanab_wcw 10:02 I will also look at it in the morning :-( I am here working, on sunday, trying to get the new plugin minimally working so my coworker can add features during the week while I debug video playback issues on the first plugin. Weeeee
taxilian 10:02 fair enough
jshanab_wcw 10:02 I did the first plugin translation so I need to have a go at this one. they both end up being a translation from a MFC/ActiveX control only for IE into the Firebreath system. The company hat gave me there source code has c++ classes with 6 or 8 public secions and no private ones, weird.
taxilian 10:02 hehe
how bad does the port end up being from an activex control?
I've ported npapi plugins to firebreath, but never from activex
jshanab_wcw 10:02 Depends, the first one was easy becasue the comonControls are just replaced with javascript (going jquery on this one).
The second one seems to me much messier as it was a MFC generated App with a dialog where the code just access the dialog variables at will form all the public class members.
taxilian 10:02 ahh
jshanab_wcw 10:02 Hey, I have a weird one, when i put include_directories( $(CMAKE_CURRENT_SPOURCE_DIR}/../foo) I get this include directory in the project attached tot he last one in the project, so it is a double path and fails
taxilian 10:02 try using get_filename_component to get the actual dir
jshanab_wcw 10:02 I checked my other project and relative seems ok ???
oops winslash vs linslash issue. I have been in Visual Studio too long
taxilian 10:02 shouldn't matter; in cmake you should be able to use all /
jshanab_wcw 10:02 It said something about illegal escape character. But then VS crashed again (3-5 times a day) and now I am doing the full rebuild :-). I think cause i had it in quotes
taxilian 10:02 ahh
yeah, cmake should be all /
I misread
you had a \
that'll do it
jshanab_wcw 10:02 LOL... I call them winslashes
taxilian 10:02 I understood what you mean
I just thought you'd done it the other way around
I'm really exhausted today, not thinking clearly
all the traveling from the week hit me hard last night; sleep like a log (my poor wife had to deal with the baby herself) and woke up feeling like I haven't slept in a week
jshanab_wcw 10:02 In general you can even use both in visual studio, but if you let it find a header, it will put in the wrong slash, add a little cut and paste and I do this to myself occasionally.
I do know the feeling (except for the wife and baby) I have worked every weekend except thanksgiving since I got here oct 1.
taxilian 10:02 gotta love deathmarches
I will occasionally choose to work like that; usually only on my own project or to keep up my hours while going to school
I used to work like that more often and decided it's not generally worth it
right now, though, I have 2 contracts and 12 credits of senior level college classes...
so I have been breaking my resolution =]
however, it's amazing how much the hard policy of "not on Sunday" helps -- from many angles
jshanab_wcw 10:02 I will say this. Just prior to Visual studio crashing, I see the issue where I change Cmake files and prep and it seems to ignroe me, then a few minutes later, it detects a file change 1/2 way thru, i click ok, and it and displays "visual studio has stopped working and is shutting down"
saiaman 10:02 hello eveyone
jshanab_wcw 10:02 Oh no, not the int8_t redefinition error, again
taxilian 10:02 saiaman: howdy
saiaman 10:02 i only have a small question : while trying my first little plugin, the dll size ( in debug ) is near 4mo .... i've tried to build MinSizeRel but theres a lot of errors in VS 2010
taxilian 10:02 builds fine for me with MinSizeRel
also compressed size will be much smaller
if it doesn't build in release or minsizerel it's a bug of some sort; details might help us track it down, but I won't be looking at it until tomorrow so you'd want to file an issue
saiaman 10:02 yeah it doesn't build in release or minsizerel
is there anything more to do before building in release ???
here is one of the errors ( in french sorry )
Erreur 9 error MSB6006: ArrĂȘt de "cmd.exe" avec le code -1073741819. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 Synertel
taxilian 11:02 pastebin the full log and I'll look at it
no promises; gotta head to church soon
but might see something
it was building in minsizerel fine for me yesterday
check to see if FBTestPlugin builds okay for you
maybe it's plugin specific
saiaman 11:02 ( sorry some problems with webirc )
does anyone got an idea? the firebreath version i'm using is 1.4b4
taxilian 11:02 if you send me the build log (pastebin) I might be able to spot something
but I gotta run very soon, so hurry
saiaman 11:02 only messages displaying during the build ?
taxilian 11:02 the whole build log
saiaman 11:02
don't know where to find the log, i'm a real noob in C++, but trying very hard to learn
but if you have to go .... i'll come back tomorrow don't worry .... thanks so much for your help
taxilian 11:02 yeah, I'll have to look at it tomorrow
good luck :-/
saiaman 11:02 don't be
just a question before please
how can i run a build in command line ?
does anyone know ?
jshanab_wcw 11:02 saiaman. I am not sure. I have executed the MSVC compiler from the command line but the options are quite ridiculus. Need some kind of a build system, I don't know if the cmake FB uses that creates the solution can be used directly to build from command line.
A question about your build error, are you using VS express?
saiaman 11:02 no vs 2010
jshanab_wcw 11:02 ok, thought maybe it didn't recognize the interface to the compiler fro min
saiaman 11:02 don't know
maybe it could be some issue with WDK
i haven't installed this
but debug builds very well
i'm now trying to compile FBTestPlugin : but doesn't compile in debug
really strange
maybe should i try with another version of FB
saiaman 11:02 but anyone know where to find that build log ?
jshanab_wcw 11:02 I have not tried release, everything i do is debug right now, so I don't know. What version are you on? I am on 1.4 but I did the git day b4 yesturday so I am "latest"
saiaman 12:02 back
anyone here uses FB 1.4b4 ???
jshanab_wcw 12:02 I was on B4 until yesturday when I did a git from Latest
saiaman 12:02 hmm ok
i'll try this too
i've done another prep2010 and now even in debug it doesn't build
:'( :'( :'(
jshanab_wcw 12:02 SOmetimes, I just close VS, delete the build dir, run prep, and build the whole project. Just to make sure there is no unknown build product messing things up
saiaman 12:02 yeah but i cant delete build dir ... strange
blocked on some f**king rep
jshanab_wcw 12:02 Any command prompts or explorer windows open in it?
saiaman 12:02 no i've close everything
maybe i'll try rebooting don't know
it's reallyt strrange
have you try to build in rel ?
or minrel
jshanab_wcw 12:02 My favorite bug that I have now is No file or directory on an include that intelisense can find without issue. VS, the best out there for windblows gets the hard stuf correct, but totally misses some of the fundementals
saiaman 12:02 that's true
jshanab_wcw 12:02 nope, not that far along yet!
saiaman 12:02 i'm trying to prep with last fb
jshanab_wcw 12:02 what does that mean? Do you have it installed in two seperate locations?
saiaman 12:02 no i only had FB in one location
but now i'm trying with the latest FB
maybe i could solve something
jshanab_wcw 12:02 Then how do you "prep with last fb"
saiaman 12:02 now i have to separates folder
only now
trying to find out what's happening
and if latest solve something
jshanab_wcw 12:02 ok, let us know if you find something specific, even if it is not worthy of an issue, I will be doing release soon and may run into the same issue :-)
saiaman 12:02 ok ok
but i don't know it seems something has blocked all builds
got to find out
jshanab_wcw 12:02 There isn't a VS process needing to be killed is there?
saiaman 12:02 i'm looking for that
found nothing
jshanab_wcw 12:02 I have been lucky not to have that problem, (many others, equaly strange...) Are you on windows 7?
saiaman 12:02 yeah windows 7 64
jshanab_wcw 12:02 me 2
saiaman 12:02 don't know what's happening
maybe after a reboot
things will be cleaner
i'm praying for
jshanab_wcw 12:02 When in doubt, boot it out
saiaman 12:02 ok i'll be back
saiaman 12:02 reboot done
i'll try now to build
still same problems
after cleaning everything
now nothing builds even Debug
saiaman 12:02 i don't understand what happens
i think i've found the problem
impossible to find pthread.h
jshanab_wcw 12:02 I am having awful trouble with includes right now. :-(
saiaman 12:02 arf
jshanab_wcw 12:02 Cannot anywhere ina project include windows.h before winsock.h A real pain
Have to play musical header includes, sheesh
saiaman 13:02 erf
ok but i can't build anything
event zero check project does'nt build
jshanab_wcw 13:02 Are you trying to build individual projects in the solution? There are dependencies so i just build the solution. when you say "can't build anything" are you saying it doesn't try or that it has errors
saiaman 13:02 i've tried everything
i need to try building one projet with the command line
maybe i could find the issue
because log only says that cmd.exe exited with a code
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: ArrĂȘt de "cmd.exe" avec le code -1073741819.
jshanab_wcw 13:02 RIght. I do not know french but i looked on line and this is the end of the error. the meat of the error is what command it tried to pass to cmd.exe that failed. This is usually the ide passing the command line call to the compiler, you are changing compiler when you change release mode
saiaman 13:02 ... back
another reboot and now repairing VS2010 installation
maybe i'll find out something
anyone had problems with VS2010 on Windows 7 64 ?
jshanab_wcw 13:02 Constant crashes, intelinonsense, file/database locking issues where updates don't take until you exit and restart, etc,etc
saiaman 13:02 :s
dan2 14:02 where's taxilian at?